diff options
author | robiscool <robrob2626@yahoo.com> | 2011-05-26 07:20:27 -0700 |
---|---|---|
committer | robiscool <robrob2626@yahoo.com> | 2011-05-26 09:17:10 -0700 |
commit | bd664276c67a11b92c027ba569157460481d37e6 (patch) | |
tree | a3d18c74483349297caaf25c5e43e62ff3ede449 /config/snort-dev/snort_head.inc | |
parent | 54c49bf2b5358b35602cae3cf6a9fead0ba886e5 (diff) | |
download | pfsense-packages-bd664276c67a11b92c027ba569157460481d37e6.tar.gz pfsense-packages-bd664276c67a11b92c027ba569157460481d37e6.tar.bz2 pfsense-packages-bd664276c67a11b92c027ba569157460481d37e6.zip |
snort-dev, add rules and rulesets tabs
Diffstat (limited to 'config/snort-dev/snort_head.inc')
-rw-r--r-- | config/snort-dev/snort_head.inc | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/config/snort-dev/snort_head.inc b/config/snort-dev/snort_head.inc index 8f9bf9b4..6addeaaa 100644 --- a/config/snort-dev/snort_head.inc +++ b/config/snort-dev/snort_head.inc @@ -34,14 +34,6 @@ $pagetitle = gentitle( $pgtitle ); <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="apple-touch-icon" href="/themes/<?php echo $g['theme']; ?>/apple-touch-icon.png"/> - -<!-- snort custom javascript and css --> - -<?php include('/usr/local/pkg/snort/snort_headbase.inc'); ?> - -<!-- remove Only used to test conflicts --> - - <?php if (strpos($_SERVER["SCRIPT_FILENAME"], "wizard.php") !== false && file_exists("{$g['www_path']}/themes/{$g['theme']}/wizard.css")): ?> <?php echo "<style type=\"text/css\" src=\"/themes/{$g['theme']}/wizard.css\"></style>"; ?> @@ -55,7 +47,16 @@ $pagetitle = gentitle( $pgtitle ); <script type="text/javascript"> var theme = "<?php echo $g['theme']; ?>"; </script> - <?php echo "\t<script type=\"text/javascript\" src=\"/themes/{$g['theme']}/loader.js\"></script>\n"; ?> + <?php echo "\t<script type=\"text/javascript\" src=\"/themes/{$g['theme']}/loader.js\"></script>\n"; ?> + +<?php + //<!-- snort custom javascript and css --> + echo "\n"; + include('/usr/local/pkg/snort/snort_headbase.inc'); + echo "\n"; + //<!-- snort custom javascript and css --> +?> + <?php if($_GET['enablefirebuglite']) { echo "\t<script type=\"text/javascript\" src=\"/javascript/pi.js\"></script>\n"; @@ -85,7 +86,8 @@ $pagetitle = gentitle( $pgtitle ); closedir($dh); } } - + + if (!isset($closehead)) echo "</head>"; |