From 91290030ddb597228b3b0a3168b81967f5f0a21e Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Thu, 3 Apr 2014 15:38:14 +0100 Subject: Tidy up "services_captiveportal_ip.php" XHTML Swap BODY with php statement Add SUMMARY to tables Close IMG and add ALT Deprecate ampersand Move NOWARP to class Close INPUT --- usr/local/www/services_captiveportal_ip.php | 36 ++++++++++++------------ usr/local/www/services_captiveportal_ip_edit.php | 20 ++++++------- 2 files changed, 28 insertions(+), 28 deletions(-) (limited to 'usr/local') diff --git a/usr/local/www/services_captiveportal_ip.php b/usr/local/www/services_captiveportal_ip.php index d628b85..7629450 100644 --- a/usr/local/www/services_captiveportal_ip.php +++ b/usr/local/www/services_captiveportal_ip.php @@ -90,12 +90,12 @@ if ($_GET['act'] == "del") { include("head.inc"); ?> - +
- +
@@ -194,4 +194,4 @@ include("head.inc"); - + \ No newline at end of file diff --git a/usr/local/www/services_captiveportal_ip_edit.php b/usr/local/www/services_captiveportal_ip_edit.php index 7cea8d4..99325f0 100644 --- a/usr/local/www/services_captiveportal_ip_edit.php +++ b/usr/local/www/services_captiveportal_ip_edit.php @@ -177,21 +177,21 @@ if ($_POST) { include("head.inc"); ?> - + -
- +
- + - + @@ -168,20 +168,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['ip']); if($ip['sn'] != "32" && is_numeric($ip['sn'])) { @@ -140,7 +140,7 @@ include("head.inc"); echo "/$sn"; } if($ip['dir'] == "from") { - echo " any"; + echo "\"any\" any"; } ?> @@ -148,17 +148,17 @@ include("head.inc");   " width="17" height="17" border="0"> -  ')">" width="17" height="17" border="0">" width="17" height="17" border="0" alt="edit" /> +  ')">" 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 IP address are allowed
+
-- cgit v1.1
- + /
@@ -201,31 +201,31 @@ include("head.inc");
- +
.
- +
- +
  - "> - + " /> + - +