[aur-dev] [PATCH] Encode search string for use in anchor tags.

Loui Chang louipc.ist at gmail.com
Sun Dec 21 23:20:25 EST 2008


On Mon, Dec 22, 2008 at 11:24:18AM +0900, Callan Barrett wrote:
> I think I'll push all these out tonight when I get home. Except with
> this one can you put this code in the search function rather than the
> template? I think we want to try keep code like this out of the
> templates, they should be as little php as possible.

Yeah I wasn't sure about that one. I felt that it would be awkward in
the search function because it's not needed there at all, so I decided
to put it in the template. I guess it could do the same as the stats,
and have a function for that specific search results 'widget'.

What sounds good?



More information about the aur-dev mailing list