svn: /pear2/sandbox/pear2.php.net/trunk/templates/pear2/ Categories.tpl.php

[email protected] (Brett Bieber)
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
saltybeagle                              Sun, 23 May 2010 21:19:30 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=299672

Log:
Get search box working.

Changed paths:
    U   pear2/sandbox/pear2.php.net/trunk/templates/pear2/Categories.tpl.php

Modified: pear2/sandbox/pear2.php.net/trunk/templates/pear2/Categories.tpl.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/templates/pear2/Categories.tpl.php	2010-05-23 21:17:05 UTC (rev 299671)
+++ pear2/sandbox/pear2.php.net/trunk/templates/pear2/Categories.tpl.php	2010-05-23 21:19:30 UTC (rev 299672)
@@ -1,10 +1,10 @@
  <div id="packages" class="pearbox">
             <div class="pearbox-header">
                 <h2>Packages</h2>
-                <form method="get" action="?view=search" id="find-packages">
-
+                <form method="get" action="." id="find-packages">
                     <div>
                         <input type="search" placeholder="Package name or description …" size="30" name="q" /><input class="button" value="Search" type="submit" />
+                        <input type="hidden" name="view" value="search" />
                     </div>
                 </form>
             </div>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.