From 0841fc3fe30892fcbbf7ea9dc330ffae6bfb62a3 Mon Sep 17 00:00:00 2001 From: robiscool Date: Tue, 2 Aug 2011 15:54:21 -0700 Subject: orionids-dev, remake paths --- config/orionids-dev/snort_rules.php | 73 ++++++++++++++++++++----------------- 1 file changed, 39 insertions(+), 34 deletions(-) (limited to 'config/orionids-dev/snort_rules.php') diff --git a/config/orionids-dev/snort_rules.php b/config/orionids-dev/snort_rules.php index 78134d52..09490a37 100644 --- a/config/orionids-dev/snort_rules.php +++ b/config/orionids-dev/snort_rules.php @@ -434,43 +434,48 @@ jQuery(document).ready(function() { - // disable Row Append if row count is less than 0 - var countRowAppend = ; + + if (!empty($countSig)) { + echo 'var countRowAppend = ' . $countSig . ';' . "\n"; + }else{ + echo 'var countRowAppend = 0;' . "\n"; + } + +?> // if rowcount is not empty do this if (countRowAppend > 0){ -- cgit v1.2.3