[31588] trunk/www/ports.php

jmpp at macports.org jmpp at macports.org
Wed Nov 28 12:42:47 PST 2007


Revision: 31588
          http://trac.macosforge.org/projects/macports/changeset/31588
Author:   jmpp at macports.org
Date:     2007-11-28 12:42:46 -0800 (Wed, 28 Nov 2007)

Log Message:
-----------
Proper comparison to get 15 entries per column.

Modified Paths:
--------------
    trunk/www/ports.php

Modified: trunk/www/ports.php
===================================================================
--- trunk/www/ports.php	2007-11-28 20:40:54 UTC (rev 31587)
+++ trunk/www/ports.php	2007-11-28 20:42:46 UTC (rev 31588)
@@ -75,7 +75,7 @@
                                     <li><a href="<?php echo $_SERVER['PHP_SELF']; ?>?by=cat&amp;substr=<?php echo urlencode($row['category']); ?>">
                                     <?php echo htmlspecialchars($row['category']); ?></a></li>
 <?php
-                                    if ($entries_per_colum == 15) break;
+                                    if ($entries_per_colum == 14) break;
                                     $entries_per_colum++;
                                 }
 ?>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071128/df458d8a/attachment.html


More information about the macports-changes mailing list