mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/10270] Moved the AJAX error langyage entries to the footer.
PHPBB3-10270
This commit is contained in:
parent
0d83e8725b
commit
2189efadc6
4 changed files with 8 additions and 8 deletions
|
@ -23,7 +23,7 @@
|
|||
<div class="jalert" id="loadingalert"><h3>{L_LOADING}</h3><p>{L_PLEASE_WAIT}</p></div>
|
||||
</div>
|
||||
|
||||
<div id="phpbb_alert" class="phpbb_alert">
|
||||
<div id="phpbb_alert" class="phpbb_alert" data-l-err="{L_ERROR}" data-l-timeout-processing-req="{L_TIMEOUT_PROCESSING_REQ}">
|
||||
<a href="#"><img src="images/alert_close.png" class="alert_close" /></a>
|
||||
<h3 class="alert_title"></h3><p class="alert_text"></p>
|
||||
</div>
|
||||
|
|
|
@ -4,12 +4,12 @@ phpbb.alert_time = 100;
|
|||
(function($) { // Avoid conflicts with other libraries
|
||||
|
||||
// define a couple constants for keydown functions.
|
||||
var ENTER = 13,
|
||||
ESC = 27;
|
||||
var ENTER = 13;
|
||||
var ESC = 27;
|
||||
|
||||
|
||||
var dark = $('#darkenwrapper'),
|
||||
loading_alert = $('#loadingalert');
|
||||
var dark = $('#darkenwrapper');
|
||||
var loading_alert = $('#loadingalert');
|
||||
|
||||
|
||||
/**
|
||||
|
@ -30,7 +30,7 @@ phpbb.loading_alert = function() {
|
|||
setTimeout(function() {
|
||||
if (loading_alert.is(':visible'))
|
||||
{
|
||||
phpbb.alert($('body').data('l-err'), $('body').data('l-timeout-processing-req'));
|
||||
phpbb.alert($('#phpbb_alert').data('l-err'), $('#phpbb_alert').data('l-timeout-processing-req'));
|
||||
}
|
||||
}, 5000);
|
||||
});
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<div class="jalert" id="loadingalert"><h3>{L_LOADING}</h3><p>{L_PLEASE_WAIT}</p></div>
|
||||
</div>
|
||||
|
||||
<div id="phpbb_alert" class="phpbb_alert">
|
||||
<div id="phpbb_alert" class="phpbb_alert" data-l-err="{L_ERROR}" data-l-timeout-processing-req="{L_TIMEOUT_PROCESSING_REQ}">
|
||||
<a href="#"><img src="{T_THEME_PATH}/images/alert_close.png" class="alert_close" /></a>
|
||||
<h3 class="alert_title"></h3><p class="alert_text"></p>
|
||||
</div>
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
|
||||
</head>
|
||||
|
||||
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}" data-l-err="{L_ERROR}" data-l-timeout-processing-req="{L_TIMEOUT_PROCESSING_REQ}">
|
||||
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
|
||||
|
||||
<div id="wrap">
|
||||
<a id="top" accesskey="t"></a>
|
||||
|
|
Loading…
Add table
Reference in a new issue