From c0bf78583c54a68b7343d47589e3bafaca5f5036 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Sun, 24 May 2015 12:54:59 +0545 Subject: Code style services igmpproxy --- usr/local/www/services_igmpproxy.php | 175 ++++++++++++++++++++--------------- 1 file changed, 98 insertions(+), 77 deletions(-) (limited to 'usr/local/www/services_igmpproxy.php') diff --git a/usr/local/www/services_igmpproxy.php b/usr/local/www/services_igmpproxy.php index 99c5181..8749b2d 100644 --- a/usr/local/www/services_igmpproxy.php +++ b/usr/local/www/services_igmpproxy.php @@ -2,7 +2,7 @@ /* $Id$ */ /* services_igmpproxy.php - + Copyright (C) 2013-2015 Electric Sheep Fencing, LP Copyright (C) 2009 Ermal Luçi Copyright (C) 2004 Scott Ullrich @@ -34,7 +34,7 @@ POSSIBILITY OF SUCH DAMAGE. */ /* - pfSense_MODULE: dyndns + pfSense_MODULE: igmpproxy */ ##|+PRIV @@ -46,8 +46,9 @@ require("guiconfig.inc"); -if (!is_array($config['igmpproxy']['igmpentry'])) +if (!is_array($config['igmpproxy']['igmpentry'])) { $config['igmpproxy']['igmpentry'] = array(); +} //igmpproxy_sort(); $a_igmpproxy = &$config['igmpproxy']['igmpentry']; @@ -60,10 +61,11 @@ if ($_POST) { /* reload all components that use igmpproxy */ $retval = services_igmpproxy_configure(); - if(stristr($retval, "error") <> true) - $savemsg = get_std_save_message($retval); - else - $savemsg = $retval; + if (stristr($retval, "error") <> true) { + $savemsg = get_std_save_message($retval); + } else { + $savemsg = $retval; + } clear_subsystem_dirty('igmpproxy'); } @@ -78,7 +80,7 @@ if ($_GET['act'] == "del") { } } -$pgtitle = array(gettext("Services"),gettext("IGMP Proxy")); +$pgtitle = array(gettext("Services"), gettext("IGMP Proxy")); include("head.inc"); ?> @@ -92,75 +94,94 @@ include("head.inc"); - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + +
- - - - - -
 " alt="add" />
-
- - - - - - -   - - - - - - -
" alt="edit" />')">" alt="delete" />
-
- - - - - -
 " alt="add" />
-
-
- " /> -
-
-


-
+ + + + + +
  + " alt="add" /> +
+
+ + + + + + +   + + + + + + +
" alt="edit" /> + ')">" alt="delete" /> +
+
+ + + + + +
 " alt="add" />
+
+
+ " /> +
+
+

+ + + +
+
+
+ +
+

+
-- cgit v1.1