diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-05-25 01:51:29 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-05-25 01:51:29 +0000 |
commit | f9d79aa027a8843584a0a0363a8a1e50046a4089 (patch) | |
tree | 68c1a48aee8a9b3261bfb5edc5567a095f8d2593 | |
parent | 778588fc1045ed8dc1fccb060a93bd856c77cca8 (diff) | |
download | pfsense-packages-f9d79aa027a8843584a0a0363a8a1e50046a4089.tar.gz pfsense-packages-f9d79aa027a8843584a0a0363a8a1e50046a4089.tar.bz2 pfsense-packages-f9d79aa027a8843584a0a0363a8a1e50046a4089.zip |
Move message above table.
-rw-r--r-- | packages/carp_status.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/carp_status.php b/packages/carp_status.php index 6b360c01..bf4c8ba9 100644 --- a/packages/carp_status.php +++ b/packages/carp_status.php @@ -90,6 +90,11 @@ include("fbegin.inc"); $carp_enabled = true; echo "<input type=\"submit\" name=\"disablecarp\" id=\"disablecarp\" value=\"Disable Carp\">"; } + +if(!is_array($config['installedpackages']['carp']['config'])) { + echo "Could not locate any defined CARP interfaces."; + exit; +} ?> <p> @@ -103,11 +108,6 @@ include("fbegin.inc"); </tr> <?php -if(!is_array($config['installedpackages']['carp']['config'])) { - echo "<tr><td></td></tr><tr><td></td></tr>Could not locate any defined CARP interfaces.<tr><td></td></tr><tr><td></td></tr></table>"; - exit; -} - if($config['installedpackages']['carp']['config'] <> "") $carpint=0; foreach($config['installedpackages']['carp']['config'] as $carp) { |