little modif in gettemplate.
authortipaul <tipaul>
Fri, 20 Dec 2002 08:35:19 +0000 (08:35 +0000)
committertipaul <tipaul>
Fri, 20 Dec 2002 08:35:19 +0000 (08:35 +0000)
commit6098d9c4eb571e46475994e567aca74091595cf6
tree64cdb9ef67027c1290f9a1fb1f221c14a724e88e
parent16c57f0a7556b9a36c8cedd01fc57d19ac26d514
little modif in gettemplate.
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)
C4/Output.pm