From 886f1f697733793b8cd2fee9783d6e2713dfbd1e Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 22 Nov 2008 23:04:34 +0000 Subject: Mist formatting. Eliminate unneeded { and }. Format javascript. Use / instead of CVS: ---------------------------------------------------------------------- --- usr/local/www/interfaces.php | 102 ++++++++++++++++++++----------------------- 1 file changed, 47 insertions(+), 55 deletions(-) (limited to 'usr/local/www/interfaces.php') diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 6af849c..07bee03 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -325,11 +325,9 @@ if ($_POST) { $input_errors[] = "A valid alias subnet bit count must be specified."; if ($_POST['gateway'] != "none") { $match = false; - foreach($a_gateways as $gateway) { - if(in_array($_POST['gateway'], $gateway)) { + foreach($a_gateways as $gateway) + if(in_array($_POST['gateway'], $gateway)) $match = true; - } - } if(!$match) $input_errors[] = "A valid gateway must be specified."; } @@ -676,69 +674,63 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe" ?> - + + - + - - -
- -

-You must apply the changes in order for them to take effect.

Don't forget to adjust the DHCP Server range if needed before applying."));?>
- - + + + + +

+ You must apply the changes in order for them to take effect.

Don't forget to adjust the DHCP Server range if needed before applying."));?>
+ + -- cgit v1.1
General configuration