[Koha-devel] hard coded stuff?

paul POULAIN paul.poulain at free.fr
Mon Nov 3 05:40:12 CET 2003


Benedykt wrote:

>On 27 Oct 2003 at 10:35, MJ Ray wrote:
>
>  
>
>>On 2003-10-27 10:19:03 +0000 Benedykt <kb2qzv at poczta.wp.pl> wrote:
>>
>>    
>>
>>>	background-image:url("/intranet-tmpl/default/en/images/background-mem.gif");
>>>      
>>>
>>What should this be, in your opinion?
>>    
>>
>I think that perhaps it should be, say url("themelang/images/background-mem.gif");
>But I am not sure.
>
It should be :
url("<TMPL_VAR name="themelang">/images/back...");

We tried this...
Then we discovered that HTMPL::Template can't support it, as the url() 
is in an included file : &nd included files are NOT parsed. they are 
included as it.
Too bad, and too late discovery. that's why we have "hardcoded" 
directory... (note it's a language independant image, so it's not a big 
problem : english is always installed, as it's used when the chosen 
language is not found)

-- 
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20031103/0c794be2/attachment-0002.htm>


More information about the Koha-devel mailing list