[100022] trunk/www/ports.php

ryandesign at macports.org ryandesign at macports.org
Sat Nov 24 01:56:38 PST 2012


Revision: 100022
          https://trac.macports.org/changeset/100022
Author:   ryandesign at macports.org
Date:     2012-11-24 01:56:38 -0800 (Sat, 24 Nov 2012)
Log Message:
-----------
ports.php: don't clear the search field after doing a search

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

Modified: trunk/www/ports.php
===================================================================
--- trunk/www/ports.php	2012-11-24 09:43:04 UTC (rev 100021)
+++ trunk/www/ports.php	2012-11-24 09:56:38 UTC (rev 100022)
@@ -48,7 +48,7 @@
                 <option value="platform"<?php if ($by == 'platform') { print ' selected="selected"'; } ?>>Platform</option>
 <!--                <option value="license"<?php if ($by == 'license') { print ' selected="selected"'; } ?>>License</option> -->
             </select>
-            <input type="text" name="substr" size="40" />
+            <input type="text" name="substr" value="<?php print htmlspecialchars($substr); ?>" size="40" />
             <input type="submit" value="Search" />
         </p>
     </form>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121124/41e046f7/attachment.html>


More information about the macports-changes mailing list