diff options
author | Ermal <eri@pfsense.org> | 2010-09-01 12:32:29 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-09-01 12:32:29 +0000 |
commit | 8e0c376055498bf0a43ff2114062cd8ef8992a09 (patch) | |
tree | 1cc4000be46fed1ac7715dcdb827f6a53d823eb0 /usr/local/www/firewall_rules_edit.php | |
parent | 990fb7a9a9b03f744c56792011f1c1e2950ce764 (diff) | |
download | pfsense-8e0c376055498bf0a43ff2114062cd8ef8992a09.zip pfsense-8e0c376055498bf0a43ff2114062cd8ef8992a09.tar.gz |
Ticket #568. Do not show the save/cancel buttons on the edit page of firewall rules if that are advanced options set.
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index fd39718..813842c 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -969,6 +969,7 @@ include("head.inc"); <span class="vexpl"><?=gettext("You may enter a description here for your reference.");?></span> </td> </tr> +<?php if (!isset($id) || !($a_filter[$id] && firewall_check_for_advanced_options($a_filter[$id]) <> "")): ?> <tr> <td width="22%" valign="top"> </td> <td width="78%"> @@ -980,6 +981,7 @@ include("head.inc"); <input name="after" type="hidden" value="<?=$after;?>"> </td> </tr> +<?php endif; ?> <tr> <td> </td> </tr> |