summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-12-24 01:25:01 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-12-24 01:25:01 +0000
commitb760a120d293bff0f2c5a37890648f9c71d2991b (patch)
tree723d9d7205d34794d060aff959c7988f1cec825a /usr
parentbdeca4ed169b8eab49233f32c74e7fa6d1334aa7 (diff)
downloadpfsense-b760a120d293bff0f2c5a37890648f9c71d2991b.zip
pfsense-b760a120d293bff0f2c5a37890648f9c71d2991b.tar.gz
* Only output one error message or save notice at a time
* Correc the reboot workaround for kernel panics (CARP interface deletion) Ticket #1397
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_virtual_ip.php16
1 files changed, 11 insertions, 5 deletions
diff --git a/usr/local/www/firewall_virtual_ip.php b/usr/local/www/firewall_virtual_ip.php
index 75305d3..3b4d952 100755
--- a/usr/local/www/firewall_virtual_ip.php
+++ b/usr/local/www/firewall_virtual_ip.php
@@ -93,11 +93,17 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<form action="firewall_virtual_ip.php" method="post">
-<?php if ($input_errors) print_input_errors($input_errors); ?>
-<?php if ($savemsg) print_info_box($savemsg); ?>
-<?php if (file_exists($d_vipconfdirty_path)): ?><p>
-<?php print_info_box_np("The VIP configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br>
-<?php endif; ?>
+<?php
+ if ($input_errors)
+ print_input_errors($input_errors);
+ else
+ if ($savemsg)
+ print_info_box($savemsg);
+ else
+ if (file_exists($d_vipconfdirty_path))
+ print_info_box_np("The VIP configuration has been changed.<br>You must apply the changes in order for them to take effect.");
+?>
+<br>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
<?php
OpenPOWER on IntegriCloud