[Koha-cvs] CVS: koha/opac opac-account.pl,1.7,1.7.2.1 opac-detail.pl,1.9,1.9.2.1 opac-new.pl,1.1,1.1.2.1 opac-readingrecord.pl,1.5,1.5.2.1 opac-reserve.pl,1.19,1.19.2.1 opac-search.pl,1.9,1.9.2.1 opac-searchresults.pl,1.14,1.14.2.1 opac-userdetails.pl,1.6,1.6.2.1 opac-user.pl,1.11.2.1,1.11.2.2 opac-userupdate.pl,1.10,1.10.2.1

Paul POULAIN tipaul at users.sourceforge.net
Tue Jan 6 16:46:19 CET 2004


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

Modified Files:
      Tag: rel_2_0
	opac-account.pl opac-detail.pl opac-new.pl 
	opac-readingrecord.pl opac-reserve.pl opac-search.pl 
	opac-searchresults.pl opac-userdetails.pl opac-user.pl 
	opac-userupdate.pl 
Log Message:
adding LibraryName parameter management

Index: opac-account.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-account.pl,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -C2 -r1.7 -r1.7.2.1
*** opac-account.pl	8 May 2003 13:19:40 -0000	1.7
--- opac-account.pl	6 Jan 2004 15:46:17 -0000	1.7.2.1
***************
*** 53,57 ****
  
  
! $template->param( ACCOUNT_LINES => $accts );
  
  $template->param( total => $total );
--- 53,59 ----
  
  
! $template->param( ACCOUNT_LINES => $accts,
! 			     LibraryName => C4::Context->preference("LibraryName"),
!  );
  
  $template->param( total => $total );

Index: opac-detail.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-detail.pl,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -C2 -r1.9 -r1.9.2.1
*** opac-detail.pl	2 Feb 2003 07:18:38 -0000	1.9
--- opac-detail.pl	6 Jan 2004 15:46:17 -0000	1.9.2.1
***************
*** 53,57 ****
  $template->param(ITEM_RESULTS => $itemsarray);
  $template->param(WEB_RESULTS => $webarray);
! $template->param(SITE_RESULTS => $sitearray);
  
  output_html_with_http_headers $query, $cookie, $template->output;
--- 53,59 ----
  $template->param(ITEM_RESULTS => $itemsarray);
  $template->param(WEB_RESULTS => $webarray);
! $template->param(SITE_RESULTS => $sitearray,
! 			     LibraryName => C4::Context->preference("LibraryName"),
! );
  
  output_html_with_http_headers $query, $cookie, $template->output;

Index: opac-new.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-new.pl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** opac-new.pl	8 Dec 2003 16:27:27 -0000	1.1
--- opac-new.pl	6 Jan 2004 15:46:17 -0000	1.1.2.1
***************
*** 62,66 ****
  				duration => $duration);
  
! $template->param(SEARCH_RESULTS => $resultsarray);
  
  my $numbers;
--- 62,68 ----
  				duration => $duration);
  
! $template->param(SEARCH_RESULTS => $resultsarray,
! 			     LibraryName => C4::Context->preference("LibraryName"),
! );
  
  my $numbers;

Index: opac-readingrecord.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-readingrecord.pl,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -C2 -r1.5 -r1.5.2.1
*** opac-readingrecord.pl	19 Mar 2003 15:14:42 -0000	1.5
--- opac-readingrecord.pl	6 Jan 2004 15:46:17 -0000	1.5.2.1
***************
*** 50,54 ****
  
  $template->param(count => $count);
! $template->param(READING_RECORD => $issues);
  
  
--- 50,56 ----
  
  $template->param(count => $count);
! $template->param(READING_RECORD => $issues,
! 			     LibraryName => C4::Context->preference("LibraryName"),
! );
  
  

