From 64a405a2aab31375230484205302d965a3ca2a1a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 5 Jan 2005 02:33:01 +0000 Subject: Minor coesmetic touch ups --- packages/pfstat.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'packages/pfstat.xml') 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"); -- cgit v1.2.3