From 180db1862788c9614f90d6d19bdf0bc7ba04ce94 Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Fri, 4 Apr 2014 17:25:41 +0100 Subject: Tidy up "services_dhcp" XHTML Update alert message Add "closehead" variable and manually close HEAD Add CDATA sections to scripts Add summart to tables Update HTML Boolean operators Close INPUT Add missing closing P tag Remove empty TFOOT Add missing opening TR tag, closing TD tag and closing P tag Remove duplicate closing TR --- usr/local/www/services_dhcp.php | 185 +++++++++++++++++++++------------------- 1 file changed, 96 insertions(+), 89 deletions(-) (limited to 'usr/local/www/services_dhcp.php') diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index c2b340c..0a6f7db 100644 --- 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(); @@ -570,6 +570,7 @@ if ($act == "del") { } } +$closehead = false; $pgtitle = array(gettext("Services"),gettext("DHCP server")); $shortcut_section = "dhcp"; @@ -581,15 +582,16 @@ include("head.inc"); + @@ -703,10 +709,10 @@ include("head.inc"); exit; } ?> -

+
" . gettext("You must apply the changes in order for them to take effect."));?>
- +
- +
@@ -756,7 +762,7 @@ include("head.inc"); @@ -764,7 +770,7 @@ include("head.inc"); @@ -816,7 +822,7 @@ include("head.inc"); for ($i = 32; $i > 0; $i--) { if($i <> 31) { echo ""; } } @@ -828,8 +834,8 @@ include("head.inc"); @@ -837,16 +843,16 @@ include("head.inc");
  - onClick="enable_change(false)"> + onclick="enable_change(false)" />
  - > + />
- +
- -    + +   
- +
@@ -855,20 +861,20 @@ include("head.inc"); - - - -
- +
- +
plus
+ +   +   - + @@ -879,10 +885,10 @@ include("head.inc"); @@ -894,43 +900,43 @@ include("head.inc"); @@ -960,10 +966,10 @@ include("head.inc");
+ - - + +
')">edit')">delete
- +
- +
add
-
- +
+
-
-
+
+
-
+
-
+
-
+
- +

@@ -940,7 +946,7 @@ include("head.inc");
- +

@@ -951,7 +957,7 @@ include("head.inc");
-
+
20).");?>
- +
@@ -981,10 +987,10 @@ include("head.inc");
- >  + /> 
- +
@@ -1029,12 +1035,12 @@ include("head.inc"); @@ -1043,11 +1049,11 @@ include("head.inc"); @@ -1055,10 +1061,10 @@ include("head.inc"); @@ -1067,10 +1073,10 @@ include("head.inc"); @@ -1079,26 +1085,27 @@ include("head.inc"); @@ -1107,15 +1114,15 @@ include("head.inc"); @@ -1204,7 +1211,7 @@ include("head.inc");
- > + /> @@ -1007,20 +1013,20 @@ include("head.inc");
- " /> - + " /> -
- " /> - + " /> -
- " /> - + " /> -
- " /> - + " /> -
- " /> - + " /> -
- " /> - + " /> -
- " /> - + " /> -
@@ -1180,13 +1187,13 @@ include("head.inc");
  - + - + - - " onclick="enable_change(true)"> + + " onclick="enable_change(true)" />
- +
@@ -1216,10 +1223,10 @@ include("head.inc"); @@ -1228,28 +1235,28 @@ include("head.inc"); "" or $mapent['ipaddr'] <> ""): ?> - - - - - -
  - +
- +
add
+ - ARP Table Static Entry + ARP Table Static Entry + +   +   +   - + @@ -1260,10 +1267,10 @@ include("head.inc"); @@ -1276,9 +1283,9 @@ include("head.inc");
+ - - + +
')">edit')">delete
- +
- +
add
-- cgit v1.1