diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-03-09 23:10:35 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-03-09 23:10:35 +0000 |
commit | d3ab36dc38ceb62446f445cfb1c5b704e1174aa0 (patch) | |
tree | 0577f54f4fe7fbb35f6e531527ef630b8c2eb089 /usr/local | |
parent | c92048962943869840b7ffb3382efa88a0dc0b18 (diff) | |
download | pfsense-d3ab36dc38ceb62446f445cfb1c5b704e1174aa0.zip pfsense-d3ab36dc38ceb62446f445cfb1c5b704e1174aa0.tar.gz |
If field type is interface show them with the descriptive name.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/pkg.php | 3 |
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']; } |