cvs: pearweb /public_html index.php package-info.php
| From: | Martin Jansen | Date: | Sat, 12 Jul 2003 10:33:24 +0000 |
| Subject: | cvs: pearweb /public_html index.php package-info.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-11462@lists.php.net to get a copy of this message | ||
mj Sat Jul 12 06:33:24 2003 EDT
Modified files:
/pearweb/public_html package-info.php index.php
Log:
* Don't use the ID of a package
Index: pearweb/public_html/package-info.php
diff -u pearweb/public_html/package-info.php:1.34 pearweb/public_html/package-info.php:1.35
--- pearweb/public_html/package-info.php:1.34 Tue Jul 8 02:23:23 2003
+++ pearweb/public_html/package-info.php Sat Jul 12 06:33:23 2003
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: package-info.php,v 1.34 2003/07/08 06:23:23 jon Exp $
+ $Id: package-info.php,v 1.35 2003/07/12 10:33:23 mj Exp $
*/
// {{{ setup, queries
@@ -194,7 +194,7 @@
<?php
// Download link
$get_link = make_link("/get/$name", 'Download Latest');
-$changelog_link = make_link("package-changelog.php?pacid=$pacid",
+$changelog_link = make_link("package-changelog.php?package=" . $pkg['name'],
'ChangeLog');
// Package statistics
@@ -245,11 +245,11 @@
"$dl[basename]</a>
(".sprintf("%.1fkB",@filesize($dl['fullpath'])/1024.0).")<br
/>";
}
- $link_changelog = "[ " . make_link("/package-changelog.php?pacid=".
- "$pacid&release=" .
+ $link_changelog = "[ " .
make_link("/package-changelog.php?package=" .
+ $pkg['name'] . "&release=" .
$version, "Changelog")
. " ]";
- $href_release = $_SERVER['PHP_SELF'] .
"?pacid=$pacid&version=".
+ $href_release = $_SERVER['PHP_SELF'] . "?package=" .
$pkg['name'] . "&version=".
urlencode($version);
printf(" <td><a href=\"%s\">%s</a></td>" .
Index: pearweb/public_html/index.php
diff -u pearweb/public_html/index.php:1.63 pearweb/public_html/index.php:1.64
--- pearweb/public_html/index.php:1.63 Fri Jul 11 11:29:07 2003
+++ pearweb/public_html/index.php Sat Jul 12 06:33:23 2003
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: Martin Jansen <mj@php.net> |
+----------------------------------------------------------------------+
- $Id: index.php,v 1.63 2003/07/11 15:29:07 mj Exp $
+ $Id: index.php,v 1.64 2003/07/12 10:33:23 mj Exp $
*/
ini_set('y2k_compliance', 'on');
@@ -85,8 +85,7 @@
$desc .= '...';
}
$RSIDEBAR_DATA .= "<tr><td valign='top'
class='compact'>";
- $RSIDEBAR_DATA .= "<a
href=\"package-info.php?pacid=$id&release=$version\">";
-// $RSIDEBAR_DATA .= "$name $version</a><br /><font
size=\"-1\" face=\"arial
narrow,arial,helvetica,sans-serif\"><i>$releasedate:</i>$desc</font></td></tr>";
+ $RSIDEBAR_DATA .= "<a href=\"/" . $name . "\">";
$RSIDEBAR_DATA .= "$name $version</a><br
/><i>$releasedate:</i> $desc</td></tr>";
}
$image = make_link("/rss.php", make_image("xml.gif", "RSS
feed"));