From b94c1d9159e5e62752bae320842540364247340f Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 8 Aug 2015 00:36:32 +0200 Subject: vnstat2 - code style cleanup round 2 - Fix copyright header and remove some ACL copy'n'paste junk - Code style fixes - XHTML fixes - Remove some obsolete pfSense 2.0 checks junk --- config/vnstat2/www/diag_vnstat.php | 55 +++++++++++++------------------------- 1 file changed, 19 insertions(+), 36 deletions(-) (limited to 'config/vnstat2') diff --git a/config/vnstat2/www/diag_vnstat.php b/config/vnstat2/www/diag_vnstat.php index 5e6524c7..e5014120 100644 --- a/config/vnstat2/www/diag_vnstat.php +++ b/config/vnstat2/www/diag_vnstat.php @@ -1,8 +1,9 @@ "; echo $text; exit; @@ -55,8 +40,8 @@ include("head.inc"); ?> -
{$pgtitle}

"; - echo "Go Back
"; + include("fbegin.inc"); + if ($savemsg) { echo "
"; print_info_box($savemsg); - echo "
"; + echo "
"; } - if ($input_errors) + if ($input_errors) { print_input_errors($input_errors); + } ?> - +
-
@@ -107,7 +91,6 @@ include("head.inc");
- +
-
-- cgit v1.2.3