summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-03-09 23:10:35 +0000
committerErmal Luçi <eri@pfsense.org>2010-03-09 23:10:35 +0000
commitd3ab36dc38ceb62446f445cfb1c5b704e1174aa0 (patch)
tree0577f54f4fe7fbb35f6e531527ef630b8c2eb089 /usr/local/www/pkg.php
parentc92048962943869840b7ffb3382efa88a0dc0b18 (diff)
downloadpfsense-d3ab36dc38ceb62446f445cfb1c5b704e1174aa0.zip
pfsense-d3ab36dc38ceb62446f445cfb1c5b704e1174aa0.tar.gz
If field type is interface show them with the descriptive name.
Diffstat (limited to 'usr/local/www/pkg.php')
-rwxr-xr-xusr/local/www/pkg.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/pkg.php b/usr/local/www/pkg.php
index 3886a11..9aeabb9 100755
--- a/usr/local/www/pkg.php
+++ b/usr/local/www/pkg.php
@@ -95,6 +95,7 @@ if ($_GET['act'] == "del") {
}
}
+$iflist = get_configured_interface_with_descr(false, true);
$evaledvar = $config['installedpackages'][xml_safe_fieldname($pkg['name'])]['config'];
if($pkg['custom_php_global_functions'] <> "")
@@ -173,6 +174,8 @@ if ($pkg['tabs'] <> "") {
} else {
echo gettext("Yes");
}
+ } else if ($column['type'] == "interface") {
+ echo $column['prefix'] . $iflist[$fieldname] . $column['suffix'];
} else {
echo $column['prefix'] . $fieldname . $column['suffix'];
}
OpenPOWER on IntegriCloud