[Koha-devel] templates & translation

paul POULAIN paul.poulain at free.fr
Tue Dec 9 02:36:01 CET 2003


Hi,

HTML::Template has invalid tags from a html point of view : <TMPL_VAR 
xx> is not closed, and <TMPL_ELSE> neither.

But... there is another method to write template : use <!-- TMPL_VAR xx> 
instead of <TMPL_VAR xx>.
with this method, HTML::TreeBuilder create better the string list.
So i've written a little script that changed ALL <TMPL > to <!-- TMPL > 
in both OPAC and INTRANET. I've commited them.
So, update your CVS copies, and for future templates, use <!-- TMPL > 
form and NOT <TMPL > one.

-- 
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