[Koha-devel] HTML::Template

Galen Charlton gmcharlt at gmail.com
Wed May 12 14:03:33 CEST 2010


Hi,

2010/5/12 Marcel de Rooy <M.de.Rooy at rijksmuseum.nl>:
> Working with Koha 3.00.06.09 from git (origin/3.0.x), I think that there is
> a syntax error on the html template opac-detail.tmpl.
>
> For this template, matching the if´s and endif´s etc. by hand is quite
> laborious.
>
> Can anyone of you point me to a better way of checking such templates?

I'm not sure if it is in 3.0.x, but there is a test case in master,
xt/author/valid-templates.t, that you could copy over and use to catch
most (although not all) errors of this sort.

Regards,

Galen
-- 
Galen Charlton
gmcharlt at gmail.com



More information about the Koha-devel mailing list