From caf0843f5836ef21b6512fbd724a40aa57db4095 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sun, 6 Sep 2015 21:51:34 +0200 Subject: sarg - code style cleanup and fixes sarg_reports.php - Code style and indentation fixes - Nuke useless pfSense 1.2.x cruft --- config/sarg/sarg_reports.php | 113 +++++++++++++++++++------------------------ 1 file changed, 51 insertions(+), 62 deletions(-) (limited to 'config') diff --git a/config/sarg/sarg_reports.php b/config/sarg/sarg_reports.php index f18eb80e..81e1fd02 100755 --- a/config/sarg/sarg_reports.php +++ b/config/sarg/sarg_reports.php @@ -1,8 +1,9 @@ + Copyright (C) 2015 ESF, LLC All rights reserved. Redistribution and use in source and binary forms, with or without @@ -26,70 +27,58 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - require("guiconfig.inc"); - $pf_version=substr(trim(file_get_contents("/etc/version")),0,3); - if ($pf_version < 2.0) - $one_two = true; - - $pgtitle = "Status: Sarg Reports"; - include("head.inc"); - - ?> - - +$pgtitle = "Status: Sarg Reports"; +include("head.inc"); - -

- +?> + + - + -
- -
- - - - - + +
+
- -
-
- - - - -
-
-
- -
- -
+ + +
+ +
+
+ + +
-
- - - - + +
+ +
+
+
+ + + + -- cgit v1.2.3