summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_hasync.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-02-09 16:22:29 +0545
committerPhil Davis <phil.davis@inf.org>2017-02-09 16:22:29 +0545
commit781d9ce43324b73dfbec26220a440c604a26658d (patch)
treed00d4e1bad8ecc312de9c4b32377c3c030a1b420 /src/usr/local/www/system_hasync.php
parentf0136b178022cf3b04a6c3d577d457cf3bc03418 (diff)
downloadpfsense-781d9ce43324b73dfbec26220a440c604a26658d.zip
pfsense-781d9ce43324b73dfbec26220a440c604a26658d.tar.gz
setHelp and gettext for system*
Diffstat (limited to 'src/usr/local/www/system_hasync.php')
-rw-r--r--src/usr/local/www/system_hasync.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/usr/local/www/system_hasync.php b/src/usr/local/www/system_hasync.php
index cc80028..70293f0 100644
--- a/src/usr/local/www/system_hasync.php
+++ b/src/usr/local/www/system_hasync.php
@@ -125,19 +125,19 @@ $section->addInput(new Form_Checkbox(
($pconfig['pfsyncenabled'] === 'on'),
'on'
))->setHelp('Each firewall sends these messages out via multicast on a specified interface, using the PFSYNC protocol (IP Protocol 240).' .
- ' It also listens on that interface for similar messages from other firewalls, and imports them into the local state table.<br />' .
- 'This setting should be enabled on all members of a failover group.<br />' .
- 'Clicking "Save" will force a configuration sync if it is enabled! (see Configuration Synchronization Settings below)');
+ ' It also listens on that interface for similar messages from other firewalls, and imports them into the local state table.%1$s' .
+ 'This setting should be enabled on all members of a failover group.%1$s' .
+ 'Clicking "Save" will force a configuration sync if it is enabled! (see Configuration Synchronization Settings below)', '<br />');
$section->addInput(new Form_Select(
'pfsyncinterface',
'Synchronize Interface',
$pconfig['pfsyncinterface'],
$iflist
-))->setHelp('If Synchronize States is enabled this interface will be used for communication.<br />' .
- 'It is recommended to set this to an interface other than LAN! A dedicated interface works the best.<br />' .
- 'An IP must be defined on each machine participating in this failover group.<br />' .
- 'An IP must be assigned to the interface on any participating sync nodes.');
+))->setHelp('If Synchronize States is enabled this interface will be used for communication.%1$s' .
+ 'It is recommended to set this to an interface other than LAN! A dedicated interface works the best.%1$s' .
+ 'An IP must be defined on each machine participating in this failover group.%1$s' .
+ 'An IP must be assigned to the interface on any participating sync nodes.', '<br />');
$section->addInput(new Form_Input(
'pfsyncpeerip',
@@ -157,25 +157,25 @@ $section->addInput(new Form_Input(
'text',
$pconfig['synchronizetoip'],
['placeholder' => 'IP Address']
-))->setHelp('Enter the IP address of the firewall to which the selected configuration sections should be synchronized.<br /><br />' .
- 'XMLRPC sync is currently only supported over connections using the same protocol and port as this system - make sure the remote system\'s port and protocol are set accordingly!<br />' .
- 'Do not use the Synchronize Config to IP and password option on backup cluster members!');
+))->setHelp('Enter the IP address of the firewall to which the selected configuration sections should be synchronized.%1$s%1$s' .
+ 'XMLRPC sync is currently only supported over connections using the same protocol and port as this system - make sure the remote system\'s port and protocol are set accordingly!%1$s' .
+ 'Do not use the Synchronize Config to IP and password option on backup cluster members!', '<br />');
$section->addInput(new Form_Input(
'username',
'Remote System Username',
'text',
$pconfig['username']
-))->setHelp('Enter the webConfigurator username of the system entered above for synchronizing the configuration.<br />' .
- 'Do not use the Synchronize Config to IP and username option on backup cluster members!');
+))->setHelp('Enter the webConfigurator username of the system entered above for synchronizing the configuration.%1$s' .
+ 'Do not use the Synchronize Config to IP and username option on backup cluster members!', '<br />');
$section->addPassword(new Form_Input(
'passwordfld',
'Remote System Password',
'password',
$pconfig['passwordfld']
-))->setHelp('Enter the webConfigurator password of the system entered above for synchronizing the configuration.<br />' .
- 'Do not use the Synchronize Config to IP and password option on backup cluster members!');
+))->setHelp('Enter the webConfigurator password of the system entered above for synchronizing the configuration.%1$s' .
+ 'Do not use the Synchronize Config to IP and password option on backup cluster members!', '<br />');
$group = new Form_MultiCheckboxGroup('Select options to sync');
OpenPOWER on IntegriCloud