[31573] trunk/www/ports.php
jmpp at macports.org
jmpp at macports.org
Wed Nov 28 07:37:34 PST 2007
Revision: 31573
http://trac.macosforge.org/projects/macports/changeset/31573
Author: jmpp at macports.org
Date: 2007-11-28 07:37:32 -0800 (Wed, 28 Nov 2007)
Log Message:
-----------
* Improve wording of the introductory text to the search form;
* Enclose the form the contents of the form in a paragraph element, so that the document validates as XHTML 1.1 again;
Modified Paths:
--------------
trunk/www/ports.php
Modified: trunk/www/ports.php
===================================================================
--- trunk/www/ports.php 2007-11-28 15:25:45 UTC (rev 31572)
+++ trunk/www/ports.php 2007-11-28 15:37:32 UTC (rev 31573)
@@ -25,22 +25,27 @@
$time = date('H:i', $row[0]);
}
?>
- <p>MacPorts currently has <?php print ports_count(); ?> ports of software, across a wide variety of categories. This form
- allows you to search the current index of MacPorts software, updated <?php echo $date; ?> at <?php echo $time; ?>.</p>
-
+ <p>The MacPorts Project currently distributes <?php print ports_count(); ?> ports, distributed across <?php print categories_count(); ?>
+ different categories and available below for viewing. This form allows you to search the MacPorts software index, last
+ updated on <?php echo $date; ?> at <?php echo $time; ?>.</p>
+
+
<form action="<?php echo $_SERVER['PHP_SELF']; ?>">
- <label>Search by:</label>
- <select name="by">
- <option value="name"<?php if ($by == "name") { echo " selected=\"selected\""; } ?>>Software Title</option>
- <option value="desc"<?php if ($by == "desc") { echo " selected=\"selected\""; } ?>>Description</option>
- <option value="cat"<?php if ($by == "cat") { echo " selected=\"selected\""; } ?>>Category</option>
- <option value="maintainer"<?php if ($by == "maintainer") { echo " selected=\"selected\""; } ?>>Maintainer</option>
- </select>
- <input type="text" name="substr" size="40" />
+ <p>
+ <label>Search by:</label>
+ <select name="by">
+ <option value="name"<?php if ($by == "name") { echo " selected=\"selected\""; } ?>>Software Title</option>
+ <option value="desc"<?php if ($by == "desc") { echo " selected=\"selected\""; } ?>>Description</option>
+ <option value="cat"<?php if ($by == "cat") { echo " selected=\"selected\""; } ?>>Category</option>
+ <option value="maintainer"<?php if ($by == "maintainer") { echo " selected=\"selected\""; } ?>>Maintainer</option>
+ </select>
+ <input type="text" name="substr" size="40" />
<input type="submit" value="Search" />
+ </p>
</form>
+
<h3>Port Categories</h3>
<p>View the complete <a href="<?php echo $_SERVER['PHP_SELF']; ?>?by=all">Ports List</a></p>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071128/cfea9924/attachment.html
More information about the macports-changes
mailing list