#1468 [Opn->Csd]: [Patch] package statistics link to package

From: Date: Tue, 25 May 2004 14:09:07 +0000
Subject: #1468 [Opn->Csd]: [Patch] package statistics link to package
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-2454@lists.php.net to get a copy of this message
Edit report at: http://pear.php.net/bugs/bug.php?id=1468&edit=1 ID: 1468 Updated by: mj@php.net Reported By: klaus at capitalfocus dot org -Status: Open +Status: Closed Package: Web Site PHP Version: Irrelevant New Comment: This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. Previous Comments: ------------------------------------------------------------------------ [2004-05-22 07:11:03] klaus at capitalfocus dot org Description: ------------ Fixes the link in 'Statistics for package "<package>"' to point to /package/<package> rather than /<package> Klaus (thesaur) Index: package-stats.php =================================================================== RCS file: /repository/pearweb/public_html/package-stats.php,v retrieving revision 1.51 diff -u -r1.51 package-stats.php --- package-stats.php 20 May 2004 13:49:04 -0000 1.51 +++ package-stats.php 22 May 2004 11:09:12 -0000 @@ -135,7 +135,7 @@ $info = package::info($_GET['pid'],null,false); if (isset($info['releases']) && sizeof($info['releases'])>0) { - echo "<h2>Statistics for package \"<a href=\"/" . $info['name'] . "\">" . $info['name'] . "</a>\"</h2>\n"; + echo "<h2>Statistics for package \"<a href=\"/package/" . $info['name'] . "\">" . $info['name'] . "</a>\"</h2>\n"; $bb = new Borderbox("General statistics"); echo "Number of releases: <strong>" . count($info['releases']) . "</strong><br />\n"; echo "Total downloads: <strong>" . number_format(statistics::package($_GET['pid']), 0, '.', ',') . "</strong><br />\n"; ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=1468&edit=1

« previous php.pear.webmaster (#2454) next »