From 48abdd0e9ac699148cc9acddb8db62f3f05dd846 Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Thu, 3 Apr 2014 15:47:28 +0100 Subject: Tidy up "services_captiveportal_hostname" XHTML Swap BODY with php statement Add SUMMARY to tables Close IMG and add ALT Deprecate ampersand Update HTML Boolean operators Close INPUT --- usr/local/www/services_captiveportal_hostname.php | 34 +++++++++++----------- .../www/services_captiveportal_hostname_edit.php | 20 ++++++------- 2 files changed, 27 insertions(+), 27 deletions(-) (limited to 'usr/local') diff --git a/usr/local/www/services_captiveportal_hostname.php b/usr/local/www/services_captiveportal_hostname.php index 73336ed..7da63d6 100644 --- a/usr/local/www/services_captiveportal_hostname.php +++ b/usr/local/www/services_captiveportal_hostname.php @@ -95,12 +95,12 @@ if ($_GET['act'] == "del" && !empty($cpzone)) { include("head.inc"); ?> - +
- +
diff --git a/usr/local/www/services_captiveportal_hostname_edit.php b/usr/local/www/services_captiveportal_hostname_edit.php index 11d329a..4af2c14 100644 --- a/usr/local/www/services_captiveportal_hostname_edit.php +++ b/usr/local/www/services_captiveportal_hostname_edit.php @@ -153,11 +153,11 @@ if ($_POST) { include("head.inc"); ?> - + -
- +
- + - + @@ -169,20 +169,20 @@ include("head.inc");
from addresses, it may be used to always allow pass-through access from a client behind the captive portal."); ?>

-
- +
- +
" width="17" height="17" border="0">" width="17" height="17" border="0" alt="add" />
"; + echo "any \"in\" "; } if($ip['dir'] == "both") { - echo " "; + echo "\"pass\" "; } echo strtolower($ip['hostname']); if($ip['dir'] == "from") { - echo " any"; + echo "\"in\" any"; } ?> @@ -149,17 +149,17 @@ include("head.inc");   " width="17" height="17" border="0"> -  ')">" width="17" height="17" border="0"> " width="17" height="17" border="0" alt="add" /> +  ')">" width="17" height="17" border="0" alt="delete" />
  - +
- +
" width="17" height="17" border="0">" width="17" height="17" border="0" alt="add" />
+
- + - + - +
x.x.x.x in x.x.x.x
x.x.x.x     x.x.x.x in    
     pass     All connections to and from the Hostname are allowed
+
-- cgit v1.1
@@ -165,7 +165,7 @@ include("head.inc"); - @@ -177,35 +177,35 @@ include("head.inc");
- +
.
- +
.
- +
- +
  - "> - + " /> + - +