koha-devel
[Top][All Lists]
Advanced

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

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


From: paul POULAIN
Subject: Re: [Koha-devel] Re: [Koha] Barcode scanner - keyboard wedge or not
Date: Tue Jun 3 04:51:07 2003
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030425

MJ Ray wrote:
paul POULAIN <address@hidden> 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)

reply via email to

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