From c980716edb28b33e6340f00ab37ab36f5b860950 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 13 Sep 2005 18:34:39 +0000 Subject: Sync with m0n0wall 1.2b10: TODO: * Add back sexy curved tabs, etc * Change image locations to themes * Add back pfSense header information and set page titles --- usr/local/www/services_captiveportal_ip.php | 84 +++++++++++------------------ 1 file changed, 30 insertions(+), 54 deletions(-) (limited to 'usr/local/www/services_captiveportal_ip.php') diff --git a/usr/local/www/services_captiveportal_ip.php b/usr/local/www/services_captiveportal_ip.php index 7ef988b..2266496 100755 --- a/usr/local/www/services_captiveportal_ip.php +++ b/usr/local/www/services_captiveportal_ip.php @@ -1,23 +1,22 @@ #!/usr/local/bin/php All rights reserved. - + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE @@ -30,6 +29,7 @@ POSSIBILITY OF SUCH DAMAGE. */ +$pgtitle = array("Services", "Captive portal"); require("guiconfig.inc"); if (!is_array($config['captiveportal']['allowedip'])) @@ -67,35 +67,26 @@ if ($_GET['act'] == "del") { exit; } } - -$pgtitle = "Services: Captive Portal: Allowed IP's"; -include("head.inc"); - ?> - - -

You must apply the changes in order for them to take effect.");?>
+

-
- +
-
- +
+ @@ -103,37 +94,25 @@ include("head.inc"); - - - + - + - +
IP address Description
- "; - ?> + + "; + ?> - any"; - ?> + any"; + ?> -   + +   - - - - - -
-
+  
  - - - - -
-

@@ -142,25 +121,22 @@ include("head.inc"); Adding allowed IP addresses will allow IP access to/from these addresses through the captive portal without being taken to the portal page. This can be used for a web server serving images for the portal page or a DNS server on another network, for example. By specifying from addresses, it may be used to always allow pass-through access from a client behind the captive portal.

- + - +
any x.x.x.x any x.x.x.x All connections to the IP address are allowed
x.x.x.x any    x.x.x.x any    All connections from the IP address are allowed
 
-
- - -- cgit v1.1