Revision edd492df
Added by Steve Beaver over 7 years ago
src/usr/local/www/index.php | ||
---|---|---|
31 | 31 |
##|-PRIV |
32 | 32 |
|
33 | 33 |
// Message to display if the session times out and an AJAX call is made |
34 |
$timeoutmessage1 = gettext("The dashboard web session has timed out.");
|
|
35 |
$timeoutmessage2 = gettext("It will not update until you refresh the page and log-in again.");
|
|
34 |
$timeoutmessage = gettext("The dashboard web session has timed out.\\n" .
|
|
35 |
"It will not update until you refresh the page and log-in again.");
|
|
36 | 36 |
|
37 | 37 |
// Turn on buffering to speed up rendering |
38 | 38 |
ini_set('output_buffering', 'true'); |
... | ... | |
678 | 678 |
} else { |
679 | 679 |
if (ajaxtimeout === false) { |
680 | 680 |
ajaxtimeout = true; |
681 |
alert("<?=$timeoutmessage1?>" + "\n" + "<?=$timeoutmessage2?>");
|
|
681 |
alert("<?=$timeoutmessage?>"); |
|
682 | 682 |
} |
683 | 683 |
} |
684 | 684 |
} |
Also available in: Unified diff
Revise timeout message