diff options
author | Renato Botelho <renato@netgate.com> | 2015-11-13 10:31:53 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-11-13 10:31:53 -0200 |
commit | 25fc475cb82afb3fbe23b05dee2cdabf05194735 (patch) | |
tree | 9e60267c74e8637a0eadbfbe5daa01e76f025976 /src/usr/local/www/pkg_mgr.php | |
parent | 5436b15c92f13eb2d7f727fac461c2833a58a09d (diff) | |
download | pfsense-25fc475cb82afb3fbe23b05dee2cdabf05194735.zip pfsense-25fc475cb82afb3fbe23b05dee2cdabf05194735.tar.gz |
Use recently added shortname and changeloglink from get_pkg_info()
Diffstat (limited to 'src/usr/local/www/pkg_mgr.php')
-rw-r--r-- | src/usr/local/www/pkg_mgr.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/usr/local/www/pkg_mgr.php b/src/usr/local/www/pkg_mgr.php index 01e990b..c88bbee 100644 --- a/src/usr/local/www/pkg_mgr.php +++ b/src/usr/local/www/pkg_mgr.php @@ -193,9 +193,6 @@ if(!$pkg_info || !is_array($pkg_info)):?> continue; } - $shortname = $index['name']; - pkg_remove_prefix($shortname); - if ($menu_category != "All" && $index['categories'][0] != $menu_category && !($menu_category == "Other" && !in_array($index['categories'][0], $visible_categories))) { continue; } @@ -206,7 +203,7 @@ if(!$pkg_info || !is_array($pkg_info)):?> <?php if ($index['www']):?> <a title="<?=gettext("Visit official website")?>" target="_blank" href="<?=htmlspecialchars($index['www'])?>"> <?php endif; ?> - <?=htmlspecialchars($shortname)?> + <?=htmlspecialchars($index['shortname'])?> </a> </td> |