|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-05-25 10:09 UTC] mj@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 08:00:02 2025 UTC |
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";