cvs: pearweb /public_html/bugs/include functions.inc
| From: | Helgi �ormar �orbj�rnsson | Date: | Wed, 27 Oct 2004 18:29:40 +0000 |
| Subject: | cvs: pearweb /public_html/bugs/include functions.inc | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-1168@lists.php.net to get a copy of this message | ||
dufuz Wed Oct 27 14:29:40 2004 EDT
Modified files:
/pearweb/public_html/bugs/include functions.inc
Log:
Peclweb only thing, to get only pecl package if $site is pecl.
http://cvs.php.net/diff.php/pearweb/public_html/bugs/include/functions.inc?r1=1.69&r2=1.70&ty=u
Index: pearweb/public_html/bugs/include/functions.inc
diff -u pearweb/public_html/bugs/include/functions.inc:1.69
pearweb/public_html/bugs/include/functions.inc:1.70
--- pearweb/public_html/bugs/include/functions.inc:1.69 Tue Oct 26 07:28:38 2004
+++ pearweb/public_html/bugs/include/functions.inc Wed Oct 27 14:29:39 2004
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2004 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: functions.inc,v 1.69 2004/10/26 11:28:38 dufuz Exp $
+ * @version $Id: functions.inc,v 1.70 2004/10/27 18:29:39 dufuz Exp $
*/
@@ -472,6 +472,7 @@
*/
function show_types($current, $show_any, $default = '')
{
+ global $site;
static $bug_items;
if (!isset($bug_items)) {
@@ -481,7 +482,11 @@
$bug_items['PEPr'] = ' PEPr';
$bug_items['Documentation'] = 'Documentation';
- $list = package::listAll(false);
+ if ($site == 'pecl') {
+ $list = package::listAll(false, true, true, true);
+ } else {
+ $list = package::listAll(false);
+ }
foreach ($list as $name => $data) {
$bug_items[$name] = $name;
}