cvs: pearweb / package.php package.xml /public_html account-info.php

From: Date: Sat, 13 Jan 2007 12:38:17 +0000
Subject: cvs: pearweb / package.php package.xml /public_html account-info.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-5346@lists.php.net to get a copy of this message
mj Sat Jan 13 12:38:17 2007 UTC Modified files: /pearweb package.xml package.php /pearweb/public_html account-info.php Log: * Hide PECL packages from developer profiles for PEAR people. http://cvs.php.net/viewvc.cgi/pearweb/package.xml?r1=1.89&r2=1.90&diff_format=u Index: pearweb/package.xml diff -u pearweb/package.xml:1.89 pearweb/package.xml:1.90 --- pearweb/package.xml:1.89 Sat Jan 6 22:09:12 2007 +++ pearweb/package.xml Sat Jan 13 12:38:17 2007 @@ -64,8 +64,9 @@ </stability> <license uri="http://www.php.net/license">PHP License</license> <notes> -updated install-pear-nozlib.phar/go-pear.phar for PHP 5.2 fixes problems users have encountered -(32-bit only had problem) +* updated install-pear-nozlib.phar/go-pear.phar for PHP 5.2 fixes problems users have encountered + (32-bit only had problem) +* Hide PECL packages in developer profiles. </notes> <contents> <dir baseinstalldir="/" name="/"> http://cvs.php.net/viewvc.cgi/pearweb/package.php?r1=1.56&r2=1.57&diff_format=u Index: pearweb/package.php diff -u pearweb/package.php:1.56 pearweb/package.php:1.57 --- pearweb/package.php:1.56 Sat Jan 6 22:09:12 2007 +++ pearweb/package.php Sat Jan 13 12:38:17 2007 @@ -18,8 +18,9 @@ $a->setReleaseStability('stable'); $a->setAPIStability('stable'); $a->setNotes(' -updated install-pear-nozlib.phar/go-pear.phar for PHP 5.2 fixes problems users have encountered -(32-bit only had problem) +* updated install-pear-nozlib.phar/go-pear.phar for PHP 5.2 fixes problems users have encountered + (32-bit only had problem) +* Hide PECL packages in the developer profiles. '); $a->resetUsesrole(); $a->addUsesRole('web', 'Role_Web', 'pearified.com'); http://cvs.php.net/viewvc.cgi/pearweb/public_html/account-info.php?r1=1.46&r2=1.47&diff_format=u Index: pearweb/public_html/account-info.php diff -u pearweb/public_html/account-info.php:1.46 pearweb/public_html/account-info.php:1.47 --- pearweb/public_html/account-info.php:1.46 Thu Jan 4 10:33:02 2007 +++ pearweb/public_html/account-info.php Sat Jan 13 12:38:17 2007 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: account-info.php,v 1.46 2007/01/04 10:33:02 mj Exp $ + $Id: account-info.php,v 1.47 2007/01/13 12:38:17 mj Exp $ */ /** @@ -197,12 +197,16 @@ $query = 'SELECT p.id, p.name, m.role, m.active' . ' FROM packages p, maintains m' - . ' WHERE m.handle = ? AND p.id = m.package' + . ' WHERE m.handle = ? AND p.id = m.package AND p.package_type = "pear"' . ' ORDER BY p.name'; -$maintained_pkg = $dbh->getAll($query, array($handle)); +$packages = $dbh->query($query, array($handle)); -foreach ($maintained_pkg as $row) { +if ($packages->numRows() == 0) { + echo '<p>This user does not maintain any PEAR packages.</p>'; +} + +while ($row = $packages->fetchRow(DB_FETCHMODE_ASSOC)) { echo '<li>'; print_link('/package/' . htmlspecialchars($row['name']), htmlspecialchars($row['name']));

« previous php.pear.core (#5346) next »