aboutsummaryrefslogtreecommitdiffstats
path: root/config/diag_states_pt
diff options
context:
space:
mode:
Diffstat (limited to 'config/diag_states_pt')
-rw-r--r--config/diag_states_pt/diag_new_states.php15
1 files changed, 12 insertions, 3 deletions
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");
<script src="/javascript/sorttable.js" type="text/javascript"></script>
<?php include("fbegin.inc"); ?>
-<p class="pgtitle"><?=$pgtitle?></p>
+
+<?php
+ if ($config['version'] < 6)
+ echo '<p class="pgtitle">' . $pgtitle . '</p>';
+?>
+
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="listhdrr" colspan="9">Statistics snapshot control</td>
@@ -378,4 +387,4 @@ if (is_array($data)): foreach ($data as $entry):
<?php endif; ?>
<?php include("fend.inc"); ?>
</body>
-</html> \ No newline at end of file
+</html>