diff options
author | Perry Mason <crazypark2@yahoo.dk> | 2010-12-22 09:03:35 +0100 |
---|---|---|
committer | Perry Mason <crazypark2@yahoo.dk> | 2010-12-22 09:03:35 +0100 |
commit | 46fbcd64170802436776ad822db94435851e8e2c (patch) | |
tree | 58e2dafd65e5cfa65646174379cc20027f7b30f6 /config/vnstat2/bin/vnstati.abc | |
parent | dfbb5e15dfdcacafbb7544257da252a0c4ea33ed (diff) | |
download | pfsense-packages-46fbcd64170802436776ad822db94435851e8e2c.tar.gz pfsense-packages-46fbcd64170802436776ad822db94435851e8e2c.tar.bz2 pfsense-packages-46fbcd64170802436776ad822db94435851e8e2c.zip |
[vnstat2] Change vnstati, fix monthrate on install, add go back link
Diffstat (limited to 'config/vnstat2/bin/vnstati.abc')
-rw-r--r-- | config/vnstat2/bin/vnstati.abc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/config/vnstat2/bin/vnstati.abc b/config/vnstat2/bin/vnstati.abc new file mode 100644 index 00000000..aa76a4b3 --- /dev/null +++ b/config/vnstat2/bin/vnstati.abc @@ -0,0 +1,17 @@ +<?php +require_once("guiconfig.inc"); +global $config; +include("head.inc"); +include("fbegin.inc"); +$aaaa = $config['installedpackages']['vnstat2']['config'][0]['vnstat_interface']; +$bbbb = convert_friendly_interface_to_real_interface_name($aaaa); +$pgtitle = gettext("Vnstati info for $aaaa ($bbbb)"); +echo "<a href=$myurl/pkg_edit.php?xml=vnstati.xml&id=0>Go Back</a><br />"; +echo "<center><p class=\"pgtitle\">{$pgtitle}</p>"; +?> +<center><img src="vnstat2_img.php?image=newpicture1.png" style="border:1px solid black; center;"><br /> +<center><img src="vnstat2_img.php?image=newpicture2.png" style="border:1px solid black; center;"><br /> +<center><img src="vnstat2_img.php?image=newpicture3.png" style="border:1px solid black; center;"><br /> +<center><img src="vnstat2_img.php?image=newpicture4.png" style="border:1px solid black; center;"><br /> +<?php include("fend.inc"); ?> + |