summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_backup.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-12-14 20:20:16 +0545
committerPhil Davis <phil.davis@inf.org>2015-12-14 20:20:16 +0545
commit947141fd21b4496d8963d1598d6ca6a2e000702c (patch)
treec4f39f94d05059417f3e5743fc7c826ea52657fc /src/usr/local/www/diag_backup.php
parent9ba351c17e4c85e01832e38b6ba7b6a7898a290d (diff)
downloadpfsense-947141fd21b4496d8963d1598d6ca6a2e000702c.zip
pfsense-947141fd21b4496d8963d1598d6ca6a2e000702c.tar.gz
Code style usr local www a-e
Diffstat (limited to 'src/usr/local/www/diag_backup.php')
-rw-r--r--src/usr/local/www/diag_backup.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/usr/local/www/diag_backup.php b/src/usr/local/www/diag_backup.php
index 98d5ff8..4b5f453 100644
--- a/src/usr/local/www/diag_backup.php
+++ b/src/usr/local/www/diag_backup.php
@@ -608,11 +608,13 @@ function build_area_list($showall) {
$pgtitle = array(gettext("Diagnostics"), gettext("Backup/Restore"));
include("head.inc");
-if ($input_errors)
+if ($input_errors) {
print_input_errors($input_errors);
+}
-if ($savemsg)
+if ($savemsg) {
print_info_box($savemsg, 'success');
+}
if (is_subsystem_dirty('restore')):
?>
@@ -772,7 +774,7 @@ print($form);
?>
<script type="text/javascript">
//<![CDATA[
-events.push(function(){
+events.push(function() {
// ------- Show/hide sections based on checkbox settings --------------------------------------
@@ -801,7 +803,7 @@ events.push(function(){
hidePasswords();
});
- $('#conffile').change(function (){
+ $('#conffile').change(function () {
$('.restore').prop('disabled', false);
});
// ---------- On initial page load ------------------------------------------------------------
OpenPOWER on IntegriCloud