modif in gettemplate
I just commited a little modif in gettemplate. It now auto-replaces theme and lang template variable. This is useful if you have images in your template : <img src="/<TMPL_VAR name="theme">/<TMPL_VAR name="lang">/images/picture.gif> or <img src="/<TMPL_VAR name="theme">/images/picture.gif> in the case of a non-language dependant image. Before this fix, gettemplate only replaced a variable called themelang, which was useful for language dependant images, but didn't work with theme-only images. Note the previous behaviour is still activated (ie : themelang still works) Note also that at the moment, "common" images are not managed (even small background pictures are copied in /en, /fr and /es languages directories. This will have to be fixed for 2.0. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://fr.koha.org)
participants (1)
-
paul POULAIN