[Top][All Lists]

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

[Koha-cvs] CVS: koha/opac opac-sidebar.pl,NONE,

From: Finlay Thompson
Subject: [Koha-cvs] CVS: koha/opac opac-sidebar.pl,NONE,
Date: Thu, 28 Nov 2002 13:34:05 -0800

Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1:/tmp/cvs-serv7557

Added Files:
      Tag: rel-1-2
Log Message:

provides a dynamic login prompt in the sidebar

--- NEW FILE ---
use strict;
require Exporter;
use CGI;

use C4::Auth;       # get_template_and_user

my $query = new CGI;

my ($template, $borrowernumber, $cookie) 
    = get_template_and_user({template_name => "loggedin.tmpl",
                             query => $query,
                             type => "opac",
                             authnotrequired => 1,
                             flagsrequired => {borrow => 1},

print $query->header(-cookie => $cookie), $template->output;

reply via email to

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