diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/pkg_edit.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php index 17dff6e..8f10a18 100644 --- a/src/usr/local/www/pkg_edit.php +++ b/src/usr/local/www/pkg_edit.php @@ -948,7 +948,8 @@ foreach ($pkg['fields']['field'] as $pkga) { ($value == "on"), 'on' ))->setOnclick($onclick) - ->setOnchange($onchange); + ->setOnchange($onchange) + ->setHelp($pkga['sethelp']; } else { if (isset($pkga['advancedfield']) && isset($advfield_count)) { $advanced->addInput(new Form_Checkbox( @@ -958,7 +959,8 @@ foreach ($pkg['fields']['field'] as $pkga) { ($value == "on"), 'on' ))->setOnclick($onclick) - ->setOnchange($onchange); + ->setOnchange($onchange) + ->setHelp($pkga['sethelp']; } else { $section->addInput(new Form_Checkbox( $pkga['fieldname'], @@ -968,7 +970,7 @@ foreach ($pkg['fields']['field'] as $pkga) { 'on' ))->setOnclick($onclick) ->setOnchange($onchange) - ->setHelp($pkga['comment']); + ->setHelp($pkga['sethelp']); } } |