Re: svn: /web/php-bugs/trunk/include/ functions.php

From: Date: Tue, 14 Sep 2010 18:52:01 +0000
Subject: Re: svn: /web/php-bugs/trunk/include/ functions.php
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-8951@lists.php.net to get a copy of this message
On Sat, Sep 11, 2010 at 17:02, Felipe Pena <felipe@php.net> wrote: > felipe                                   Sat, 11 Sep 2010 15:02:10 +0000 > > Revision: > http://svn.php.net/viewvc?view=revision&revision=303275 > > Log: > - Implemented FR #40698 (Re-use search term in the quicksearch input field) > > Bug: http://bugs.php.net/40698 (Open) [BUGS-WEB] [FR] Re-use > search term in the quicksearch input field > > Changed paths: >    U   web/php-bugs/trunk/include/functions.php > > Modified: web/php-bugs/trunk/include/functions.php > =================================================================== > --- web/php-bugs/trunk/include/functions.php    2010-09-11 14:31:32 UTC (rev 303274) > +++ web/php-bugs/trunk/include/functions.php    2010-09-11 15:02:10 UTC (rev 303275) > @@ -1536,7 +1536,7 @@ >                                <p class="head-search"> >                                        <input type="hidden" > name="cmd" value="display" /> >                                        <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 print > isset($_GET['search_for']) ? htmlspecialchars($_GET['search_for']) : > ''; ?>" size="30" /> don't we usually pass the charset too? And don't we have a quicky function for this? -Hannes

« previous php.webmaster (#8951) next »