aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-01-15 01:01:54 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-01-15 01:01:54 +0000
commit41efe2cfb4b97f1e3f7c8333fc693a1583cc4710 (patch)
tree846bfb5d9c29a0df36ce9775ea085734260da0e9
parent549a06bd65a0d7109c14703cd862a48125c4e2a5 (diff)
downloadpfsense-packages-41efe2cfb4b97f1e3f7c8333fc693a1583cc4710.tar.gz
pfsense-packages-41efe2cfb4b97f1e3f7c8333fc693a1583cc4710.tar.bz2
pfsense-packages-41efe2cfb4b97f1e3f7c8333fc693a1583cc4710.zip
Always show graphs at 400x400 but allow a user to click on a graph to see its full size.
-rw-r--r--packages/pfstat.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pfstat.php b/packages/pfstat.php
index 2979c7ba..0dd85ed6 100644
--- a/packages/pfstat.php
+++ b/packages/pfstat.php
@@ -58,7 +58,7 @@ if($config['installedpackages']['pfstat']['config'] <> "") {
echo "<table BORDERCOLOR=\"#990000\" width=\"100%\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\">";
echo "<tr bgcolor='#990000'><td><center><font color='white'>" . $graph['graphname'] . "</td></tr>\n";
echo "<td><center><table width=\"100%\"><tr><td width='100%'>";
- echo "<center><br><img src='/pfstat/" . $graph['imagename'] . "'>";
+ echo "<center><br><a href=\"" . $graph['imagename'] . "\"><img border=\"0\" width=\"400\" \"height\" src='/pfstat/" . $graph['imagename'] . "'></a>";
echo "</td></tr>";
echo "<tr bgcolor='#990000'><td><center><font color='white'>" . $graph['description'] . "</td></tr>";
echo "</table>\n";