[Koha-patches] [PATCH] Bug Fixing : ModMember and memberentrygen.tmpl

henridamien.laurent henridamien.laurent at biblibre.com
Fri May 16 09:58:26 CEST 2008


Joe Atzberger a écrit :
>
> On Thu, May 15, 2008 at 3:47 PM, Henri-Damien LAURENT
> <henridamien.laurent at biblibre.com
> <mailto:henridamien.laurent at biblibre.com>> wrote:
>
>     -<!--TMPL_IF EXPR="showguarantor"-->  <li><label for="">Guarantor:
>     </label>
>     +<!--TMPL_IF EXPR="showguarantor"--><input type="hidden"
>     name="guarantorid"   value="<!-- TMPL_VAR NAME="guarantorid" -->" />
>     +  <li><label for="">Guarantor: </label>
>       <select name="relationship" id="relationship" >
>
>
> This appears to be a good chance to NOT to use EXPR, since it is
> really just a regular NAME parameter test.  The form:
> <!--TMPL_IF NAME="showguarantor"-->
> will achieve the same results without encouraging the problematic EXPR.
>
> --Joe
Aye,
you're right !!!!
I had tested the modification in french and had to change EXPR into Name
to make things work.
but have not done it on english templates.
fixing it right now.
Thanks.

-- 
Henri-Damien LAURENT
BibLibre SARL
http://www.biblibre.com
Expert en Logiciels Libres pour l'info-doc
tel : +33 4 67 65 75 50





More information about the Koha-patches mailing list