summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-12-02 13:20:19 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-12-02 13:20:19 -0500
commit1ae171a36748094d7ef162da7af604aaa1f152c3 (patch)
treeb371cf2d88eab1e01618241f0cbba0a03a0c73e6 /src/usr/local
parentb29c322cb7b7eae937353889eba7f03d81036e90 (diff)
downloadpfsense-1ae171a36748094d7ef162da7af604aaa1f152c3.zip
pfsense-1ae171a36748094d7ef162da7af604aaa1f152c3.tar.gz
Support <comment> tag in package XML
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/pkg_edit.php4
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']);
}
}
OpenPOWER on IntegriCloud