diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-11-14 08:19:43 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-14 08:19:43 -0500 |
commit | 86c772239b30e11241d11e7804da765e99ccba0b (patch) | |
tree | d0c1433482b0e4758ba0a5c16f1de067e633bceb /src/usr/local/www | |
parent | c862d3b3887705a8abbdc758847e289a97369fc4 (diff) | |
download | pfsense-86c772239b30e11241d11e7804da765e99ccba0b.zip pfsense-86c772239b30e11241d11e7804da765e99ccba0b.tar.gz |
Fixed #5443
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/pkg_edit.php | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php index 5da492b..0e9a2dc 100644 --- a/src/usr/local/www/pkg_edit.php +++ b/src/usr/local/www/pkg_edit.php @@ -938,32 +938,28 @@ foreach ($pkg['fields']['field'] as $pkga) { $group->add(new Form_Checkbox( $pkga['fieldname'], $pkga['fielddescr'], - 'Show log entries in reverse order (newest entries on top)', + fixup_string($pkga['description']), ($value == "on"), 'on' - ))->setHelp(fixup_string($pkga['description'])) - ->setOnclick($onclick) + ))->setOnclick($onclick) ->setOnchange($onchange); } else { if (isset($pkga['advancedfield']) && isset($advfield_count)) { $advanced->addInput(new Form_Checkbox( $pkga['fieldname'], - $pkga['fielddescr'], - 'Show log entries in reverse order (newest entries on top)', + fixup_string($pkga['description']), ($value == "on"), 'on' - ))->setHelp(fixup_string($pkga['description'])) - ->setOnclick($onclick) + ))->setOnclick($onclick) ->setOnchange($onchange); } else { $section->addInput(new Form_Checkbox( $pkga['fieldname'], $pkga['fielddescr'], - 'Show log entries in reverse order (newest entries on top)', + fixup_string($pkga['description']), ($value == "on"), 'on' - ))->setHelp(fixup_string($pkga['description'])) - ->setOnclick($onclick) + ))->setOnclick($onclick) ->setOnchange($onchange); } } @@ -1193,27 +1189,27 @@ foreach ($pkg['fields']['field'] as $pkga) { $group->add(new Form_Checkbox( $pkga['fieldname'], $pkga['fielddescr'], - 'Show log entries in reverse order (newest entries on top)', + fixup_string($pkga['description']), ($value == "on"), 'on' - ))->setHelp(fixup_string($pkga['description']))->displayAsRadio(); + ))->displayAsRadio(); } else { if (isset($pkga['advancedfield']) && isset($advfield_count)) { $advanced->addInput(new Form_Checkbox( $pkga['fieldname'], $pkga['fielddescr'], - 'Show log entries in reverse order (newest entries on top)', + fixup_string($pkga['description']), ($value == "on"), 'on' - ))->setHelp(fixup_string($pkga['description']))->displayAsRadio(); + ))->displayAsRadio(); } else { $section->addInput(new Form_Checkbox( $pkga['fieldname'], $pkga['fielddescr'], - 'Show log entries in reverse order (newest entries on top)', + fixup_string($pkga['description']), ($value == "on"), 'on' - ))->setHelp(fixup_string($pkga['description']))->displayAsRadio(); + ))->displayAsRadio(); } } |