diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-12-02 13:20:19 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-12-02 13:20:19 -0500 |
commit | 1ae171a36748094d7ef162da7af604aaa1f152c3 (patch) | |
tree | b371cf2d88eab1e01618241f0cbba0a03a0c73e6 /src | |
parent | b29c322cb7b7eae937353889eba7f03d81036e90 (diff) | |
download | pfsense-1ae171a36748094d7ef162da7af604aaa1f152c3.zip pfsense-1ae171a36748094d7ef162da7af604aaa1f152c3.tar.gz |
Support <comment> tag in package XML
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/pkg_edit.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php index 58b3efb..17dff6e 100644 --- a/src/usr/local/www/pkg_edit.php +++ b/src/usr/local/www/pkg_edit.php @@ -953,6 +953,7 @@ foreach ($pkg['fields']['field'] as $pkga) { if (isset($pkga['advancedfield']) && isset($advfield_count)) { $advanced->addInput(new Form_Checkbox( $pkga['fieldname'], + $pkga['fielddescr'], fixup_string($pkga['description']), ($value == "on"), 'on' @@ -966,7 +967,8 @@ foreach ($pkg['fields']['field'] as $pkga) { ($value == "on"), 'on' ))->setOnclick($onclick) - ->setOnchange($onchange); + ->setOnchange($onchange) + ->setHelp($pkga['comment']); } } |