cvs: pearweb /public_html packages.php
| From: | Thomas V.V.Cox | Date: | Fri, 12 Oct 2001 02:13:02 +0000 |
| Subject: | cvs: pearweb /public_html packages.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-985@lists.php.net to get a copy of this message | ||
cox Thu Oct 11 22:13:02 2001 EDT
Modified files:
/pearweb/public_html packages.php
Log:
subpackages = all category child classes
Index: pearweb/public_html/packages.php
diff -u pearweb/public_html/packages.php:1.15 pearweb/public_html/packages.php:1.16
--- pearweb/public_html/packages.php:1.15 Sat Sep 29 14:48:10 2001
+++ pearweb/public_html/packages.php Thu Oct 11 22:13:02 2001
@@ -27,10 +27,7 @@
$nrow = 0;
while ($sth->fetchInto($row)) {
extract($row);
- $ncategories = $cat_right - $cat_left - 1;
- $npackages = $pkg_right - $pkg_left - 1;
-// $d = $pkg_right - $pkg_left;
-// if ($d > 0) $npackages = ($d + 1) / 2;
+ $ncategories = ($cat_right - $cat_left - 1) / 2;
if ($npackages + $ncategories <= 0) {
//continue; // XXXX Uncomment me to only show categories with packages
} // XXXX change me with elseif (show table head only when there are values)