[100015] trunk/www/ports.php

ryandesign at macports.org ryandesign at macports.org
Sat Nov 24 00:39:31 PST 2012


Revision: 100015
          https://trac.macports.org/changeset/100015
Author:   ryandesign at macports.org
Date:     2012-11-24 00:39:31 -0800 (Sat, 24 Nov 2012)
Log Message:
-----------
ports.php: fix typos

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

Modified: trunk/www/ports.php
===================================================================
--- trunk/www/ports.php	2012-11-24 08:13:12 UTC (rev 100014)
+++ trunk/www/ports.php	2012-11-24 08:39:31 UTC (rev 100015)
@@ -68,13 +68,13 @@
             $columns = 0;
             print '<h3>Port Categories</h3><div id="categories"><ul>';
             while ($columns < 4) {
-                $entries_per_colum = 0;
+                $entries_per_column = 0;
                 print '<li><ul>';
                 while ($row = mysql_fetch_assoc($result)) {
                     print "<li><a href=\"$_SERVER[PHP_SELF]?by=category&amp;substr=" . urlencode($row['category']) . '">'
                     . htmlspecialchars($row['category']) . '</a></li>';
-                    if ($entries_per_colum == $max_entries_per_column) break;
-                    $entries_per_colum++;
+                    if ($entries_per_column == $max_entries_per_column) break;
+                    $entries_per_column++;
                 }
                 print '</ul></li>';
                 $columns++;
@@ -262,7 +262,7 @@
                 }
 
                 print '<br /><br /></dd>';
-            } /* while (listing of macthing ports) */
+            } /* while (listing of matching ports) */
             print '</dl>';
 
             if ($paging) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121124/ec1a93b9/attachment.html>


More information about the macports-changes mailing list