summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_reboot.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-26 08:38:22 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-26 08:38:22 -0500
commitc818edc9837a8236b46997ee2bcbdd830d113bc6 (patch)
tree96d2047df00a5012bdf9eae9f88466ea0a43cba6 /src/usr/local/www/diag_reboot.php
parentbe17381d9acb30b74a2dbebc1ef48eabaaeda9f4 (diff)
downloadpfsense-c818edc9837a8236b46997ee2bcbdd830d113bc6.zip
pfsense-c818edc9837a8236b46997ee2bcbdd830d113bc6.tar.gz
Further refinement to timeout message
Diffstat (limited to 'src/usr/local/www/diag_reboot.php')
-rwxr-xr-xsrc/usr/local/www/diag_reboot.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_reboot.php b/src/usr/local/www/diag_reboot.php
index 7faf6b2..d00ee82 100755
--- a/src/usr/local/www/diag_reboot.php
+++ b/src/usr/local/www/diag_reboot.php
@@ -94,7 +94,6 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
//<![CDATA[
events.push(function() {
- var timeoutmsg = '<h4><?=sprintf(gettext("Rebooting%sPage will automatically reload in %s seconds"), "<br />", "<span id=\"secs\"></span>");?></h4>';
var time = 0;
function checkonline() {
@@ -110,7 +109,7 @@ events.push(function() {
function startCountdown() {
setInterval(function() {
if (time == "<?=$guitimeout?>") {
- $('#countdown').html(timeoutmsg);
+ $('#countdown').html('<h4><?=sprintf(gettext("Rebooting%sPage will automatically reload in %s seconds"), "<br />", "<span id=\"secs\"></span>");?></h4>');
}
if (time > 0) {
OpenPOWER on IntegriCloud