diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-01-26 08:38:22 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-01-26 08:38:22 -0500 |
commit | c818edc9837a8236b46997ee2bcbdd830d113bc6 (patch) | |
tree | 96d2047df00a5012bdf9eae9f88466ea0a43cba6 /src/usr/local | |
parent | be17381d9acb30b74a2dbebc1ef48eabaaeda9f4 (diff) | |
download | pfsense-c818edc9837a8236b46997ee2bcbdd830d113bc6.zip pfsense-c818edc9837a8236b46997ee2bcbdd830d113bc6.tar.gz |
Further refinement to timeout message
Diffstat (limited to 'src/usr/local')
-rwxr-xr-x | src/usr/local/www/diag_reboot.php | 3 |
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) { |