Clarify source port warning when editing a firewall rule.

This commit is contained in:
jim-p 2016-10-13 10:42:42 -04:00
parent d02ee1387f
commit 7ea6dabecb

View File

@ -1329,9 +1329,9 @@ foreach (['src' => 'Source', 'dst' => 'Destination'] as $type => $name) {
null,
'fa-cog'
))->setAttribute('type','button')->addClass('btn-info btn-sm')->setHelp(
'The source port (or port range) is usually random and almost never equal '.
'to the destination port range. It is not usually required, and should usually '.
'be left at its default value, <b>any</b>).');
'The <b>Source Port Range</b> for a connection is typically random '.
'and almost never equal to the destination port. '.
'In most cases this setting must remain at its default value, <b>any</b>.');
}
$portValues = ['' => gettext('(other)'), 'any' => gettext('any')];
@ -1339,7 +1339,7 @@ foreach (['src' => 'Source', 'dst' => 'Destination'] as $type => $name) {
$portValues[$port] = $portName.' ('. $port .')';
}
$group = new Form_Group($name .' port range');
$group = new Form_Group($name .' Port Range');
$group->addClass($type . 'portrange');