diff options
Diffstat (limited to 'config/snort-dev/snort_rulesets_ips.php')
-rw-r--r-- | config/snort-dev/snort_rulesets_ips.php | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/config/snort-dev/snort_rulesets_ips.php b/config/snort-dev/snort_rulesets_ips.php index b5c18523..459f2868 100644 --- a/config/snort-dev/snort_rulesets_ips.php +++ b/config/snort-dev/snort_rulesets_ips.php @@ -295,9 +295,27 @@ jQuery(document).ready(function() { <tr> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0" > - <tr class="hidemetr" id="ipstable_gensettings" valign="top"> + + <tr class="hidemetr" id="ipstitle_gensettings" valign="top"> + <td class="listhdrr2" width="20%"></td> + <td class="listhdrr2" width="1%"> On</td> + <td class="listhdrr2" width="1%"> Source</td> + <td class="listhdrr2" width="1%"> Amount</td> + <td class="listhdrr2" width="1%"> Duration</td> + </tr> + + <tr class="hidemetr" id="ipstable_gensettings" valign="top"> <td class="vncell2" id="infotext_ips"><font color="#000000">Default settings for all block rules</font></td> <td class="odd_ruleset2"> + <?php + $enableGenRuleSidChkBox = ''; + if ( $listGenRules[0]['enable'] === 'on' || empty($listGenRules[0]['enable'])) { + $enableGenRuleSidChkBox = 'checked="checked"'; + } + ?> + <input class="domecheck" id="checkbox_253" name="snortsam[db][gensettings][enable]" value="on" <?=$enableGenRuleSidChkBox; ?> type="checkbox"> + </td> + <td class="odd_ruleset2"> <select class="formfld2" id="who_gensettings" name="snortsam[db][gensettings][who]"> <?php $whoList = array('src' => 'SRC', 'dst' => 'DST', 'both' => 'BOTH'); |