aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_head.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/snort/snort_head.inc')
-rw-r--r--config/snort/snort_head.inc15
1 files changed, 8 insertions, 7 deletions
diff --git a/config/snort/snort_head.inc b/config/snort/snort_head.inc
index ce88b328..9e009016 100644
--- a/config/snort/snort_head.inc
+++ b/config/snort/snort_head.inc
@@ -72,14 +72,15 @@ $pagetitle = gentitle( $pgtitle );
echo "\t<script type=\"text/javascript\" src=\"/snort/javascript/sortableTable.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";
+ /* some pfsense commercial versions require prototype to be in every tab on the GUI, for custom logos */
+ echo "\t<script type=\"text/javascript\" src=\"/snort/javascript/prototype.js\"></script>\n";
+ // 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";
+ if(file_exists("{$g['www_path']}/javascript/global.js"))
+ echo "\t<script type=\"text/javascript\" src=\"../javascript/global.js\"></script>\n";
/*
* Find all javascript files that need to be included
* for this page ... from the arrays ... :)