Project

General

Profile

« Previous | Next » 

Revision c7471240

Added by Stilez y over 8 years ago

replace setHelp() on section with staticText() and textual change requested

View differences:

src/usr/local/www/services_unbound_host_edit.php
225 225
	));
226 226
}
227 227

  
228
$section->setHelp("This page is used to override the usual lookup process for a specific host. A host is defined by its name" .
229
	"and parent domain (e.g., 'somesite.google.com' is entered as host='somesite' and parent domain='google.com'). Any " .
230
	"attempt to lookup that host will automatically return the given IP, and any usual external lookup server for the domain " .
231
	"will not be queried. Both the name and parent domain can contain 'non-standard', 'invalid' and 'local' domains " .
232
	"such as 'test', 'mycompany.localdomain', or '1.168.192.in-addr.arpa', as well as usual publicly resolvable names such as 'www' or 'google.co.uk'.");
228
$section->addInput(new Form_StaticText(
229
	'',
230
	'<span class="help-block">' .
231
	gettext("This page is used to override the usual lookup process for a specific host. A host is defined by its name" .
232
		"and parent domain (e.g., 'somesite.google.com' is entered as host='somesite' and parent domain='google.com'). Any " .
233
		"attempt to lookup that host will automatically return the given IP address, and any usual external lookup server for " .
234
		"the domain will not be queried. Both the name and parent domain can contain 'non-standard', 'invalid' and 'local' " .
235
		"domains such as 'test', 'mycompany.localdomain', or '1.168.192.in-addr.arpa', as well as usual publicly resolvable names ".
236
		"such as 'www' or 'google.co.uk'.") .
237
	'</span>'
238
));
233 239

  
234 240
$form->add($section);
235 241

  
......
287 293
	'fa-plus'
288 294
))->removeClass('btn-primary')->addClass('btn-success addbtn');
289 295

  
290
$section->setHelp("If the host can be accessed using multiple names, then enter any other names for the host which should also be overridden.");
296
$section->addInput(new Form_StaticText(
297
	'',
298
	'<span class="help-block">'.
299
	gettext("If the host can be accessed using multiple names, then enter any other names for the host which should also be overridden.") .
300
	'</span>'
301
));
291 302

  
292 303
$form->add($section);
293 304
print($form);

Also available in: Unified diff