[Koha-devel] an include file suggestion

paul POULAIN paul.poulain at free.fr
Tue Jan 14 02:15:05 CET 2003


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=/cgi-bin/koha/mainpage.pl?logout.x=1>Log out</a>]</p>
><TMPL_ELSE>
>    <p align=left><a href=/cgi-bin/koha/opac-user.pl>Log 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)

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


More information about the Koha-devel mailing list