From 1d8944e08c21254c9e81b46c1edc64e9fde7da8e Mon Sep 17 00:00:00 2001 From: k-paulius Date: Mon, 13 Jul 2015 22:15:10 -0500 Subject: formatted vnstat2 php code --- config/vnstat2/www/diag_vnstat.php | 84 ++++++++++++++-------------- config/vnstat2/www/diag_vnstat2.php | 106 +++++++++++++++++++----------------- config/vnstat2/www/vnstati.php | 1 - 3 files changed, 99 insertions(+), 92 deletions(-) (limited to 'config/vnstat2/www') diff --git a/config/vnstat2/www/diag_vnstat.php b/config/vnstat2/www/diag_vnstat.php index 04e03911..5e6524c7 100644 --- a/config/vnstat2/www/diag_vnstat.php +++ b/config/vnstat2/www/diag_vnstat.php @@ -1,30 +1,30 @@ "; echo $text; @@ -80,7 +80,7 @@ include("head.inc"); if ($pf_version < 2.0) echo "

{$pgtitle}

"; echo "Go Back
"; - if($savemsg) { + if ($savemsg) { echo "
"; print_info_box($savemsg); echo "
"; @@ -89,25 +89,27 @@ include("head.inc"); print_input_errors($input_errors); ?> - - - + + +
- - - - -
-
- - -
-
- -
-
-
- -
+ + + + +
+
+ + + + +
+
+ +
+
+
+ +
diff --git a/config/vnstat2/www/diag_vnstat2.php b/config/vnstat2/www/diag_vnstat2.php index e5ce1de5..504fd534 100644 --- a/config/vnstat2/www/diag_vnstat2.php +++ b/config/vnstat2/www/diag_vnstat2.php @@ -1,30 +1,30 @@ @@ -87,16 +89,18 @@ else
{$pgtitle}

"; - echo "Go Back
"; - if($savemsg) { + } + echo "Go Back
"; + if ($savemsg) { echo "
"; print_info_box($savemsg); echo "
"; } - if ($input_errors) + if ($input_errors) { print_input_errors($input_errors); + } ?>
@@ -107,29 +111,31 @@ else - +

- - - + + +
- - - - -
-
- - -
-
- -
-
-
- -
+ + + + +
+
+ + + + +
+
+ +
+
+
+ +

diff --git a/config/vnstat2/www/vnstati.php b/config/vnstat2/www/vnstati.php index e5ddcd21..01eca208 100644 --- a/config/vnstat2/www/vnstati.php +++ b/config/vnstat2/www/vnstati.php @@ -14,4 +14,3 @@ echo "

{$pgtitle}

";


- -- cgit v1.2.3