summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg_mgr_install.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-02-01 16:43:51 +0545
committerPhil Davis <phil.davis@inf.org>2017-02-01 16:43:51 +0545
commit702fa4d0ce035a444112e23f4e4d1a4c686d8163 (patch)
tree3efcf6b31fee91f60f1321fbeaa06ca98fc4ac7e /src/usr/local/www/pkg_mgr_install.php
parent070379bbc0cf84d82f52a0adfe2bdc6014695f7e (diff)
downloadpfsense-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.php4
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();
}
OpenPOWER on IntegriCloud