summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/head.inc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-11 23:25:01 +0545
committerPhil Davis <phil.davis@inf.org>2016-01-11 23:25:01 +0545
commitf78bbe1679140cf6a42fa9b55624b1f54466dd1e (patch)
treecf099abfbd1aae914281b6a0904f1cd51af96b99 /src/usr/local/www/head.inc
parentd7ac2a6d933bfb2cd2ff949a1619d04080423ac5 (diff)
downloadpfsense-f78bbe1679140cf6a42fa9b55624b1f54466dd1e.zip
pfsense-f78bbe1679140cf6a42fa9b55624b1f54466dd1e.tar.gz
Redmine #5759 print_info_box style
Define the 'success' 'info' etc style of calls to print_info_box()
Diffstat (limited to 'src/usr/local/www/head.inc')
-rwxr-xr-xsrc/usr/local/www/head.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
index bf5eb6f..e94cf22 100755
--- a/src/usr/local/www/head.inc
+++ b/src/usr/local/www/head.inc
@@ -499,14 +499,14 @@ echo '<li>'. get_shortcut_log_link($shortcut_section, false). '</li>';
/* if upgrade in progress, alert user */
if (is_subsystem_dirty('packagelock') || file_exists('/conf/needs_package_sync' && platform_booting())) {
if (file_exists('/conf/needs_package_sync') && platform_booting()) {
- $info_text = sprintf(gettext("%s is booting then packages will be reinstalled in the background.<p>Do not make changes in the GUI until this is complete."), $g['product_name']);
+ $warning_text = sprintf(gettext("%s is booting then packages will be reinstalled in the background.<p>Do not make changes in the GUI until this is complete."), $g['product_name']);
} else {
$pgtitle = array(gettext("System"), gettext("Package Manager"));
- $info_text = gettext("Packages are currently being reinstalled in the background.<p>Do not make changes in the GUI until this is complete.");
- $info_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 = 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.");
}
- print_info_box($info_text);
+ print_info_box($warning_text);
}
$pgtitle_output = true;
OpenPOWER on IntegriCloud