summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-04-16 01:29:20 +0000
committerBill Marquette <billm@pfsense.org>2005-04-16 01:29:20 +0000
commit60f9e276c3c1f9e4e63319767900210f158ed6db (patch)
tree1625a3c4bbf4469069e830ecdec00198109af0a5 /usr
parentceb419e18956785e6cd42e579068eff09b0ee52c (diff)
downloadpfsense-60f9e276c3c1f9e4e63319767900210f158ed6db.zip
pfsense-60f9e276c3c1f9e4e63319767900210f158ed6db.tar.gz
no need for two <form> tags
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/status_graph.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php
index 9c7fa63..05a0310 100755
--- a/usr/local/www/status_graph.php
+++ b/usr/local/www/status_graph.php
@@ -72,7 +72,7 @@ for ($j = 1; isset($config['interfaces']['opt' . $j]); $j++) {
$ifdescrs['opt' . $j] = $config['interfaces']['opt' . $j]['descr'];
}
?>
-<form name="form1" action="" method="get" style="padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid #999999">
+<form name="form1" action="status_graph.php" method="get" style="padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid #999999">
Interface:
<select name="if" class="formfld" onchange="document.form1.submit()">
<?php
@@ -88,7 +88,7 @@ foreach ($ifdescrs as $ifn => $ifd) {
<embed src="graph.php?ifnum=<?=$ifnum;?>&ifname=<?=rawurlencode($ifdescrs[$curif]);?>" type="image/svg+xml"
width="<? echo $width; ?>" height="<? echo $height; ?>" pluginspage="http://www.adobe.com/svg/viewer/install/auto" />
</div>
-<p><form method="post" action="status_graph.php">
+<p>
Graph Width: <input name="width" value="<? echo $width; ?>"> Height: <input name="height" value="<? echo $height; ?>"> <input type="submit" value="Change Graph Size"></p>
<p><span class="red"><strong>Note:</strong></span> the <a href="http://www.adobe.com/svg/viewer/install/" target="_blank">Adobe SVG viewer</a> is required to view the graph.
<?php include("fend.inc"); ?>
OpenPOWER on IntegriCloud