diff options
author | Ermal <eri@pfsense.org> | 2012-07-16 09:56:55 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-16 09:56:55 +0000 |
commit | b6ea1ca75782c61f4729136b30a5459feb9ccb1c (patch) | |
tree | 5b408956ad7a4ffc17e161b45d042c7259d719b1 /config/snort/snort_rules.php | |
parent | fc886e5bd05dd82701f0d7961e92de87c3ba1bd4 (diff) | |
download | pfsense-packages-b6ea1ca75782c61f4729136b30a5459feb9ccb1c.tar.gz pfsense-packages-b6ea1ca75782c61f4729136b30a5459feb9ccb1c.tar.bz2 pfsense-packages-b6ea1ca75782c61f4729136b30a5459feb9ccb1c.zip |
Allow looking at rule content but not editing them. Custom rules can be used for that
Diffstat (limited to 'config/snort/snort_rules.php')
-rw-r--r-- | config/snort/snort_rules.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/snort/snort_rules.php b/config/snort/snort_rules.php index 41e8e761..1bf774eb 100644 --- a/config/snort/snort_rules.php +++ b/config/snort/snort_rules.php @@ -162,7 +162,7 @@ if ($_POST['customrules']) { header("Location: /snort/snort_rules.php?id={$id}&openruleset={$currentruleset}"); exit; } -} else if ($_POST) +} else if ($_POST) { unset($a_rule[$id]['customrules']); write_config(); header("Location: /snort/snort_rules.php?id={$id}&openruleset={$currentruleset}"); @@ -368,8 +368,8 @@ function popup(url) <table border="0" cellspacing="0" cellpadding="1"> <tr> <td><a href="javascript: void(0)" - onclick="popup('snort_rules_edit.php?id=<?=$id;?>&openruleset=<?=$currentruleset;?>&ids=<?=$counter;?>')"><img - src="../themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" + onclick="popup('snort_rules_edit.php?id=<?=$id;?>&openruleset=<?=$currentruleset;?>')"><img + src="../themes/<?= $g['theme']; ?>/images/icons/icon_right.gif" title="edit rule" width="17" height="17" border="0"></a></td> <!-- Codes by Quackit.com --> </tr> |