aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/snort/css/new_tab_menu.css16
-rw-r--r--config/snort/snort_alerts.php6
-rw-r--r--config/snort/snort_barnyard.php6
-rw-r--r--config/snort/snort_blocked.php6
-rw-r--r--config/snort/snort_define_servers.php6
-rw-r--r--config/snort/snort_download_updates.php12
-rw-r--r--config/snort/snort_head.inc6
-rw-r--r--config/snort/snort_interfaces.php6
-rw-r--r--config/snort/snort_interfaces_edit.php6
-rw-r--r--config/snort/snort_interfaces_global.php6
-rw-r--r--config/snort/snort_interfaces_suppress.php6
-rw-r--r--config/snort/snort_interfaces_suppress_edit.php6
-rw-r--r--config/snort/snort_interfaces_whitelist.php6
-rw-r--r--config/snort/snort_interfaces_whitelist_edit.php6
-rw-r--r--config/snort/snort_preprocessors.php6
-rw-r--r--config/snort/snort_rules.php12
-rw-r--r--config/snort/snort_rulesets.php12
17 files changed, 68 insertions, 62 deletions
diff --git a/config/snort/css/new_tab_menu.css b/config/snort/css/new_tab_menu.css
index 89a7108c..a93737c7 100644
--- a/config/snort/css/new_tab_menu.css
+++ b/config/snort/css/new_tab_menu.css
@@ -48,10 +48,10 @@
*/
-.snorttabs ul, li{border:0; margin:0; padding:0; list-style:none;}
+.newtabmenu ul, li{border:0; margin:0; padding:0; list-style:none;}
-.snorttabs li{float:left; margin-right:2px; text-align: center;}
-.snorttabs a:link, .snorttabs a:visited{
+.newtabmenu li{float:left; margin-right:2px; text-align: center;}
+.newtabmenu a:link, .newtabmenu a:visited{
background:url(/snort/images/new_tab_menu.png) right 45px;
color:#ffffff; /* noactive font */
display:block;
@@ -64,7 +64,7 @@
line-height:20px;
text-decoration:none;
}
-.snorttabs a span{
+.newtabmenu a span{
background:url(/snort/images/new_tab_menu.png) left 45px;
display:block;
/* fix for IE6 */
@@ -74,7 +74,7 @@
margin-right:7px;
padding-left:7px;
}
-.snorttabs a:hover{
+.newtabmenu a:hover{
background:url(/snort/images/new_tab_menu.png) right 23px;
display:block;
/* fix for IE6 */
@@ -82,7 +82,7 @@
/* END */
color:#ffffff; /* hover over font */
}
-.snorttabs a:hover span{
+.newtabmenu a:hover span{
background:url(/snort/images/new_tab_menu.png) left 23px;
display:block;
/* fix for IE6 */
@@ -92,10 +92,10 @@
/* -------------------------------- */
/* ACTIVE ELEMENTS */
-.snorttabs_active a:link, .snorttabs_active a:visited, .snorttabs_active a:visited, .snorttabs_active a:hover{
+.newtabmenu_active a:link, .newtabmenu_active a:visited, .newtabmenu_active a:visited, .newtabmenu_active a:hover{
color:#000000; /* active font */
background:url(/snort/images/new_tab_menu.png) right 0 no-repeat;
}
-.snorttabs_active a span, .snorttabs_active a:hover span{
+.newtabmenu_active a span, .newtabmenu_active a:hover span{
background:url(/snort/images/new_tab_menu.png) left 0 no-repeat;
}
diff --git a/config/snort/snort_alerts.php b/config/snort/snort_alerts.php
index d6313933..7d7d0323 100644
--- a/config/snort/snort_alerts.php
+++ b/config/snort/snort_alerts.php
@@ -340,13 +340,13 @@ if ($pconfig['arefresh'] == 'on' || $pconfig['arefresh'] == '')
<tr>
<td>
- <div class="snorttabs" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
- <ul class="snorttabs">
+ <div class="newtabmenu" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
+ <ul class="newtabmenu">
<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>
<li><a href="/snort/snort_interfaces_global.php"><span>Global
Settings</span></a></li>
<li><a href="/snort/snort_download_updates.php"><span>Updates</span></a></li>
- <li class="snorttabs_active"><a href="/snort/snort_alerts.php"><span>Alerts</span></a></li>
+ <li class="newtabmenu_active"><a href="/snort/snort_alerts.php"><span>Alerts</span></a></li>
<li><a href="/snort/snort_blocked.php"><span>Blocked</span></a></li>
<li><a href="/snort/snort_interfaces_whitelist.php"><span>Whitelists</span></a></li>
<li><a href="/snort/snort_interfaces_suppress.php"><span>Suppress</span></a></li>
diff --git a/config/snort/snort_barnyard.php b/config/snort/snort_barnyard.php
index fce96fb6..734c124f 100644
--- a/config/snort/snort_barnyard.php
+++ b/config/snort/snort_barnyard.php
@@ -355,16 +355,16 @@ echo "
if($id != "")
{
- echo '<div class="snorttabs" style="margin:1px 0px; width:775px;">' . "\n";
+ echo '<div class="newtabmenu" style="margin:1px 0px; width:775px;">' . "\n";
echo '<!-- Tabbed bar code -->' . "\n";
- echo '<ul class="snorttabs">' . "\n";
+ echo '<ul class="newtabmenu">' . "\n";
echo '<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>' . "\n";
echo "<li><a href=\"/snort/snort_interfaces_edit.php?id={$id}\"><span>If Settings</span></a></li>\n";
echo "<li><a href=\"/snort/snort_rulesets.php?id={$id}\"><span>Categories</span></a></li>\n";
echo "<li><a href=\"/snort/snort_rules.php?id={$id}\"><span>Rules</span></a></li>\n";
echo "<li><a href=\"/snort/snort_define_servers.php?id={$id}\"><span>Servers</span></a></li>\n";
echo "<li><a href=\"/snort/snort_preprocessors.php?id={$id}\"><span>Preprocessors</span></a></li>\n";
- echo "<li class=\"snorttabs_active\"><a href=\"/snort/snort_barnyard.php?id={$id}\"><span>Barnyard2</span></a></li>\n";
+ echo "<li class=\"newtabmenu_active\"><a href=\"/snort/snort_barnyard.php?id={$id}\"><span>Barnyard2</span></a></li>\n";
echo '</ul>' . "\n";
echo '</div>' . "\n";
diff --git a/config/snort/snort_blocked.php b/config/snort/snort_blocked.php
index 87c41b67..c4eb359c 100644
--- a/config/snort/snort_blocked.php
+++ b/config/snort/snort_blocked.php
@@ -267,14 +267,14 @@ if ($pconfig['brefresh'] == 'on' || $pconfig['brefresh'] == '')
<tr>
<td>
- <div class="snorttabs" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
- <ul class="snorttabs">
+ <div class="newtabmenu" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
+ <ul class="newtabmenu">
<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>
<li><a href="/snort/snort_interfaces_global.php"><span>Global
Settings</span></a></li>
<li><a href="/snort/snort_download_updates.php"><span>Updates</span></a></li>
<li><a href="/snort/snort_alerts.php"><span>Alerts</span></a></li>
- <li class="snorttabs_active"><a href="/snort/snort_blocked.php"><span>Blocked</span></a></li>
+ <li class="newtabmenu_active"><a href="/snort/snort_blocked.php"><span>Blocked</span></a></li>
<li><a href="/snort/snort_interfaces_whitelist.php"><span>Whitelists</span></a></li>
<li><a href="/snort/snort_interfaces_suppress.php"><span>Suppress</span></a></li>
<li><a class="example8" href="/snort/help_and_info.php"><span>Help</span></a></li>
diff --git a/config/snort/snort_define_servers.php b/config/snort/snort_define_servers.php
index 10af8d46..7a9ed2da 100644
--- a/config/snort/snort_define_servers.php
+++ b/config/snort/snort_define_servers.php
@@ -328,14 +328,14 @@ enable JavaScript to view this content
if($id != "")
{
- echo '<div class="snorttabs" style="margin:1px 0px; width:775px;">' . "\n";
+ echo '<div class="newtabmenu" style="margin:1px 0px; width:775px;">' . "\n";
echo '<!-- Tabbed bar code -->' . "\n";
- echo '<ul class="snorttabs">' . "\n";
+ echo '<ul class="newtabmenu">' . "\n";
echo '<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>' . "\n";
echo "<li><a href=\"/snort/snort_interfaces_edit.php?id={$id}\"><span>If Settings</span></a></li>\n";
echo "<li><a href=\"/snort/snort_rulesets.php?id={$id}\"><span>Categories</span></a></li>\n";
echo "<li><a href=\"/snort/snort_rules.php?id={$id}\"><span>Rules</span></a></li>\n";
- echo "<li class=\"snorttabs_active\"><a href=\"/snort/snort_define_servers.php?id={$id}\"><span>Servers</span></a></li>\n";
+ echo "<li class=\"newtabmenu_active\"><a href=\"/snort/snort_define_servers.php?id={$id}\"><span>Servers</span></a></li>\n";
echo "<li><a href=\"/snort/snort_preprocessors.php?id={$id}\"><span>Preprocessors</span></a></li>\n";
echo "<li><a href=\"/snort/snort_barnyard.php?id={$id}\"><span>Barnyard2</span></a></li>\n";
echo '</ul>' . "\n";
diff --git a/config/snort/snort_download_updates.php b/config/snort/snort_download_updates.php
index f87f7739..5fc915c0 100644
--- a/config/snort/snort_download_updates.php
+++ b/config/snort/snort_download_updates.php
@@ -147,12 +147,12 @@ enable JavaScript to view this content
<tr>
<td>
- <div class="snorttabs" style="margin: 1px 10px; width: 760px;"><!-- Tabbed bar code-->
- <ul class="snorttabs">
+ <div class="newtabmenu" style="margin: 1px 10px; width: 760px;"><!-- Tabbed bar code-->
+ <ul class="newtabmenu">
<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>
<li><a href="/snort/snort_interfaces_global.php"><span>Global
Settings</span></a></li>
- <li class="snorttabs_active"><a
+ <li class="newtabmenu_active"><a
href="/snort/snort_download_updates.php"><span>Updates</span></a></li>
<li><a href="/snort/snort_alerts.php"><span>Alerts</span></a></li>
<li><a href="/snort/snort_blocked.php"><span>Blocked</span></a></li>
@@ -168,10 +168,10 @@ enable JavaScript to view this content
<tr>
<td>
- <div class="snorttabs" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
- <ul class="snorttabs">
+ <div class="newtabmenu" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
+ <ul class="newtabmenu">
- <li class="snorttabs_active"><a
+ <li class="newtabmenu_active"><a
href="/snort/snort_download_rules.php"><span>Rule Update</span></a></li>
<li><a href="#"><span>Upload Custom Rules</span></a></li>
<li><a href="#"><span>Gui Update</span></a></li>
diff --git a/config/snort/snort_head.inc b/config/snort/snort_head.inc
index ca3afc5e..3ab02c84 100644
--- a/config/snort/snort_head.inc
+++ b/config/snort/snort_head.inc
@@ -43,8 +43,14 @@ file_exists("{$g['www_path']}/themes/{$g['theme']}/wizard.css")): ?>
<link rel="stylesheet" type="text/css" href="../niftycssprintCode.css"
media="print">
+<?php if ($config['version'] >= 6): ?>
+<link rel="stylesheet" type="text/css" href="/themes/<?php echo $g['theme']; ?>/new_tab_menu.css"
+ media="all">
+<?php else: ?>
<link rel="stylesheet" type="text/css" href="./css/new_tab_menu.css"
media="all">
+<?php endif; ?>
+
<link rel="stylesheet" type="text/css" href="./css/sexybuttons.css"
media="all" />
<link rel="stylesheet" type="text/css" href="./css/colorbox.css"
diff --git a/config/snort/snort_interfaces.php b/config/snort/snort_interfaces.php
index 61254842..1f60be2d 100644
--- a/config/snort/snort_interfaces.php
+++ b/config/snort/snort_interfaces.php
@@ -312,9 +312,9 @@ enable JavaScript to view this content
<tr>
<td>
- <div class="snorttabs" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
- <ul class="snorttabs">
- <li class="snorttabs_active"><a href="/snort/snort_interfaces.php"><span>Snort
+ <div class="newtabmenu" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
+ <ul class="newtabmenu">
+ <li class="newtabmenu_active"><a href="/snort/snort_interfaces.php"><span>Snort
Interfaces</span></a></li>
<li><a href="/snort/snort_interfaces_global.php"><span>Global
Settings</span></a></li>
diff --git a/config/snort/snort_interfaces_edit.php b/config/snort/snort_interfaces_edit.php
index 5ad05276..e7df2243 100644
--- a/config/snort/snort_interfaces_edit.php
+++ b/config/snort/snort_interfaces_edit.php
@@ -504,13 +504,13 @@ echo "
}
- echo '<div class="snorttabs" style="margin:1px 0px; width:775px;">' . "\n";
+ echo '<div class="newtabmenu" style="margin:1px 0px; width:775px;">' . "\n";
echo '<!-- Tabbed bar code -->' . "\n";
- echo '<ul class="snorttabs">' . "\n";
+ echo '<ul class="newtabmenu">' . "\n";
if (!file_exists("/var/run/snort_conf_{$snort_uuid}_.dirty")) {
echo '<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>' . "\n";
}
- echo "<li class=\"snorttabs_active\"><a href=\"/snort/snort_interfaces_edit.php?id={$id}\"><span>If Settings</span></a></li>\n";
+ echo "<li class=\"newtabmenu_active\"><a href=\"/snort/snort_interfaces_edit.php?id={$id}\"><span>If Settings</span></a></li>\n";
/* hide user tabs when no settings have be saved */
if ($config['installedpackages']['snortglobal']['rule'][$id]['interface'] != '') {
if (!file_exists("/var/run/snort_conf_{$snort_uuid}_.dirty")) {
diff --git a/config/snort/snort_interfaces_global.php b/config/snort/snort_interfaces_global.php
index 3310eee9..f06dd2a7 100644
--- a/config/snort/snort_interfaces_global.php
+++ b/config/snort/snort_interfaces_global.php
@@ -323,10 +323,10 @@ enable JavaScript to view this content
<tr>
<td>
- <div class="snorttabs" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
- <ul class="snorttabs">
+ <div class="newtabmenu" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
+ <ul class="newtabmenu">
<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>
- <li class="snorttabs_active"><a
+ <li class="newtabmenu_active"><a
href="/snort/snort_interfaces_global.php"><span>Global Settings</span></a></li>
<li><a href="/snort/snort_download_updates.php"><span>Updates</span></a></li>
<li><a href="/snort/snort_alerts.php"><span>Alerts</span></a></li>
diff --git a/config/snort/snort_interfaces_suppress.php b/config/snort/snort_interfaces_suppress.php
index 58837799..0ee1f0c2 100644
--- a/config/snort/snort_interfaces_suppress.php
+++ b/config/snort/snort_interfaces_suppress.php
@@ -122,8 +122,8 @@ echo $snort_general_css;
<tr>
<td class="tabnavtbl">
- <div class="snorttabs" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
- <ul class="snorttabs">
+ <div class="newtabmenu" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
+ <ul class="newtabmenu">
<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>
<li><a href="/snort/snort_interfaces_global.php"><span>Global
Settings</span></a></li>
@@ -131,7 +131,7 @@ echo $snort_general_css;
<li><a href="/snort/snort_alerts.php"><span>Alerts</span></a></li>
<li><a href="/snort/snort_blocked.php"><span>Blocked</span></a></li>
<li><a href="/snort/snort_interfaces_whitelist.php"><span>Whitelists</span></a></li>
- <li class="snorttabs_active"><a
+ <li class="newtabmenu_active"><a
href="/snort/snort_interfaces_suppress.php"><span>Suppress</span></a></li>
<li><a class="example8" href="/snort/help_and_info.php"><span>Help</span></a></li>
</ul>
diff --git a/config/snort/snort_interfaces_suppress_edit.php b/config/snort/snort_interfaces_suppress_edit.php
index 89abe790..41277787 100644
--- a/config/snort/snort_interfaces_suppress_edit.php
+++ b/config/snort/snort_interfaces_suppress_edit.php
@@ -224,8 +224,8 @@ echo $snort_general_css;
<tr>
<td class="tabnavtbl">
- <div class="snorttabs" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
- <ul class="snorttabs">
+ <div class="newtabmenu" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
+ <ul class="newtabmenu">
<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>
<li><a href="/snort/snort_interfaces_global.php"><span>Global
Settings</span></a></li>
@@ -233,7 +233,7 @@ echo $snort_general_css;
<li><a href="/snort/snort_alerts.php"><span>Alerts</span></a></li>
<li><a href="/snort/snort_blocked.php"><span>Blocked</span></a></li>
<li><a href="/snort/snort_interfaces_whitelist.php"><span>Whitelists</span></a></li>
- <li class="snorttabs_active"><a
+ <li class="newtabmenu_active"><a
href="/snort/snort_interfaces_suppress.php"><span>Suppress</span></a></li>
<li><a class="example8" href="/snort/help_and_info.php"><span>Help</span></a></li>
</ul>
diff --git a/config/snort/snort_interfaces_whitelist.php b/config/snort/snort_interfaces_whitelist.php
index 517c5907..8f3f32ce 100644
--- a/config/snort/snort_interfaces_whitelist.php
+++ b/config/snort/snort_interfaces_whitelist.php
@@ -122,15 +122,15 @@ echo $snort_general_css;
<tr>
<td class="tabnavtbl">
- <div class="snorttabs" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
- <ul class="snorttabs">
+ <div class="newtabmenu" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
+ <ul class="newtabmenu">
<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>
<li><a href="/snort/snort_interfaces_global.php"><span>Global
Settings</span></a></li>
<li><a href="/snort/snort_download_updates.php"><span>Updates</span></a></li>
<li><a href="/snort/snort_alerts.php"><span>Alerts</span></a></li>
<li><a href="/snort/snort_blocked.php"><span>Blocked</span></a></li>
- <li class="snorttabs_active"><a
+ <li class="newtabmenu_active"><a
href="/snort/snort_interfaces_whitelist.php"><span>Whitelists</span></a></li>
<li><a href="/snort/snort_interfaces_suppress.php"><span>Suppress</span></a></li>
<li><a class="example8" href="/snort/help_and_info.php"><span>Help</span></a></li>
diff --git a/config/snort/snort_interfaces_whitelist_edit.php b/config/snort/snort_interfaces_whitelist_edit.php
index 562ec3bb..951ed0b5 100644
--- a/config/snort/snort_interfaces_whitelist_edit.php
+++ b/config/snort/snort_interfaces_whitelist_edit.php
@@ -311,15 +311,15 @@ echo $snort_general_css;
<tr>
<td class="tabnavtbl">
- <div class="snorttabs" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
- <ul class="snorttabs">
+ <div class="newtabmenu" style="margin: 1px 0px; width: 775px;"><!-- Tabbed bar code-->
+ <ul class="newtabmenu">
<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>
<li><a href="/snort/snort_interfaces_global.php"><span>Global
Settings</span></a></li>
<li><a href="/snort/snort_download_updates.php"><span>Updates</span></a></li>
<li><a href="/snort/snort_alerts.php"><span>Alerts</span></a></li>
<li><a href="/snort/snort_blocked.php"><span>Blocked</span></a></li>
- <li class="snorttabs_active"><a
+ <li class="newtabmenu_active"><a
href="/snort/snort_interfaces_whitelist.php"><span>Whitelists</span></a></li>
<li><a href="/snort/snort_interfaces_suppress.php"><span>Suppress</span></a></li>
<li><a class="example8" href="/snort/help_and_info.php"><span>Help</span></a></li>
diff --git a/config/snort/snort_preprocessors.php b/config/snort/snort_preprocessors.php
index f1810658..16fbd16c 100644
--- a/config/snort/snort_preprocessors.php
+++ b/config/snort/snort_preprocessors.php
@@ -318,15 +318,15 @@ enable JavaScript to view this content
if($id != "")
{
- echo '<div class="snorttabs" style="margin:1px 0px; width:775px;">' . "\n";
+ echo '<div class="newtabmenu" style="margin:1px 0px; width:775px;">' . "\n";
echo '<!-- Tabbed bar code -->' . "\n";
- echo '<ul class="snorttabs">' . "\n";
+ echo '<ul class="newtabmenu">' . "\n";
echo '<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>' . "\n";
echo "<li><a href=\"/snort/snort_interfaces_edit.php?id={$id}\"><span>If Settings</span></a></li>\n";
echo "<li><a href=\"/snort/snort_rulesets.php?id={$id}\"><span>Categories</span></a></li>\n";
echo "<li><a href=\"/snort/snort_rules.php?id={$id}\"><span>Rules</span></a></li>\n";
echo "<li><a href=\"/snort/snort_define_servers.php?id={$id}\"><span>Servers</span></a></li>\n";
- echo "<li class=\"snorttabs_active\"><a href=\"/snort/snort_preprocessors.php?id={$id}\"><span>Preprocessors</span></a></li>\n";
+ echo "<li class=\"newtabmenu_active\"><a href=\"/snort/snort_preprocessors.php?id={$id}\"><span>Preprocessors</span></a></li>\n";
echo "<li><a href=\"/snort/snort_barnyard.php?id={$id}\"><span>Barnyard2</span></a></li>\n";
echo '</ul>' . "\n";
echo '</div>' . "\n";
diff --git a/config/snort/snort_rules.php b/config/snort/snort_rules.php
index a17b5b84..acd75b57 100644
--- a/config/snort/snort_rules.php
+++ b/config/snort/snort_rules.php
@@ -79,13 +79,13 @@ if ($isrulesfolderempty == "") {
<tr>\n
<td>\n";
- echo '<div class="snorttabs" style="margin:1px 0px; width:775px;">' . "\n";
+ echo '<div class="newtabmenu" style="margin:1px 0px; width:775px;">' . "\n";
echo '<!-- Tabbed bar code -->' . "\n";
- echo '<ul class="snorttabs">' . "\n";
+ echo '<ul class="newtabmenu">' . "\n";
echo '<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>' . "\n";
echo "<li><a href=\"/snort/snort_interfaces_edit.php?id={$id}\"><span>If Settings</span></a></li>\n";
echo "<li><a href=\"/snort/snort_rulesets.php?id={$id}\"><span>Categories</span></a></li>\n";
- echo "<li class=\"snorttabs_active\"><a href=\"/snort/snort_rules.php?id={$id}\"><span>Rules</span></a></li>\n";
+ echo "<li class=\"newtabmenu_active\"><a href=\"/snort/snort_rules.php?id={$id}\"><span>Rules</span></a></li>\n";
echo "<li><a href=\"/snort/snort_define_servers.php?id={$id}\"><span>Servers</span></a></li>\n";
echo "<li><a href=\"/snort/snort_preprocessors.php?id={$id}\"><span>Preprocessors</span></a></li>\n";
echo "<li><a href=\"/snort/snort_barnyard.php?id={$id}\"><span>Barnyard2</span></a></li>\n";
@@ -482,13 +482,13 @@ function popup(url)
<table width="99%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><?php
- echo '<div class="snorttabs" style="margin:1px 0px; width:775px;">' . "\n";
+ echo '<div class="newtabmenu" style="margin:1px 0px; width:775px;">' . "\n";
echo '<!-- Tabbed bar code -->' . "\n";
- echo '<ul class="snorttabs">' . "\n";
+ echo '<ul class="newtabmenu">' . "\n";
echo '<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>' . "\n";
echo "<li><a href=\"/snort/snort_interfaces_edit.php?id={$id}\"><span>If Settings</span></a></li>\n";
echo "<li><a href=\"/snort/snort_rulesets.php?id={$id}\"><span>Categories</span></a></li>\n";
- echo "<li class=\"snorttabs_active\"><a href=\"/snort/snort_rules.php?id={$id}\"><span>Rules</span></a></li>\n";
+ echo "<li class=\"newtabmenu_active\"><a href=\"/snort/snort_rules.php?id={$id}\"><span>Rules</span></a></li>\n";
echo "<li><a href=\"/snort/snort_define_servers.php?id={$id}\"><span>Servers</span></a></li>\n";
echo "<li><a href=\"/snort/snort_preprocessors.php?id={$id}\"><span>Preprocessors</span></a></li>\n";
echo "<li><a href=\"/snort/snort_barnyard.php?id={$id}\"><span>Barnyard2</span></a></li>\n";
diff --git a/config/snort/snort_rulesets.php b/config/snort/snort_rulesets.php
index 990c38ee..059bd5cc 100644
--- a/config/snort/snort_rulesets.php
+++ b/config/snort/snort_rulesets.php
@@ -81,12 +81,12 @@ if ($isrulesfolderempty == "") {
<tr>\n
<td>\n";
- echo '<div class="snorttabs" style="margin:1px 0px; width:775px;">' . "\n";
+ echo '<div class="newtabmenu" style="margin:1px 0px; width:775px;">' . "\n";
echo '<!-- Tabbed bar code -->' . "\n";
- echo '<ul class="snorttabs">' . "\n";
+ echo '<ul class="newtabmenu">' . "\n";
echo '<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>' . "\n";
echo "<li><a href=\"/snort/snort_interfaces_edit.php?id={$id}\"><span>If Settings</span></a></li>\n";
- echo "<li class=\"snorttabs_active\"><a href=\"/snort/snort_rulesets.php?id={$id}\"><span>Categories</span></a></li>\n";
+ echo "<li class=\"newtabmenu_active\"><a href=\"/snort/snort_rulesets.php?id={$id}\"><span>Categories</span></a></li>\n";
echo "<li><a href=\"/snort/snort_rules.php?id={$id}\"><span>Rules</span></a></li>\n";
echo "<li><a href=\"/snort/snort_define_servers.php?id={$id}\"><span>Servers</span></a></li>\n";
echo "<li><a href=\"/snort/snort_preprocessors.php?id={$id}\"><span>Preprocessors</span></a></li>\n";
@@ -239,12 +239,12 @@ if (file_exists($d_snortconfdirty_path)) {
<table width="99%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><?php
- echo '<div class="snorttabs" style="margin:1px 0px; width:775px;">' . "\n";
+ echo '<div class="newtabmenu" style="margin:1px 0px; width:775px;">' . "\n";
echo '<!-- Tabbed bar code -->' . "\n";
- echo '<ul class="snorttabs">' . "\n";
+ echo '<ul class="newtabmenu">' . "\n";
echo '<li><a href="/snort/snort_interfaces.php"><span>Snort Interfaces</span></a></li>' . "\n";
echo "<li><a href=\"/snort/snort_interfaces_edit.php?id={$id}\"><span>If Settings</span></a></li>\n";
- echo "<li class=\"snorttabs_active\"><a href=\"/snort/snort_rulesets.php?id={$id}\"><span>Categories</span></a></li>\n";
+ echo "<li class=\"newtabmenu_active\"><a href=\"/snort/snort_rulesets.php?id={$id}\"><span>Categories</span></a></li>\n";
echo "<li><a href=\"/snort/snort_rules.php?id={$id}\"><span>Rules</span></a></li>\n";
echo "<li><a href=\"/snort/snort_define_servers.php?id={$id}\"><span>Servers</span></a></li>\n";
echo "<li><a href=\"/snort/snort_preprocessors.php?id={$id}\"><span>Preprocessors</span></a></li>\n";