[Koha-patches] [PATCH] Replace TMPL_ELSIF with TMPL_ELSE and TMPL_IF in label-manager.tmpl;

Jesse Weaver jesse.weaver at liblime.com
Mon Jul 28 19:25:29 CEST 2008


On Mon, Jul 28, 2008 at 11:18 AM, MJ Ray <mjr at phonecoop.coop> wrote:

> "Joshua Ferraro" <jmf at liblime.com> wrote:
> > MJ, can you clarify the purpose of this patch? Why are you preferring
> > separate ELSE and IF over ELSIF ?
>
> It doesn't seem to work reliably on one of my Koha 3 systems.
> TMPL_ELSIF appears to be a fairly recent HTML::Template::Pro-ism so it
> limits portability and there's a big WARNING on perldoc
> HTML::Template::SYNTAX, so it seemed like a good idea to remove it.
> What's the problem?
>
> Hope that explains,
> --
> MJ Ray (slef)
>
>
As far as portability goes, Koha 3.0 depends on a recent version of
HTML::Template::Pro anyway. We also use TMPL_EXPRs in a few strategic
places, and those are only supported by Template::Pro and Template::Expr. Do
you have the most recent version of the module?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20080728/76b4d5df/attachment-0002.htm>


More information about the Koha-patches mailing list