aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@scott-ullrichs-mac-pro.local>2009-02-09 16:26:43 -0500
committerScott Ullrich <sullrich@scott-ullrichs-mac-pro.local>2009-02-09 16:26:43 -0500
commit8475f580d8bafb43f9c06ebac52d52e6713c51ca (patch)
treec260d348b481b38ba4727d786457c6c379ebd8e0
parentf83fcd4a086d44c1e0faeb910e270782e010c8cd (diff)
downloadpfsense-packages-8475f580d8bafb43f9c06ebac52d52e6713c51ca.tar.gz
pfsense-packages-8475f580d8bafb43f9c06ebac52d52e6713c51ca.tar.bz2
pfsense-packages-8475f580d8bafb43f9c06ebac52d52e6713c51ca.zip
Only output pgtitle once on 2.0
-rw-r--r--config/snort/snort_alerts.php5
-rw-r--r--config/snort/snort_blocked.php5
-rw-r--r--config/snort/snort_download_rules.php5
-rw-r--r--config/snort/snort_rules.php5
-rw-r--r--config/snort/snort_rules_edit.php5
-rw-r--r--config/snort/snort_rulesets.php5
6 files changed, 24 insertions, 6 deletions
diff --git a/config/snort/snort_alerts.php b/config/snort/snort_alerts.php
index 70b53656..9604d64c 100644
--- a/config/snort/snort_alerts.php
+++ b/config/snort/snort_alerts.php
@@ -57,7 +57,10 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-<p class="pgtitle"><?=$pgtitle?></p>
+<?php
+if(!$pgtitle_output)
+ echo "<p class=\"pgtitle\"><?=$pgtitle?></p>";
+?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<?php
diff --git a/config/snort/snort_blocked.php b/config/snort/snort_blocked.php
index 29ecf38c..fab226b6 100644
--- a/config/snort/snort_blocked.php
+++ b/config/snort/snort_blocked.php
@@ -46,7 +46,10 @@ include("head.inc");
<body link="#000000" vlink="#000000" alink="#000000">
<?php include("fbegin.inc"); ?>
-<p class="pgtitle"><?=$pgtitle?></font></p>
+<?php
+if(!$pgtitle_output)
+ echo "<p class=\"pgtitle\"><?=$pgtitle?></p>";
+?>
<form action="snort_rulesets.php" method="post" name="iform" id="iform">
<script src="/row_toggle.js" type="text/javascript"></script>
diff --git a/config/snort/snort_download_rules.php b/config/snort/snort_download_rules.php
index 8f04072b..7866bad0 100644
--- a/config/snort/snort_download_rules.php
+++ b/config/snort/snort_download_rules.php
@@ -59,7 +59,10 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-<p class="pgtitle"><?=$pgtitle?></font></p>
+<?php
+if(!$pgtitle_output)
+ echo "<p class=\"pgtitle\"><?=$pgtitle?></p>";
+?>
<form action="snort_download_rules.php" method="post">
<div id="inputerrors"></div>
diff --git a/config/snort/snort_rules.php b/config/snort/snort_rules.php
index f1b29f83..e9276ecf 100644
--- a/config/snort/snort_rules.php
+++ b/config/snort/snort_rules.php
@@ -260,7 +260,10 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-<p class="pgtitle"><?=$pgtitle?></p>
+<?php
+if(!$pgtitle_output)
+ echo "<p class=\"pgtitle\"><?=$pgtitle?></p>";
+?>
<form action="snort_rules.php" method="post" name="iform" id="iform">
<?php if ($savemsg){print_info_box($savemsg);} else if ($stopMsg){print_info_box_np($message_reload);}?>
<br>
diff --git a/config/snort/snort_rules_edit.php b/config/snort/snort_rules_edit.php
index d393a309..caffb7f2 100644
--- a/config/snort/snort_rules_edit.php
+++ b/config/snort/snort_rules_edit.php
@@ -109,7 +109,10 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-<p class="pgtitle"><?=$pgtitle?></p>
+<?php
+if(!$pgtitle_output)
+ echo "<p class=\"pgtitle\"><?=$pgtitle?></p>";
+?>
<table width="99%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
diff --git a/config/snort/snort_rulesets.php b/config/snort/snort_rulesets.php
index a06ba106..3d2e9ab4 100644
--- a/config/snort/snort_rulesets.php
+++ b/config/snort/snort_rulesets.php
@@ -64,7 +64,10 @@ include("head.inc");
<body link="#000000" vlink="#000000" alink="#000000">
<?php include("fbegin.inc"); ?>
-<p class="pgtitle"><?=$pgtitle?></font></p>
+<?php
+if(!$pgtitle_output)
+ echo "<p class=\"pgtitle\"><?=$pgtitle?></p>";
+?>
<form action="snort_rulesets.php" method="post" name="iform" id="iform">
<script src="/row_toggle.js" type="text/javascript"></script>