diff options
author | Phil Davis <phil.davis@inf.org> | 2017-02-01 16:43:51 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2017-02-01 16:43:51 +0545 |
commit | 702fa4d0ce035a444112e23f4e4d1a4c686d8163 (patch) | |
tree | 3efcf6b31fee91f60f1321fbeaa06ca98fc4ac7e /src/usr/local/www/pkg_mgr_install.php | |
parent | 070379bbc0cf84d82f52a0adfe2bdc6014695f7e (diff) | |
download | pfsense-702fa4d0ce035a444112e23f4e4d1a4c686d8163.zip pfsense-702fa4d0ce035a444112e23f4e4d1a4c686d8163.tar.gz |
Code with multiple %s in usr/local/www
Diffstat (limited to 'src/usr/local/www/pkg_mgr_install.php')
-rw-r--r-- | src/usr/local/www/pkg_mgr_install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php index 47f2b0b..9e11d80 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -698,7 +698,7 @@ function checkonline() { function startCountdown() { setInterval(function() { if (time == "<?=$guitimeout?>") { - $('#countdown').html('<h4><?=sprintf(gettext("Rebooting%sPage will automatically reload in %s seconds"), "<br />", "<span id=\"secs\"></span>");?></h4>'); + $('#countdown').html('<h4><?=sprintf(gettext('Rebooting%1$sPage will automatically reload in %2$s seconds'), "<br />", "<span id=\"secs\"></span>");?></h4>'); } if (time > 0) { @@ -706,7 +706,7 @@ function startCountdown() { time--; } else { time = "<?=$guiretry?>"; - $('#countdown').html('<h4><?=sprintf(gettext("Not yet ready%s Retrying in another %s seconds"), "<br />", "<span id=\"secs\"></span>");?></h4>'); + $('#countdown').html('<h4><?=sprintf(gettext('Not yet ready%1$s Retrying in another %2$s seconds'), "<br />", "<span id=\"secs\"></span>");?></h4>'); $('#secs').html(time); checkonline(); } |