[Koha-cvs] CVS: koha/opac opac-search.pl,1.9,1.10

Owen Leonard oleonard at users.sourceforge.net
Thu Jan 8 19:26:55 CET 2004


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

Modified Files:
	opac-search.pl 
Log Message:
Added Paul's LibraryName variable to template

Index: opac-search.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-search.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** opac-search.pl	18 Jun 2003 08:38:34 -0000	1.9
--- opac-search.pl	8 Jan 2004 18:26:53 -0000	1.10
***************
*** 16,20 ****
  $sth->execute;
  while (my ($description,$itemtype) = $sth->fetchrow) {
!     $classlist.="<option value=\"$itemtype\">$description\n";
  }
  
--- 16,20 ----
  $sth->execute;
  while (my ($description,$itemtype) = $sth->fetchrow) {
!     $classlist.="<option value=\"$itemtype\">$description</option>\n";
  }
  
***************
*** 31,35 ****
  
  
! $template->param(classlist => $classlist);
  
  output_html_with_http_headers $query, $cookie, $template->output;
--- 31,37 ----
  
  
! $template->param(classlist => $classlist,
! 			     LibraryName => C4::Context->preference("LibraryName"),
! );
  
  output_html_with_http_headers $query, $cookie, $template->output;





More information about the Koha-cvs mailing list