[Koha-devel] modif in gettemplate
paul POULAIN
paul.poulain at free.fr
Fri Dec 20 00:39:03 CET 2002
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)
More information about the Koha-devel
mailing list