From 24f949a4bf10029d7397a22da76dacad61dbac66 Mon Sep 17 00:00:00 2001 From: Perry Mason Date: Thu, 16 Dec 2010 00:38:12 +0100 Subject: [vnstat2] add files --- config/vnstat2/bin/diag_vnstat.abc | 115 ++++++++++++++++++++++++++++++ config/vnstat2/bin/diag_vnstat2.abc | 137 ++++++++++++++++++++++++++++++++++++ config/vnstat2/vnstatoutput.xml | 56 +++++++++++++++ 3 files changed, 308 insertions(+) create mode 100644 config/vnstat2/bin/diag_vnstat.abc create mode 100755 config/vnstat2/bin/diag_vnstat2.abc create mode 100644 config/vnstat2/vnstatoutput.xml (limited to 'config/vnstat2') diff --git a/config/vnstat2/bin/diag_vnstat.abc b/config/vnstat2/bin/diag_vnstat.abc new file mode 100644 index 00000000..db683a15 --- /dev/null +++ b/config/vnstat2/bin/diag_vnstat.abc @@ -0,0 +1,115 @@ +"; + echo $text; + exit; +} + +include("head.inc"); + +?> + + + +
+{$pgtitle}

"; + if($savemsg) { + echo "
"; + print_info_box($savemsg); + echo "
"; + } + if ($input_errors) + print_input_errors($input_errors); +?> + + + + +
+ + + + +
+
+ + +
+
+ +
+
+
+ +
+ + + + diff --git a/config/vnstat2/bin/diag_vnstat2.abc b/config/vnstat2/bin/diag_vnstat2.abc new file mode 100755 index 00000000..e41f9dc1 --- /dev/null +++ b/config/vnstat2/bin/diag_vnstat2.abc @@ -0,0 +1,137 @@ + + +
+ +
+{$pgtitle}

"; + if($savemsg) { + echo "
"; + print_info_box($savemsg); + echo "
"; + } + if ($input_errors) + print_input_errors($input_errors); +?> + + + +

+ + + + +
+ + + + +
+
+ + +
+
+ +
+
+
+ +
+

+ + + diff --git a/config/vnstat2/vnstatoutput.xml b/config/vnstat2/vnstatoutput.xml new file mode 100644 index 00000000..4b410aaa --- /dev/null +++ b/config/vnstat2/vnstatoutput.xml @@ -0,0 +1,56 @@ + + + + + + Describe your package here + Describe your package requirements here + Currently there are no FAQ items provided. + vnstat2 + 1.0 + Vnstat2 + /diag_vnstat2.php + /usr/local/pkg/vnstat2.inc + + vnstat2 + +
Status
+ /pkg_edit.php?xml=vnstat2.xml&id=0 +
+ + + Config + /pkg_edit.php?xml=vnstat2.xml&id=0 + + + Vnstati + /pkg_edit.php?xml=vnstati.xml&id=0 + + + Access vnstat php frontend + /vnstat2 + + + vnstat info + /pkg_edit.php?xml=vnstatoutput.xml&id=0 + + + + vnstat summary + /diag_vnstat.php + + + + + Interface + vnstat_interface2 + Select interface + interfaces_selection + + + + create_vnstat_output(); + + vnstat_install_config(); + vnstat_install_deinstall(); +
-- cgit v1.2.3