Re: Bug #40698 Re-use search term in the quicksearch input field

From: Date: Fri, 27 Mar 2009 18:21:14 +0000
Subject: Re: Bug #40698 Re-use search term in the quicksearch input field
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-43521@lists.php.net to get a copy of this message
Sorry, forgot to post diff file inside message (I attached it only). Index: php-bugs-web/include/layout.inc --- php-bugs-web/include/layout.inc Base (1.33) +++ php-bugs-web/include/layout.inc Locally Modified (Based On 1.33) @@ -220,7 +220,7 @@ <input type="hidden" name="cmd" value="display" /> <td align="right" valign="top" colspan="2" nowrap><font color="#ffffff"> <small>go to bug id or search bugs for</small> - <input class="small" type="text" name="search_for" value="" size="30" /> + <input class="small" type="text" name="search_for" value="<?php if(isset($_GET['search_for'])) echo $_GET['search_for']; ?>" size="30" /> <?php echo make_submit('small_submit_white.gif', 'search', 'bottom');?>&nbsp;<br> </font></td> </form> >> My first patch (very easy). I have one more idea about this. The text >> will stay in intputbox only if not found. What do you think ? >> Bug is mentioned here : >> http://bugs.php.net/bug.php?id=40698 >> I was studying bug tracker code, because of GSOC. I want to join one >> idea about bug tracker (improve him). Now, I'm searching for some bugs >> in tracker to repair. So next patches will be posted soon. >> If anyone know some bug or have some idea connected with improving >> bugtracker please write me.

« previous php.internals (#43521) next »