From d3ab36dc38ceb62446f445cfb1c5b704e1174aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Tue, 9 Mar 2010 23:10:35 +0000 Subject: If field type is interface show them with the descriptive name. --- usr/local/www/pkg.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usr/local/www/pkg.php') 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']; } -- cgit v1.1