summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@gmail.com>2012-05-31 15:51:56 -0700
committerScott Ullrich <sullrich@gmail.com>2012-05-31 15:51:56 -0700
commit4473e33cf345da613da44f0d7a1df2beb1686731 (patch)
treeb41a2bbd6ed0cf57cb09c0db0cda6e96e5f6df8e /usr/local
parent53fde3ce113ca65332b8735a925b676c2eeeffbd (diff)
parente83a9ff71c75d0932ff9cc20e6ef9813ea519664 (diff)
downloadpfsense-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-xusr/local/www/pkg_mgr_installed.php6
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']; ?>">
OpenPOWER on IntegriCloud