|
From: | paul POULAIN |
Subject: | Re: [Koha-devel] hard coded stuff? |
Date: | Mon Nov 3 05:40:12 2003 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630 |
Benedykt wrote:It should be :On 27 Oct 2003 at 10:35, MJ Ray wrote:On 2003-10-27 10:19:03 +0000 Benedykt <address@hidden> 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. 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) |
[Prev in Thread] | Current Thread | [Next in Thread] |