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

Joe Atzberger joe.atzberger at liblime.com
Mon Jul 28 20:13:27 CEST 2008


On Mon, Jul 28, 2008 at 1:18 PM, 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?
>


HTML::Template warns because ELSIF is part of HTML::Template::Pro.

We use only HTML::Template::Pro, so there is no reason to avoid ELSIF's.  No
problems have been reported upgrading H:T:P on any exising Koha system.
--joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20080728/4edabbe0/attachment-0002.htm>


More information about the Koha-patches mailing list