Re: svn: /web/php-bugs/trunk/include/ functions.php
| From: | Felipe Pena | Date: | Tue, 14 Sep 2010 18:56:43 +0000 |
| Subject: | Re: svn: /web/php-bugs/trunk/include/ functions.php | ||
| References: | 1 2 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-8952@lists.php.net to get a copy of this message | ||
2010/9/14 Hannes Magnusson <hannes.magnusson@gmail.com>
> 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
>
We don't pass the charset AFAIR... And don't know any quicky function for
such... I'll check it ASAP. :)
--
Regards,
Felipe Pena