[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha moredetail.pl,1.18,1.19
From: |
Ambrose Li |
Subject: |
[Koha-cvs] CVS: koha moredetail.pl,1.18,1.19 |
Date: |
Sun, 09 Feb 2003 01:00:17 -0800 |
Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1:/tmp/cvs-serv17132
Modified Files:
moredetail.pl
Log Message:
Update to get_template_and_user
Index: moredetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/moredetail.pl,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** moredetail.pl 28 Oct 2002 22:29:08 -0000 1.18
--- moredetail.pl 9 Feb 2003 09:00:12 -0000 1.19
***************
*** 37,50 ****
my $subject=$query->param('subject');
# if its a subject we need to use the subject.tmpl
! my $template;
! if ($subject){
! $template = gettemplate("catalogue/subject.tmpl");
! } else {
! $template = gettemplate("catalogue/moredetail.tmpl");
! }
! my $flagsrequired;
! $flagsrequired->{catalogue}=1;
! my ($loggedinuser, $cookie, $sessionID) = checkauth($query, 0,
$flagsrequired);
# get variables
--- 37,50 ----
my $subject=$query->param('subject');
+
# if its a subject we need to use the subject.tmpl
! my ($template, $loggedinuser, $cookie) = get_template_and_user({
! template_name => ($subject? 'catalogue/subject.tmpl':
! 'catalogue/moredetail.tmpl'),
! query => $query,
! type => "intranet",
! authnotrequired => 0,
! flagsrequired => {catalogue => 1},
! });
# get variables
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha moredetail.pl,1.18,1.19,
Ambrose Li <=