From bf27317d17713bdcb1e78aa4dbc3a5d4e036ed37 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 5 Nov 2015 21:21:10 +0545 Subject: [PATCH] service_dhcp.php NTP and TFTP server fields and I used capitals for DHCP Server. At the moment there is a mix of capitalisation of this sort of stuff - e.g. there is "DNS forwarder" in various places and "DNS Resolver" and... IMHO these can all be made consistent to have capitals on all the "big" words. --- src/usr/local/www/services_dhcp.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/usr/local/www/services_dhcp.php b/src/usr/local/www/services_dhcp.php index cb6af17d48..b92514902d 100644 --- a/src/usr/local/www/services_dhcp.php +++ b/src/usr/local/www/services_dhcp.php @@ -692,7 +692,7 @@ function build_pooltable() { } $closehead = false; -$pgtitle = array(gettext("Services"), gettext("DHCP server")); +$pgtitle = array(gettext("Services"), gettext("DHCP Server")); $shortcut_section = "dhcp"; include("head.inc"); @@ -1047,15 +1047,15 @@ $section->addInput(new Form_StaticText( $section->addInput(new Form_IpAddress( 'ntp1', - 'Allow', + null, $pconfig['ntp1'] -)); +))->setAttribute('placeholder', 'NTP Server 1'); $section->addInput(new Form_IpAddress( 'ntp2', - 'Deny', + null, $pconfig['ntp2'] -)); +))->setAttribute('placeholder', 'NTP Server 2'); // Advanced TFTP $btnadv = new Form_Button( @@ -1072,7 +1072,7 @@ $section->addInput(new Form_StaticText( $section->addInput(new Form_IpAddress( 'tftp', - 'Allow', + null, $pconfig['tftp'] ))->setHelp('Leave blank to disable. Enter a full hostname or IP for the TFTP server')->setPattern('[.a-zA-Z0-9_]+');