koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] an include file suggestion


From: paul POULAIN
Subject: Re: [Koha-devel] an include file suggestion
Date: Tue Jan 14 02:15:05 2003
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.1) Gecko/20020826

Benedict a écrit:
Dnia sob 11. styczeń 2003 11:30, paul POULAIN napisał:

  
However, this does not need any coding, juste templates modifications
(with a TMPL_INCLUDE at the beginning of the page)
    

Hi,
The <TMPL_IF NAME="loggedinuser"> TAG  has two forms in template files calls 
in its <TMPL_ELSE> stetement either userpage.pl or opac-user.pl. 
We need two include files then. One userpage_pl.inc and opac-user_pl.inc
In each template file we need to put a line like so:
<TMPL_INCLUDE NAME="userpage_pl.inc"> and
<TMPL_INCLUDE NAME="opac-page_pl.inc"> instead of 

<TMPL_IF NAME="loggedinuser">
    <p align=left>Loggedin as: <TMPL_VAR NAME="loggedinuser"> [<a 
href="" out</a>]</p>
<TMPL_ELSE>
    <p align=left><a href="" in</a> to Koha</p>
</TMPL_IF>

If my reasoning is correct can I go ahead and change all the files in polish 
and other directories?

Benedict

  
I think you're right. go ahead in polish, then in other languages if you can.
And thanks for the job.
-- 
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]