From 9d5c084cd9e8ce2564650e3010d3bf7c96d7b031 Mon Sep 17 00:00:00 2001
From: Scott Ullrich
Date: Mon, 20 Sep 2010 12:12:58 -0400
Subject: Adding patch from Garga
---
config/diag_states_pt/diag_new_states.php | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
(limited to 'config/diag_states_pt')
diff --git a/config/diag_states_pt/diag_new_states.php b/config/diag_states_pt/diag_new_states.php
index e0f1abec..d187068f 100644
--- a/config/diag_states_pt/diag_new_states.php
+++ b/config/diag_states_pt/diag_new_states.php
@@ -28,8 +28,12 @@
require_once("guiconfig.inc");
-$pgtitle = "Diagnostics: Show States";
+global $config;
+if ($config['version'] >= 6)
+ $pgtitle = array("Diagnostics", "Show States");
+else
+ $pgtitle = "Diagnostics: Show States";
/* put your custom HTML head content here */
/* using some of the $pfSenseHead function calls */
@@ -310,7 +314,12 @@ include("head.inc");
-=$pgtitle?>
+
+' . $pgtitle . '
';
+?>
+
Statistics snapshot control |
@@ -378,4 +387,4 @@ if (is_array($data)): foreach ($data as $entry):