[Koha-devel] Re: [Koha] Barcode scanner - keyboard wedge or not

paul POULAIN paul.poulain at free.fr
Tue Jun 3 04:51:07 CEST 2003


MJ Ray wrote:

>paul POULAIN <paul.poulain at free.fr> wrote:
>  
>
>>Look at : http://html-template.sourceforge.net/html_template.html#tutorial
>>for a tutorial and some explanations.
>>    
>>
>
>I suspect some judicious use of TMPL_IF and TMPL_ELSE could let the menu
>bar be generated from a single template, but that needs the templater
>calls to have a parameter saying which menu bar tab to activate. Is
>there any problem with adding such a parameter?
>
>  
>
That's an idea I had a few time ago.
Another solution would be to have a "generic" style sheet, and a little 
specific with only the differing menu.
For example :
style.css defines admin, acqui, about, circ...
acqui.css defines only acqui.

In every acquisition template :
<include name="style.css">
<include name="acqui.css">
css RFP specifies that the last definition of a style is the active one.

The advantage of such a solution is that it does nothing in perl scripts.

-- 
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/20030603/ceddc8b7/attachment-0002.htm>


More information about the Koha-devel mailing list