koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] TMPL_IF question


From: Tonnesen Steve
Subject: Re: [Koha-devel] TMPL_IF question
Date: Tue Apr 22 11:50:08 2003

HTML::Template doesn't give any facility for comparisons (greater than,
less than, etc). TMPL_IF blocks will be evaulated if the variable is
defined and non-zero.  TMPL_IF blocks will not be evaluated if the
variable id undefined or zero. 

Steve.


On Tue, 22 Apr 2003, Owen Leonard wrote:

> If there's a variable <TMPL_VAR NAME="numrecords">, can you say something 
> like:
> 
> <TMPL_IF "numrecords" greater than 0>
> 
> ... lots of records
> 
> </TMPL_IF>?
> 
>  -- Owen
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Koha-devel mailing list
> address@hidden
> https://lists.sourceforge.net/lists/listinfo/koha-devel
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]