diff --git a/phpBB/adm/style/overall_footer.html b/phpBB/adm/style/overall_footer.html
index 3740122d9b..625121f1bd 100644
--- a/phpBB/adm/style/overall_footer.html
+++ b/phpBB/adm/style/overall_footer.html
@@ -18,6 +18,11 @@
{DEBUG_OUTPUT}
+
+
+
{L_LOADING}
{L_PLEASE_WAIT}
+
+
diff --git a/phpBB/language/en/common.php b/phpBB/language/en/common.php
index 19b801e585..e8fff96e5a 100644
--- a/phpBB/language/en/common.php
+++ b/phpBB/language/en/common.php
@@ -314,6 +314,7 @@ $lang = array_merge($lang, array(
'LDAP_NO_SERVER_CONNECTION' => 'Could not connect to LDAP server.',
'LDAP_SEARCH_FAILED' => 'An error occured while searching the LDAP directory.',
'LEGEND' => 'Legend',
+ 'LOADING' => 'Loading',
'LOCATION' => 'Location',
'LOCK_POST' => 'Lock post',
'LOCK_POST_EXPLAIN' => 'Prevent editing',
@@ -451,6 +452,7 @@ $lang = array_merge($lang, array(
2 => '%d pixels',
),
'PLAY_QUICKTIME_FILE' => 'Play Quicktime file',
+ 'PLEASE_WAIT' => 'Please wait.',
'PM' => 'PM',
'PM_REPORTED' => 'Click to view report',
'POSTING_MESSAGE' => 'Posting message in %s',
diff --git a/phpBB/styles/prosilver/template/overall_footer.html b/phpBB/styles/prosilver/template/overall_footer.html
index ffdb27be98..37caaf7cca 100644
--- a/phpBB/styles/prosilver/template/overall_footer.html
+++ b/phpBB/styles/prosilver/template/overall_footer.html
@@ -24,6 +24,11 @@
{DEBUG_OUTPUT}
{L_ACP}
+
+
+
+
{L_LOADING}
{L_PLEASE_WAIT}
+
diff --git a/phpBB/styles/script.js b/phpBB/styles/script.js
index ceaf92672c..bf8c548df0 100644
--- a/phpBB/styles/script.js
+++ b/phpBB/styles/script.js
@@ -3,11 +3,8 @@ var phpbb = {};
(function($) { //avoid conflicts with other libraries
-var dark = $('');
-$('body').append(dark);
-
-var loading_alert = $('');
-$(dark).append(loading_alert);
+var dark = $('#darkenwrapper'),
+ loading_alert = $('#loadingalert');
/**