From d2aa08c22cf8aef583b391862cc8309bbfc9ff24 Mon Sep 17 00:00:00 2001 From: N0YB Date: Sun, 9 Mar 2014 16:43:22 -0700 Subject: XHTML Compliance Services - DHCP Server --- usr/local/www/guiconfig.inc | 2 +- usr/local/www/services_dhcp.php | 162 ++++++++++++++++++----------------- usr/local/www/services_dhcp_edit.php | 84 +++++++++--------- 3 files changed, 126 insertions(+), 122 deletions(-) (limited to 'usr') diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index a17c514..24018c5 100755 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -349,7 +349,7 @@ function print_info_box_np($msg, $name="apply",$value="", $showapply=false) {    exclamation - {$msg} + {$msg} {$savebutton} diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index 3b136c9..a76c9c7 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -109,7 +109,7 @@ if($config['installedpackages']['olsrd']) { } if (!$_GET['if']) - $savemsg = "" . gettext("The DHCP Server can only be enabled on interfaces configured with static IP addresses") . ".

" . gettext("Only interfaces configured with a static IP will be shown") . ".

"; + $savemsg = "" . gettext("The DHCP Server can only be enabled on interfaces configured with static IP addresses") . ".

" . gettext("Only interfaces configured with a static IP will be shown") . ".

"; $iflist = get_configured_interface_with_descr(); @@ -562,10 +562,13 @@ include("head.inc"); ?> + + -
@@ -683,8 +686,8 @@ include("head.inc"); exit; } ?> -

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

+" . gettext("You must apply the changes in order for them to take effect."));?>
@@ -736,15 +739,15 @@ include("head.inc"); @@ -796,7 +799,7 @@ include("head.inc"); for ($i = 32; $i > 0; $i--) { if($i <> 31) { echo ""; } } @@ -808,8 +811,8 @@ include("head.inc"); @@ -826,7 +829,7 @@ include("head.inc");
@@ -723,7 +726,7 @@ include("head.inc");
  - onClick="enable_change(false)"> + onclick="enable_change(false)"/>
  - > -
+ /> +
- +
- -    + +   
- +
@@ -844,11 +847,11 @@ include("head.inc");   - + - - + +
')">')">
@@ -862,7 +865,7 @@ include("head.inc"); - +
@@ -874,56 +877,56 @@ include("head.inc"); -
- +
+ -
-
+
+
-
+
-
+
-
+
- -
+ +

+ "expiration time."); ?>
- -
+ +

+ " for a specific expiration time."); ?>
@@ -931,8 +934,8 @@ include("head.inc"); -
- 20).");?> +
+ 20).");?> @@ -943,7 +946,7 @@ include("head.inc"); @@ -964,7 +967,7 @@ include("head.inc");
- >  + /> 
@@ -1017,11 +1020,11 @@ include("head.inc"); @@ -1029,10 +1032,10 @@ include("head.inc"); @@ -1041,10 +1044,10 @@ include("head.inc"); @@ -1053,20 +1056,20 @@ include("head.inc"); @@ -1076,10 +1079,13 @@ include("head.inc"); - @@ -1188,7 +1192,7 @@ include("head.inc");
- > + /> @@ -987,13 +990,13 @@ include("head.inc");
- "> - + "> -
@@ -1003,12 +1006,12 @@ include("head.inc");
- "> - + "> -
- "> - + "> -
- "> - + "> -
- "> - + "> -
- "> - + "> -
- "> - + "> -
  - + - + - - " onclick="enable_change(true)"> + + " onclick="enable_change(true)"/>
 


+


,

-
+ "be assigned to clients by the DHCP server."); ?>
+

+ "DHCP leases"); ?>

- +
@@ -1197,28 +1201,28 @@ include("head.inc"); "" or $mapent['ipaddr'] <> ""): ?> - + - ARP Table Static Entry + ARP Table Static Entry - + - +   - +   - +   - + - - + +
')">')">
@@ -1232,7 +1236,7 @@ include("head.inc"); - +
@@ -1244,7 +1248,7 @@ include("head.inc");

- -
@@ -336,22 +337,22 @@ include("head.inc"); - + - -
+ +
- -
+ +

@@ -360,90 +361,90 @@ include("head.inc"); - -
+ +
Netboot Filename - -
Name of the file that should be loaded when this host boots off of the network, overrides setting on main page. + +
Name of the file that should be loaded when this host boots off of the network, overrides setting on main page. Root Path - -
-, overrides setting on main page. + +
-, overrides setting on main page. - -
"/> +
- > -
/> +
-
- +
+ -
-
+
+
-
+
-
+
-
+
- -
+ +

+ "expiration time."); ?>
- -
+ +

+ " for a specific expiration time."); ?>
@@ -451,13 +452,13 @@ include("head.inc");
- "> - + "> -
@@ -467,11 +468,11 @@ include("head.inc");
- "> - + "> -
@@ -479,23 +480,22 @@ include("head.inc");
- "> - + "> -
-   - "> " onclick="history.back()"> + "/> " onclick="history.back()"/> - + - + -- cgit v1.1