Benedykt wrote:
On 27 Oct 2003 at 10:35, MJ Ray wrote:

  
On 2003-10-27 10:19:03 +0000 Benedykt <kb2qzv@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)