diff options
author | Bill Marquette <billm@pfsense.org> | 2005-07-03 16:55:51 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-07-03 16:55:51 +0000 |
commit | 74f446e877ad9bcf0a953de2007acaa2595f7cc7 (patch) | |
tree | e8008becc6432e99f9e75f6a0d35daf15f7ae284 /usr/local/www/status.php | |
parent | cc430b65ca453a356693af20caf1c79bcd894933 (diff) | |
download | pfsense-74f446e877ad9bcf0a953de2007acaa2595f7cc7.zip pfsense-74f446e877ad9bcf0a953de2007acaa2595f7cc7.tar.gz |
Use $pgtitle
small code cleanups
Diffstat (limited to 'usr/local/www/status.php')
-rwxr-xr-x | usr/local/www/status.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/local/www/status.php b/usr/local/www/status.php index 84681db..359f3a4 100755 --- a/usr/local/www/status.php +++ b/usr/local/www/status.php @@ -135,12 +135,10 @@ defCmdT("cat {$g['tmp_path']}/rules.debug","cat {$g['tmp_path']}/rules.debug"); defCmdT("config.xml","dumpconfigxml"); -$pageTitle = "pfSense: status"; - exec("/bin/date", $dateOutput, $dateStatus); $currentDate = $dateOutput[0]; -$pgtitle = $pageTitle; +$pgtitle = "pfSense: status"; include("head.inc"); ?> @@ -156,7 +154,7 @@ pre { </style> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> -<p><span class="pgtitle"><?=$pageTitle;?></span><br> +<p><span class="pgtitle"><?=$pgtitle;?></span><br> <strong><?=$currentDate;?></strong> <p><span class="red"><strong>Note: make sure to remove any sensitive information (passwords, maybe also IP addresses) before posting |