koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha moredetail.pl,1.10,1.11


From: Steve Tonnesen
Subject: [Koha-cvs] CVS: koha moredetail.pl,1.10,1.11
Date: Wed, 09 Oct 2002 11:02:19 -0700

Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv9521

Modified Files:
        moredetail.pl 
Log Message:
Switched from "picktemplate" to "gettemplate"


Index: moredetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/moredetail.pl,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** moredetail.pl       5 Oct 2002 09:46:02 -0000       1.10
--- moredetail.pl       9 Oct 2002 18:02:15 -0000       1.11
***************
*** 31,44 ****
  my $includes = C4::Context->config('includes') ||
        "/usr/local/www/hdl/htdocs/includes";
- my $templatebase="catalogue/moredetail.tmpl";
  my $startfrom=$query->param('startfrom') || 0;
- my $theme=picktemplate($includes, $templatebase);
  
! my $subject=$query->param('subject');
! # if its a subject we need to use the subject.tmpl
! if ($subject){
!   $templatebase=~ s/searchresults\.tmpl/subject\.tmpl/;
! }
! my $template = HTML::Template->new(filename => 
"$includes/templates/$theme/$templatebase", die_on_bad_params => 0, path => 
[$includes]);
  
  # get variables 
--- 31,38 ----
  my $includes = C4::Context->config('includes') ||
        "/usr/local/www/hdl/htdocs/includes";
  my $startfrom=$query->param('startfrom') || 0;
  
! 
! my $template = gettemplate("catalogue/moredetail.tmpl");
  
  # get variables 




reply via email to

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