Index: opac-reserve.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-reserve.pl,v
retrieving revision 1.19
retrieving revision 1.19.2.1
diff -C2 -r1.19 -r1.19.2.1
*** opac-reserve.pl	18 Sep 2003 12:34:13 -0000	1.19
--- opac-reserve.pl	6 Jan 2004 15:46:17 -0000	1.19.2.1
***************
*** 170,174 ****
  $template->param(TYPE_ROWS => \@typerows);
  $width = 2*$width -1;
! $template->param(totalwidth => 2*$width-1);
  
  if ($query->param('item_types_selected')) {
--- 170,176 ----
  $template->param(TYPE_ROWS => \@typerows);
  $width = 2*$width -1;
! $template->param(totalwidth => 2*$width-1,
! 			     LibraryName => C4::Context->preference("LibraryName"),
! );
  
  if ($query->param('item_types_selected')) {

Index: opac-search.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-search.pl,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -C2 -r1.9 -r1.9.2.1
*** opac-search.pl	18 Jun 2003 08:38:34 -0000	1.9
--- opac-search.pl	6 Jan 2004 15:46:17 -0000	1.9.2.1
***************
*** 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;

Index: opac-searchresults.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-searchresults.pl,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -C2 -r1.14 -r1.14.2.1
*** opac-searchresults.pl	10 Oct 2003 00:35:06 -0000	1.14
--- opac-searchresults.pl	6 Jan 2004 15:46:17 -0000	1.14.2.1
***************
*** 123,127 ****
  }
  
! $template->param(numbers => $numbers);
  
  output_html_with_http_headers $query, $cookie, $template->output;
--- 123,129 ----
  }
  
! $template->param(numbers => $numbers,
! 			     LibraryName => C4::Context->preference("LibraryName"),
! );
  
  output_html_with_http_headers $query, $cookie, $template->output;

Index: opac-userdetails.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-userdetails.pl,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -C2 -r1.6 -r1.6.2.1
*** opac-userdetails.pl	26 Mar 2003 04:42:56 -0000	1.6
--- opac-userdetails.pl	6 Jan 2004 15:46:17 -0000	1.6.2.1
***************
*** 31,35 ****
  
  
! $template->param($borr);
  
  output_html_with_http_headers $query, $cookie, $template->output;
--- 31,37 ----
  
  
! $template->param($borr,
! 			     LibraryName => C4::Context->preference("LibraryName"),
! );
  
  output_html_with_http_headers $query, $cookie, $template->output;

Index: opac-user.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-user.pl,v
retrieving revision 1.11.2.1
retrieving revision 1.11.2.2
diff -C2 -r1.11.2.1 -r1.11.2.2
*** opac-user.pl	22 Dec 2003 08:58:03 -0000	1.11.2.1
--- opac-user.pl	6 Jan 2004 15:46:17 -0000	1.11.2.2
***************
*** 132,136 ****
  
  $template->param(WAITING => \@waiting);
! $template->param(waiting_count => $wcount);
  
  output_html_with_http_headers $query, $cookie, $template->output;
--- 132,138 ----
  
  $template->param(WAITING => \@waiting);
! $template->param(waiting_count => $wcount,
! 			     LibraryName => C4::Context->preference("LibraryName"),
! );
  
  output_html_with_http_headers $query, $cookie, $template->output;

Index: opac-userupdate.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-userupdate.pl,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -C2 -r1.10 -r1.10.2.1
*** opac-userupdate.pl	26 Mar 2003 04:42:56 -0000	1.10
--- opac-userupdate.pl	6 Jan 2004 15:46:17 -0000	1.10.2.1
***************
*** 88,92 ****
  $bordat[0] = $borr;
  
! $template->param(BORROWER_INFO => \@bordat);
  
  output_html_with_http_headers $query, $cookie, $template->output;
--- 88,94 ----
  $bordat[0] = $borr;
  
! $template->param(BORROWER_INFO => \@bordat,
! 			     LibraryName => C4::Context->preference("LibraryName"),
! );
  
  output_html_with_http_headers $query, $cookie, $template->output;





More information about the Koha-cvs mailing list