Close p tags, wrap first sentence in p tag for proper styling.

This commit is contained in:
k-paulius 2016-02-18 01:23:23 -06:00 committed by Stephen Beaver
parent 29c39b7c63
commit 27f37ca45e

View File

@ -551,8 +551,8 @@ if (is_subsystem_dirty('packagelock') || file_exists('/conf/needs_package_sync'
$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"));
$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 .= 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')));
$warning_text = gettext("<p>Packages are currently being reinstalled in the background.</p><p>Do not make changes in the GUI until this is complete.</p>");
$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.</p>'), htmlspecialchars(gettext('Backup & Restore')));
}
print_info_box($warning_text);