php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56073 [Patch] package statistics link to package
Submitted: 2004-05-22 07:11 UTC Modified: 2004-05-25 10:09 UTC
From: klaus at capitalfocus dot org Assigned: mj (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2004-05-22 07:11 UTC] 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";



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-25 10:09 UTC] mj@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 12:01:30 2024 UTC