[Koha-cvs] CVS: koha catalogue-home.pl,1.7,1.8
Chris Cormack
rangi at users.sourceforge.net
Mon Jun 16 11:20:37 CEST 2003
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, at branches)=branches();
! my ($itemtypecount, at itemtypes)=getitemtypes();
!
! my $classlist='';
$template->param(classlist => $classlist,
! type => 'intranet',
! branches=>\@branches,
! itemtypes=>\@itemtypes);
output_html_with_http_headers $query, $cookie, $template->output;
More information about the Koha-cvs
mailing list