cvs: pearweb /public_html package-info.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Sun, 13 Jan 2008 01:12:21 +0000 |
| Subject: | cvs: pearweb /public_html package-info.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-50263@lists.php.net to get a copy of this message | ||
dufuz Sun Jan 13 01:12:21 2008 UTC
Modified files:
/pearweb/public_html package-info.php
Log:
the license funciton is now in the package class
http://cvs.php.net/viewvc.cgi/pearweb/public_html/package-info.php?r1=1.138&r2=1.139&diff_format=u
Index: pearweb/public_html/package-info.php
diff -u pearweb/public_html/package-info.php:1.138 pearweb/public_html/package-info.php:1.139
--- pearweb/public_html/package-info.php:1.138 Sun Jan 13 01:02:40 2008
+++ pearweb/public_html/package-info.php Sun Jan 13 01:12:20 2008
@@ -16,7 +16,7 @@
| Authors: Martin Jansen <mj@php.net> |
| Tomas V.V.Cox <cox@idecnet.com> |
+----------------------------------------------------------------------+
- $Id: package-info.php,v 1.138 2008/01/13 01:02:40 dufuz Exp $
+ $Id: package-info.php,v 1.139 2008/01/13 01:12:20 dufuz Exp $
*/
@@ -231,11 +231,7 @@
'unmaintained' => array('superseded' => 'N',
'unmaintained' => 'Y'),
);
- if ($supersede) {
- $superseded = 'Y';
- } else {
- $superseded = 'N';
- }
+ $superseded = $supersede ? 'Y' : 'N';
$apply_rule = null;
foreach ($dec_table as $rule => $conditions) {
@@ -274,7 +270,7 @@
echo '</tr>';
echo '<tr>';
echo '<td class="textcell">' . htmlspecialchars($summary) .
'</td>';
- echo '<td class="textcell">' . get_license_link($license) .
'</td>';
+ echo '<td class="textcell">' . package::get_license_link($license) .
'</td>';
echo '</tr>';
echo '<tr>';
@@ -610,7 +606,7 @@
echo 'release is available.</p>';
echo '<p><a href="/package/' . htmlspecialchars($name) .
'/docs/latest/">Documentation for the latest release</a></p>';
- echo '<hr />'
+ echo '<hr />';
echo '<strong>Complete list:</strong>';
echo '<ul>';