1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[ticket/10270] Moved some HTML from the JavaScript to overall_footer.

PHPBB3-10270
This commit is contained in:
Callum Macrae
2011-08-24 11:42:39 +01:00
committed by Igor Wiedler
parent 6efb9dd0b6
commit 420de9c9a0
4 changed files with 14 additions and 5 deletions

View File

@@ -24,6 +24,11 @@
<!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
</div>
<div id="darkenwrapper">
<div id="darken">&nbsp;</div>
<div class="jalert" id="loadingalert"><h3>{L_LOADING}</h3><p>{L_PLEASE_WAIT}</p></div>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script src="styles/script.js"></script>

View File

@@ -3,11 +3,8 @@ var phpbb = {};
(function($) { //avoid conflicts with other libraries
var dark = $('<div id="darkenwrapper"><div id="darken">&nbsp;</div></div>');
$('body').append(dark);
var loading_alert = $('<div class="jalert"><h3>Loading</h3><p>Please wait.</p></div>');
$(dark).append(loading_alert);
var dark = $('#darkenwrapper'),
loading_alert = $('#loadingalert');
/**