From 781d9ce43324b73dfbec26220a440c604a26658d Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 9 Feb 2017 16:22:29 +0545 Subject: setHelp and gettext for system* --- src/usr/local/www/system_hasync.php | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/usr/local/www/system_hasync.php') 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.
' . - 'This setting should be enabled on all members of a failover group.
' . - '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)', '
'); $section->addInput(new Form_Select( 'pfsyncinterface', 'Synchronize Interface', $pconfig['pfsyncinterface'], $iflist -))->setHelp('If Synchronize States is enabled this interface will be used for communication.
' . - 'It is recommended to set this to an interface other than LAN! A dedicated interface works the best.
' . - 'An IP must be defined on each machine participating in this failover group.
' . - '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.', '
'); $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.

' . - '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!
' . - '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!', '
'); $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.
' . - '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!', '
'); $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.
' . - '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!', '
'); $group = new Form_MultiCheckboxGroup('Select options to sync'); -- cgit v1.1