summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/head.inc
diff options
context:
space:
mode:
authorNewEraCracker <neweracracker@gmail.com>2016-02-15 08:43:17 +0000
committerNewEraCracker <neweracracker@gmail.com>2016-02-15 08:43:17 +0000
commit42256800b2c8c744e5451402ee56368972fd6ad3 (patch)
tree7a77a3428d86ab6f299e630c07dd6eeef01602a2 /src/usr/local/www/head.inc
parentf96d306e122951011352cf0cf13c0f099e5278e2 (diff)
downloadpfsense-42256800b2c8c744e5451402ee56368972fd6ad3.zip
pfsense-42256800b2c8c744e5451402ee56368972fd6ad3.tar.gz
Make HTML conformant with standards
Escape '&' via htmlspecialchars.
Diffstat (limited to 'src/usr/local/www/head.inc')
-rw-r--r--src/usr/local/www/head.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
index b053bb8..b7ee32d 100644
--- a/src/usr/local/www/head.inc
+++ b/src/usr/local/www/head.inc
@@ -535,7 +535,7 @@ if (is_subsystem_dirty('packagelock') || file_exists('/conf/needs_package_sync'
} else {
$pgtitle = array(gettext("System"), gettext("Package Manager"));
$warning_text = gettext("Packages are currently being reinstalled in the background.<p>Do not make changes in the GUI until this is complete.");
- $warning_text .= gettext("<p>If the above message is still displayed after a couple of hours, use the 'Clear Package Lock' button on the <a href='diag_backup.php' title='Backup & Restore'>Backup & Restore page</a> and reinstall packages manually.");
+ $warning_text .= sprintf(gettext('<p>If the above message is still displayed after a couple of hours, use the \'Clear Package Lock\' button on the <a href="diag_backup.php" title="%1$s">%1$s page</a> and reinstall packages manually.'), htmlspecialchars(gettext('Backup & Restore')));
}
print_info_box($warning_text);
OpenPOWER on IntegriCloud