diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-01-05 02:33:01 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-01-05 02:33:01 +0000 |
commit | 64a405a2aab31375230484205302d965a3ca2a1a (patch) | |
tree | 6aa9399bb929086031afa6035bf69676ffed3471 /packages/pfstat.xml | |
parent | a0f51167f3a4476954a95d96ccf2b5b280164bda (diff) | |
download | pfsense-packages-64a405a2aab31375230484205302d965a3ca2a1a.tar.gz pfsense-packages-64a405a2aab31375230484205302d965a3ca2a1a.tar.bz2 pfsense-packages-64a405a2aab31375230484205302d965a3ca2a1a.zip |
Minor coesmetic touch ups
Diffstat (limited to 'packages/pfstat.xml')
-rw-r--r-- | packages/pfstat.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/packages/pfstat.xml b/packages/pfstat.xml index fa8faa42..86efaaf2 100644 --- a/packages/pfstat.xml +++ b/packages/pfstat.xml @@ -190,6 +190,11 @@ $rightgraphtext = ""; $isfirstleft = 0; $isfirstright = 0; + $fromclassification = $rowhelper['fromclassification']; + $imagename = $rowhelper['imagename']; + $from = $rowhelper['from']; + $graphsizewidth = $rowhelper['graphsizewidth']; + $graphsizeheight = $rowhelper['graphsizeheight']; foreach($rowhelper['row'] as $row) { if($row['location'] == "left") { if($isfirstleft == 1) $leftgraphtext .= ",\n"; @@ -201,11 +206,10 @@ $isfirstright = 1; } } - fwrite($fout, "image \"/usr/local/www/pfstat/" . $rowhelper['imagename'] ."\" { \n"); - $from = $rowhelper['from']; + fwrite($fout, "image \"/usr/local/www/pfstat/" . $imagename ."\" { \n"); if($from == "") $from = "30"; - fwrite($fout, "from " . $from . " " . $rowhelper['fromclassification'] . " to now \n"); - fwrite($fout, "width " . $row['graphsizewidth'] . " height " . $rowhelper['graphsizeheight'] . " \n"); + fwrite($fout, "from " . $from . " " . $fromclassification . " to now \n"); + fwrite($fout, "width " . $graphsizewidth . " height " . $graphsizeheight . " \n"); if($leftgraphtext != "") { fwrite($fout, " left \n"); fwrite($fout, " " . $leftgraphtext . "\n"); |