diff options
author | jim-p <jimp@pfsense.org> | 2010-09-24 09:43:02 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-09-24 09:43:02 -0400 |
commit | 4884d5aad7198e7f54ca7fbf2c75cc56189a0eac (patch) | |
tree | 31a4c58e702db073fb6e4239615d86c122ae6ed4 /config/snort/snort_define_servers.php | |
parent | db0ddbab80d8fe9c99c8529124a9df143a3c31cc (diff) | |
download | pfsense-packages-4884d5aad7198e7f54ca7fbf2c75cc56189a0eac.tar.gz pfsense-packages-4884d5aad7198e7f54ca7fbf2c75cc56189a0eac.tar.bz2 pfsense-packages-4884d5aad7198e7f54ca7fbf2c75cc56189a0eac.zip |
Make snort respect $g['theme']. Submitted-By: garga
Diffstat (limited to 'config/snort/snort_define_servers.php')
-rw-r--r-- | config/snort/snort_define_servers.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/snort/snort_define_servers.php b/config/snort/snort_define_servers.php index 2b3ade1a..10af8d46 100644 --- a/config/snort/snort_define_servers.php +++ b/config/snort/snort_define_servers.php @@ -43,6 +43,8 @@ require_once("guiconfig.inc"); require_once("/usr/local/pkg/snort/snort_gui.inc"); require_once("/usr/local/pkg/snort/snort.inc"); +global $g; + if (!is_array($config['installedpackages']['snortglobal']['rule'])) { $config['installedpackages']['snortglobal']['rule'] = array(); } @@ -286,7 +288,7 @@ echo "{$snort_general_css}\n"; <noscript> <div class="alert" ALIGN=CENTER><img - src="../themes/nervecenter/images/icons/icon_alert.gif" /><strong>Please + src="../themes/<?php echo $g['theme']; ?>/images/icons/icon_alert.gif" /><strong>Please enable JavaScript to view this content </CENTER></div> </noscript> @@ -363,7 +365,7 @@ enable JavaScript to view this content padding: 15px 10px 85% 50px; } </style> - <div class=\"alert\" ALIGN=CENTER><img src=\"/themes/nervecenter/images/icons/icon_alert.gif\"/><strong>You can not edit options without an interface ID.</CENTER></div>\n"; + <div class=\"alert\" ALIGN=CENTER><img src=\"/themes/{$g['theme']}/images/icons/icon_alert.gif\"/><strong>You can not edit options without an interface ID.</CENTER></div>\n"; } ?> |