From 702fa4d0ce035a444112e23f4e4d1a4c686d8163 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 1 Feb 2017 16:43:51 +0545 Subject: Code with multiple %s in usr/local/www --- src/usr/local/www/services_dnsmasq.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/usr/local/www/services_dnsmasq.php') diff --git a/src/usr/local/www/services_dnsmasq.php b/src/usr/local/www/services_dnsmasq.php index 7221408..f0002f5 100644 --- a/src/usr/local/www/services_dnsmasq.php +++ b/src/usr/local/www/services_dnsmasq.php @@ -255,11 +255,11 @@ $section->addInput(new Form_Checkbox( 'DHCP Registration', 'Register DHCP leases in DNS forwarder', $pconfig['regdhcp'] -))->setHelp(sprintf("If this option is set, then machines that specify". - " their hostname when requesting a DHCP lease will be registered". - " in the DNS forwarder, so that their name can be resolved.". - " The domain in %sSystem: General Setup%s should also". - " be set to the proper value.",'','')) +))->setHelp(sprintf('If this option is set, then machines that specify'. + ' their hostname when requesting a DHCP lease will be registered'. + ' in the DNS forwarder, so that their name can be resolved.'. + ' The domain in %1$sSystem: General Setup%2$s should also'. + ' be set to the proper value.','','')) ->addClass('toggle-dhcp'); $section->addInput(new Form_Checkbox( @@ -267,10 +267,10 @@ $section->addInput(new Form_Checkbox( 'Static DHCP', 'Register DHCP static mappings in DNS forwarder', $pconfig['regdhcpstatic'] -))->setHelp(sprintf("If this option is set, then DHCP static mappings will ". - "be registered in the DNS forwarder, so that their name can be ". - "resolved. The domain in %sSystem: General Setup%s should also ". - "be set to the proper value.",'','')) +))->setHelp(sprintf('If this option is set, then DHCP static mappings will '. + 'be registered in the DNS forwarder, so that their name can be '. + 'resolved. The domain in %1$sSystem: General Setup%2$s should also '. + 'be set to the proper value.','','')) ->addClass('toggle-dhcp'); $section->addInput(new Form_Checkbox( -- cgit v1.1