aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2010-09-05 21:52:24 -0700
committerrobiscool <robrob2626@yahoo.com>2010-09-05 21:52:24 -0700
commitc36dac1fb2a75eb1d5eb35a057bcdd658f6a21a5 (patch)
tree483f325d474e6e5d0903857e50118e0c730d1ea0
parent56a779987a0f6c19c6e4276efbe9f0717eadfc2f (diff)
downloadpfsense-packages-c36dac1fb2a75eb1d5eb35a057bcdd658f6a21a5.tar.gz
pfsense-packages-c36dac1fb2a75eb1d5eb35a057bcdd658f6a21a5.tar.bz2
pfsense-packages-c36dac1fb2a75eb1d5eb35a057bcdd658f6a21a5.zip
snort, enable prototype on all snort GUI tabs to help commercial pfsense GUI
-rw-r--r--config/snort/snort_head.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/config/snort/snort_head.inc b/config/snort/snort_head.inc
index 7e0f6fde..ce88b328 100644
--- a/config/snort/snort_head.inc
+++ b/config/snort/snort_head.inc
@@ -72,12 +72,12 @@ $pagetitle = gentitle( $pgtitle );
echo "\t<script type=\"text/javascript\" src=\"/snort/javascript/sortableTable.js\"></script>\n";
}
- if ($snort_load_pfjavascript_defaults == 'yes') {
- echo "\t<script type=\"text/javascript\" src=\"../javascript/scriptaculous/prototype.js\"></script>\n";
- echo "\t<script type=\"text/javascript\" src=\"../javascript/scriptaculous/scriptaculous.js\"></script>\n";
- echo "\t<script type=\"text/javascript\" src=\"../javascript/scriptaculous/effects.js\"></script>\n";
- echo "\t<script type=\"text/javascript\" src=\"../javascript/scriptaculous/dragdrop.js\"></script>\n";
- }
+ /* some pfsense commercial versions require these to be in every tab on the GUI, overwrite GUI */
+ echo "\t<script type=\"text/javascript\" src=\"../javascript/scriptaculous/prototype.js\"></script>\n";
+ echo "\t<script type=\"text/javascript\" src=\"../javascript/scriptaculous/scriptaculous.js\"></script>\n";
+ echo "\t<script type=\"text/javascript\" src=\"../javascript/scriptaculous/effects.js\"></script>\n";
+ echo "\t<script type=\"text/javascript\" src=\"../javascript/scriptaculous/dragdrop.js\"></script>\n";
+
//if(file_exists("{$g['www_path']}/javascript/global.js"))
//echo "\t<script type=\"text/javascript\" src=\"../javascript/global.js\"></script>\n";
/*