diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index c2b340ca9f..0a6f7dba9d 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."));?>
-
-
-
+
+
=gettext("NOTE: leave blank to use the system default DNS servers - this interface's IP if DNS forwarder is enabled, otherwise the servers configured on the General page.");?>
=gettext("Gateway");?>
-
+
=gettext("The default is to use the IP on this interface of the firewall as the gateway. Specify an alternate gateway here if this is not the correct gateway for your network. Type \"none\" for no gateway assignment.");?>
=gettext("Domain name");?>
-
+
=gettext("The default is to use the domain name of this system as the default domain name provided by DHCP. You may specify an alternate domain name here.");?>
=gettext("Domain search list");?>
-
+
=gettext("The DHCP server can optionally provide a domain search list. Use the semicolon character as separator ");?>
=gettext("Default lease time");?>
-
+
=gettext("seconds");?>
=gettext("This is used for clients that do not ask for a specific " .
"expiration time."); ?>
@@ -940,7 +946,7 @@ include("head.inc");
=gettext("Maximum lease time");?>
-
+
=gettext("seconds");?>
=gettext("This is the maximum lease time for clients that ask".
" for a specific expiration time."); ?>
@@ -951,7 +957,7 @@ include("head.inc");
=gettext("Failover peer IP:");?>
-
+
=gettext("Leave blank to disable. Enter the interface IP address of the other machine. Machines must be using CARP. Interface's advskew determines whether the DHCPd process is Primary or Secondary. Ensure one machine's advskew<20 (and the other is >20).");?>
- >
+ />
=gettext("Enable registration of DHCP client names in DNS.");?>
-
+
=gettext("Note: Leave blank to disable dynamic DNS registration.");?>
=gettext("Enter the dynamic DNS domain which will be used to register client names in the DNS server.");?>
-
+
=gettext("Enter the primary domain name server IP address for the dynamic domain name.");?>
-
+
=gettext("Enter the dynamic DNS domain key name which will be used to register client names in the DNS server.");?>
-
+
=gettext("Enter the dynamic DNS domain key secret which will be used to register client names in the DNS server.");?>
@@ -1029,12 +1035,12 @@ include("head.inc");
=gettext("MAC Address Control");?>
- " /> - =gettext("Show MAC Address Control");?>
+ " /> - =gettext("Show MAC Address Control");?>
-
+
=gettext("Enter a list of partial MAC addresses to allow, comma separated, no spaces, such as ");?>00:00:00,01:E5:FF
-
+
=gettext("Enter a list of partial MAC addresses to deny access, comma separated, no spaces, such as ");?>00:00:00,01:E5:FF
=gettext("Enter the IP of the"); ?> =gettext("next-server"); ?>
-
+
=gettext("and the default bios filename");?>
-
+
=gettext("and the UEFI 32bit filename ");?>
-
+
=gettext("and the UEFI 64bit filename ");?>
-
+
=gettext("Note: You need both a filename and a boot server configured for this to work!");?>
=gettext("You will need all three filenames and a boot server configured for UEFI to work!");?>
- =gettext("Enter the DHCP option number and the value for each item you would like to include in the DHCP lease information. For a list of available options please visit this"); ?> =gettext("URL"); ?>
+ =gettext("Enter the DHCP option number and the value for each item you would like to include in the DHCP lease information. For a list of available options please visit this"); ?> =gettext("URL"); ?>