koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] Quoting in templates


From: Chris Cormack
Subject: Re: [Koha-devel] Quoting in templates
Date: Wed Jan 22 15:06:02 2003
User-agent: Mutt/1.3.28i

On Wed, Jan 22, 2003 at 05:54:20PM -0800, Owen Leonard said:
> I'm going through the default [English] templates looking for things to clean 
> up, and I'm finding a variety of ways of handling quoting.  For example:
> 
> <a
> href=/cgi-bin/koha/detail.pl?bib=<TMPL_VAR 
> NAME="biblionumber">&type=intra><TMPL_VAR NAME="title">(<TMPL_VAR 
> NAME="author">)</a>
> 
> I'm assuming that the href= value isn't double-quoted because TMPL_VAR NAME 
> is. 
>  This won't validate, nor will instances where single quotes are used 
> (href='').  Is this really necessary?  Isn't Perl looking for the <TMPL...> 
> blocks and ignoring the HTML around it?
> 
Yep you are right.
The missing " on the href are a mistake. 
Fixing those would be good :-)

Chris
-- 
Chris Cormack                                                     Programmer
025 500 789                                        Katipo Communications Ltd
address@hidden                                          www.katipo.co.nz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]