Project

General

Profile

« Previous | Next » 

Revision 573ec19d

Added by Renato Botelho over 4 years ago

Add product_label global variable

Introduce product_label global variable, by default with same value of
product_name. The idea is to make it easier for rebranded products to
change the name on all visual texts while internal structures are
preserved.

While here, remove deprecated $g['platform'] and also replace places
with pfSense hardcoded on text messages by $g['product_label'].

No functional changes are expected.

View differences:

src/usr/local/www/services_dnsmasq.php
295 295
	$pconfig['strict_order']
296 296
))->setHelp('If this option is set %1$s DNS Forwarder (dnsmasq) will '.
297 297
					'query the DNS servers sequentially in the order specified (%2$sSystem - General Setup - DNS Servers%3$s), '.
298
					'rather than all at once in parallel. ', $g['product_name'], '<i>', '</i>');
298
					'rather than all at once in parallel. ', $g['product_label'], '<i>', '</i>');
299 299

  
300 300
$group->add(new Form_Checkbox(
301 301
	'domain_needed',
......
304 304
	$pconfig['domain_needed']
305 305
))->setHelp("If this option is set %s DNS Forwarder (dnsmasq) will ".
306 306
					"not forward A or AAAA queries for plain names, without dots or domain parts, to upstream name servers.	 ".
307
					"If the name is not known from /etc/hosts or DHCP then a \"not found\" answer is returned. ", $g['product_name']);
307
					"If the name is not known from /etc/hosts or DHCP then a \"not found\" answer is returned. ", $g['product_label']);
308 308

  
309 309
$group->add(new Form_Checkbox(
310 310
	'no_private_reverse',
......
314 314
))->setHelp("If this option is set %s DNS Forwarder (dnsmasq) will ".
315 315
					"not forward reverse DNS lookups (PTR) for private addresses (RFC 1918) to upstream name servers.  ".
316 316
					"Any entries in the Domain Overrides section forwarding private \"n.n.n.in-addr.arpa\" names to a specific server are still forwarded. ".
317
					"If the IP to name is not known from /etc/hosts, DHCP or a specific domain override then a \"not found\" answer is immediately returned. ", $g['product_name']);
317
					"If the IP to name is not known from /etc/hosts, DHCP or a specific domain override then a \"not found\" answer is immediately returned. ", $g['product_label']);
318 318

  
319 319
$section->add($group);
320 320

  

Also available in: Unified diff