diff options
author | Scott Ullrich <sullrich@gmail.com> | 2012-05-31 15:51:56 -0700 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2012-05-31 15:51:56 -0700 |
commit | 4473e33cf345da613da44f0d7a1df2beb1686731 (patch) | |
tree | b41a2bbd6ed0cf57cb09c0db0cda6e96e5f6df8e /usr/local | |
parent | 53fde3ce113ca65332b8735a925b676c2eeeffbd (diff) | |
parent | e83a9ff71c75d0932ff9cc20e6ef9813ea519664 (diff) | |
download | pfsense-4473e33cf345da613da44f0d7a1df2beb1686731.zip pfsense-4473e33cf345da613da44f0d7a1df2beb1686731.tar.gz |
Merge pull request #116 from marcelloc/patch-14
Show current/updated repo package description instead of local/cached de...
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/pkg_mgr_installed.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php index 0905701..46a095b 100755 --- a/usr/local/www/pkg_mgr_installed.php +++ b/usr/local/www/pkg_mgr_installed.php @@ -2,7 +2,7 @@ /* $Id$ */ /* pkg_mgr.php - Copyright (C) 2004-2010 Scott Ullrich <sullrich@gmail.com> + Copyright (C) 2004-2012 Scott Ullrich <sullrich@gmail.com> All rights reserved. Redistribution and use in source and binary forms, with or without @@ -63,7 +63,7 @@ if(is_array($config['installedpackages']['package'])) { foreach($config['installedpackages']['package'] as $instpkg) { $tocheck[] = $instpkg['name']; } - $currentvers = get_pkg_info($tocheck, array('version', 'xmlver', 'pkginfolink')); + $currentvers = get_pkg_info($tocheck, array('version', 'xmlver', 'pkginfolink','descr')); } $pgtitle = array(gettext("System"),gettext("Package Manager")); @@ -163,7 +163,7 @@ include("head.inc"); <?=$pkgver;?> </td> <td class="listbg"> - <?=$pkg['descr'];?> + <?=$currentvers[$pkg['name']]['descr'];?> </td> <td valign="middle" class="list" nowrap> <a onclick="return confirm('<?=gettext("Do you really want to remove this package?"); ?>')" href="pkg_mgr_install.php?mode=delete&pkg=<?= $pkg['name']; ?>"> |