cvs: pearweb /public_html/bugs/include functions.inc
| From: | Greg Beaver | Date: | Tue, 24 Apr 2007 03:11:55 +0000 |
| Subject: | cvs: pearweb /public_html/bugs/include functions.inc | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-46123@lists.php.net to get a copy of this message | ||
cellog Tue Apr 24 03:11:55 2007 UTC
Modified files:
/pearweb/public_html/bugs/include functions.inc
Log:
kill godawful CRSRLRS acronym and use English
:)
Also, only show the link if there has been a release, and
show the version number of the last release for clarity
http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/include/functions.inc?r1=1.144&r2=1.145&diff_format=u
Index: pearweb/public_html/bugs/include/functions.inc
diff -u pearweb/public_html/bugs/include/functions.inc:1.144
pearweb/public_html/bugs/include/functions.inc:1.145
--- pearweb/public_html/bugs/include/functions.inc:1.144 Tue Apr 24 03:03:38 2007
+++ pearweb/public_html/bugs/include/functions.inc Tue Apr 24 03:11:55 2007
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: functions.inc,v 1.144 2007/04/24 03:03:38 cellog Exp $
+ * @version $Id: functions.inc,v 1.145 2007/04/24 03:11:55 cellog Exp $
*/
@@ -1206,10 +1206,17 @@
echo delim();
echo make_link($fulllink .
'&status=All', 'All', '',
$style['All']);
+ if (!class_exists('package')) {
+ require_once 'pear-database-package.php';
+ }
if (count($pkgname) == 1) {
- echo delim();
- echo make_link($fulllink .
- '&status=CRSLR', 'CRSLR', '',
$style['CRSLR'], 'Closed reports since last release');
+ $releases = package::info($pkgname[0], 'releases');
+ if (count($releases)) {
+ echo delim();
+ echo make_link($fulllink .
+ '&status=CRSLR', 'Fixed Since Version ' .
+ key($releases), $style['CRSLR'], 'Closed bugs since last
release');
+ }
}
echo "\n</td></tr></table>\n";
echo '<hr />';