diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-09-20 12:12:58 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-09-20 12:13:08 -0400 |
commit | 9d5c084cd9e8ce2564650e3010d3bf7c96d7b031 (patch) | |
tree | 9491ac95dab3e5ad95862c9759b19ae431698cef /config/diag_states_pt | |
parent | 3b9841b9ad6c6edfc20cc83220b4ccda8bd917d9 (diff) | |
download | pfsense-packages-9d5c084cd9e8ce2564650e3010d3bf7c96d7b031.tar.gz pfsense-packages-9d5c084cd9e8ce2564650e3010d3bf7c96d7b031.tar.bz2 pfsense-packages-9d5c084cd9e8ce2564650e3010d3bf7c96d7b031.zip |
Adding patch from Garga
Diffstat (limited to 'config/diag_states_pt')
-rw-r--r-- | config/diag_states_pt/diag_new_states.php | 15 |
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> |