From 7fdfda93d1051637f2964e593949dcf9ea0bc86a Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sun, 6 Sep 2015 22:38:20 +0200 Subject: sarg - code style cleanup and fixes sarg_about.php sarg_realtime.php - Code style and indentation fixes - Nuke useless pfSense 1.2.x cruft - XHTML fixes --- config/sarg/sarg_about.php | 106 ++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 59 deletions(-) (limited to 'config/sarg') diff --git a/config/sarg/sarg_about.php b/config/sarg/sarg_about.php index fba456b2..11289bfe 100755 --- a/config/sarg/sarg_about.php +++ b/config/sarg/sarg_about.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,77 +27,64 @@ 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 = "About: Sarg Package"; include("head.inc"); ?> - - -

- + -
- - + +
+ + - - - - - - -
-
-
- - - - - - - - - - - - - - - - - - - -
Squid Analysis Report Generator

");?> -
Marcello Coutinho

");?>
donate to pfSense project.

- If you want that your donation goes to this package developer, make a note on donation forwarding it to me.

");?>
- -
-
-
-
+ $tab_array = array(); + $tab_array[] = array(gettext("General"), false, "/pkg_edit.php?xml=sarg.xml&id=0"); + $tab_array[] = array(gettext("Users"), false, "/pkg_edit.php?xml=sarg_users.xml&id=0"); + $tab_array[] = array(gettext("Schedule"), false, "/pkg.php?xml=sarg_schedule.xml"); + $tab_array[] = array(gettext("View Report"), false, "/sarg_reports.php"); + $tab_array[] = array(gettext("Realtime"), false, "/sarg_realtime.php"); + $tab_array[] = array(gettext("XMLRPC Sync"), false, "/pkg_edit.php?xml=sarg_sync.xml&id=0"); + $tab_array[] = array(gettext("Help"), true, "/sarg_about.php"); + display_top_tabs($tab_array); + ?> +
+
+ + + + + + + + + + + + + + + + + + + + +
Squid Analysis Report Generator

");?>
Marcello Coutinho

");?>
+ donate to pfSense project.

+ If you want that your donation goes to this package developer, make a note on donation forwarding it to me.

");?> +
+
+
+
+
-- cgit v1.2.3