[Koha-devel] templates & translation

paul POULAIN paul.poulain at free.fr
Tue Dec 9 03:38:00 CET 2003


MJ Ray a écrit :

> On 2003-12-09 10:39:08 +0000 paul POULAIN <paul.poulain at free.fr> wrote:
>
>> HTML::Template has invalid tags from a html point of view : <TMPL_VAR 
>> xx> is not closed, and <TMPL_ELSE> neither.
>
>
> Actually, they're valid HTML, yet not valid xhtml. I don't like using 
> comments either <!-- TMPL_VAR xx -->, as some tools strip them. Can we 
> request that it uses processing instructions instead? Tags would look 
> like <?tmpl VAR xx ?>
>
No, because HTML::Template doesn't support this.
I've asked H::T mailing list to accept <TMPL_ELSE /> and <TMPL_VAR 
name="x"/> syntax, but they said :
* with <!-- you can do what you want
* H::T releases are very rare, so...

-- 
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)






More information about the Koha-devel mailing list