diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-22 15:55:46 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-22 15:55:46 -0300 |
commit | 3781c561c3efda0d38196f2df0938e0defedee2e (patch) | |
tree | 34189c91ce30a600b7c415a30c42f66a45088119 | |
parent | 114af081b95fd51f9d58a89965e389cfb713d47b (diff) | |
download | pfsense-3781c561c3efda0d38196f2df0938e0defedee2e.zip pfsense-3781c561c3efda0d38196f2df0938e0defedee2e.tar.gz |
Fix package name
-rw-r--r-- | src/usr/local/www/pkg_mgr_installed.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/local/www/pkg_mgr_installed.php b/src/usr/local/www/pkg_mgr_installed.php index e1506b8..79f7f7a 100644 --- a/src/usr/local/www/pkg_mgr_installed.php +++ b/src/usr/local/www/pkg_mgr_installed.php @@ -114,6 +114,8 @@ if(!is_array($config['installedpackages']['package'])):?> if(!$pkg['name']) continue; + $full_name = $g['pkg_prefix'] . get_package_internal_name($pkg); + // get history/changelog git dir $commit_dir=explode("/",$pkg['config_file']); $changeloglink ="https://github.com/pfsense/pfsense-packages/commits/master/config/".$commit_dir[(count($commit_dir)-2)]; @@ -164,9 +166,9 @@ if(!is_array($config['installedpackages']['package'])):?> <?=$pkgdescr?> </td> <td> - <a href="pkg_mgr_install.php?mode=delete&pkg=<?=$pkg['name']?>" class="btn btn-danger">remove</a> - <a href="pkg_mgr_install.php?mode=reinstallpkg&pkg=<?=$pkg['name']?>" class="btn btn-info">reinstall</a> - <a href="pkg_mgr_install.php?mode=reinstallxml&pkg=<?=$pkg['name']?>" class="btn btn-info"><?=gettext("reinstall GUI")?></a> + <a href="pkg_mgr_install.php?mode=delete&pkg=<?=$full_name?>" class="btn btn-danger">remove</a> + <a href="pkg_mgr_install.php?mode=reinstallpkg&pkg=<?=$full_name?>" class="btn btn-info">reinstall</a> + <a href="pkg_mgr_install.php?mode=reinstallxml&pkg=<?=$full_name?>" class="btn btn-info"><?=gettext("reinstall GUI")?></a> <?php if(!$g['disablepackageinfo'] && $pkg['pkginfolink'] && $pkg['pkginfolink'] != $pkg['website']):?> <a target="_blank" title="<?=gettext("View more inforation")?>" href="<?=htmlspecialchars($pkg['pkginfolink'])?>" class="btn btn-default">info</a> <?php endif;?> |