aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort_rules.php
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2010-03-25 11:55:53 -0700
committerrobiscool <robrob2626@yahoo.com>2010-03-25 11:56:35 -0700
commit13656fde85d45e3533ba8dfdd8b3b173851d4f92 (patch)
tree7a8926d4862bafbe31e95ab8012436453a53d7e2 /config/snort-dev/snort_rules.php
parent98fe4d812fc9d5278d756cba51728e0cf9d0ab45 (diff)
downloadpfsense-packages-13656fde85d45e3533ba8dfdd8b3b173851d4f92.tar.gz
pfsense-packages-13656fde85d45e3533ba8dfdd8b3b173851d4f92.tar.bz2
pfsense-packages-13656fde85d45e3533ba8dfdd8b3b173851d4f92.zip
snort-dev, upload binarries 8.0x32 and update to final RC.
Diffstat (limited to 'config/snort-dev/snort_rules.php')
-rw-r--r--config/snort-dev/snort_rules.php17
1 files changed, 10 insertions, 7 deletions
diff --git a/config/snort-dev/snort_rules.php b/config/snort-dev/snort_rules.php
index 99e932b7..9d0cc89c 100644
--- a/config/snort-dev/snort_rules.php
+++ b/config/snort-dev/snort_rules.php
@@ -27,10 +27,11 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
-require("guiconfig.inc");
-require("config.inc");
-require("/usr/local/pkg/snort/snort_gui.inc");
-require("/usr/local/pkg/snort/snort.inc");
+
+
+require_once("guiconfig.inc");
+require_once("/usr/local/pkg/snort/snort_gui.inc");
+require_once("/usr/local/pkg/snort/snort.inc");
if (!is_array($config['installedpackages']['snortglobal']['rule'])) {
$config['installedpackages']['snortglobal']['rule'] = array();
@@ -453,7 +454,7 @@ function popup(url)
return false;
}
// -->
-</script
+</script>
<table width="99%" border="0" cellpadding="0" cellspacing="0">
<tr>
@@ -590,7 +591,8 @@ function popup(url)
$textss\n";
?>
<a href="?id=<?=$id;?>&openruleset=<?=$rulefile;?>&act=toggle&ids=<?=$counter;?>"><img src="../themes/<?= $g['theme']; ?>/images/icons/<?=$iconb;?>" width="10" height="10" border="0" title="click to toggle enabled/disabled status"></a>
- <input name="enable" type="checkbox" value="yes" <?= $ischecked; ?> onClick="enable_change(false)">
+ <!-- <input name="enable" type="checkbox" value="yes" <?= $ischecked; ?> onClick="enable_change(false)"> -->
+ <!-- TODO: add checkbox and save so that that disabling is nicer -->
<?php
echo "$textse
</td>
@@ -662,7 +664,8 @@ function popup(url)
</tr>
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td><pre><input name="Submit" type="submit" class="formbtn" value="Save"> <input type="button" class="formbtn" value="Cancel" onclick="history.back()"><pre></td>
+ <!-- TODO: add save and cancel for checkbox options -->
+ <!-- <td><pre><input name="Submit" type="submit" class="formbtn" value="Save"> <input type="button" class="formbtn" value="Cancel" onclick="history.back()"><pre></td> -->
</tr>
</table>
<tr>