koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha catalogue-home.pl,1.7,1.8


From: Chris Cormack
Subject: [Koha-cvs] CVS: koha catalogue-home.pl,1.7,1.8
Date: Mon, 16 Jun 2003 02:20:37 -0700

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

Modified Files:
        catalogue-home.pl 
Log Message:
Passing through the item types and branches to the template, so ppl can 
restrict the search by branch or itemtype.


Index: catalogue-home.pl
===================================================================
RCS file: /cvsroot/koha/koha/catalogue-home.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** catalogue-home.pl   19 Mar 2003 21:06:18 -0000      1.7
--- catalogue-home.pl   16 Jun 2003 09:20:35 -0000      1.8
***************
*** 7,10 ****
--- 7,12 ----
  use C4::Interface::CGI::Output;
  use C4::Database;
+ use C4::Catalogue;
+ use C4::Biblio;
  use HTML::Template;
  
***************
*** 19,25 ****
                             });
  
! my $classlist='';
  $template->param(classlist => $classlist,
!                                               type => 'intranet',);
  
  output_html_with_http_headers $query, $cookie, $template->output;
--- 21,32 ----
                             });
  
! my ($branchcount,@branches)=branches();
! my ($itemtypecount,@itemtypes)=getitemtypes();
! 
!   my $classlist='';
  $template->param(classlist => $classlist,
!                                               type => 'intranet',
!                branches=>address@hidden,
!                itemtypes=>address@hidden);
  
  output_html_with_http_headers $query, $cookie, $template->output;




reply via email to

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