cvs: pearweb /public_html packages.php

From: Date: Tue, 13 Aug 2002 15:48:16 +0000
Subject: cvs: pearweb /public_html packages.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-5719@lists.php.net to get a copy of this message
mj Tue Aug 13 11:48:16 2002 EDT Modified files: /pearweb/public_html packages.php Log: * Add link to package stats here. * Fix spelling. Index: pearweb/public_html/packages.php diff -u pearweb/public_html/packages.php:1.30 pearweb/public_html/packages.php:1.31 --- pearweb/public_html/packages.php:1.30 Mon Aug 5 15:50:43 2002 +++ pearweb/public_html/packages.php Tue Aug 13 11:48:16 2002 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: packages.php,v 1.30 2002/08/05 19:50:43 tal Exp $ + $Id: packages.php,v 1.31 2002/08/13 15:48:16 mj Exp $ */ /** @@ -72,7 +72,6 @@ response_header($category_title); -// $dbh->setErrorHandling(PEAR_ERROR_DIE); $dbh->setFetchmode(DB_FETCHMODE_ASSOC); // 1) Show categories of this level @@ -136,7 +135,6 @@ $sub_links = implode(', ', $sub_links); } - settype($npackages, 'string'); settype($ncategories, 'string'); @@ -207,8 +205,9 @@ //Print total number of packages or a link to category stats if(!$catpid) { echo "<br /><br />\nTotal number of packages: " . $totalpackages; + echo "<br />" . make_link('/package-stats.php', 'View package statistics'); } else { - echo "<br /><br />\n<a href=\"http://pear.php.net/package-stats.php?cid=$catpid\">Statisics For The $catname Category</a>"; + echo "<br /><br />\n<a href=\"/package-stats.php?cid=$catpid\">Statistics for category &quot;$catname&quot;</a>"; } response_footer();

« previous php.pear.cvs (#5719) next »