[Koha-cvs] koha opac/opac-user.pl koha-tmpl/opac-tmpl/npl/... [rel_2_2]

Chris Cormack crc at liblime.com
Thu Jun 7 23:26:22 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Chris Cormack <rangi>	07/06/07 21:26:22

Modified files:
	opac           : opac-user.pl 
	koha-tmpl/opac-tmpl/npl/en: opac-user.tmpl 
	koha-tmpl/opac-tmpl/css/en: opac-user.tmpl 
	koha-tmpl/opac-tmpl/css/it: opac-user.tmpl 
	koha-tmpl/opac-tmpl/css/fr: opac-user.tmpl 

Log message:
	Fix for weird bug with opac-user.pl and opac-user.tmpl and HTML::TEmplate
	version 2.9 that was causing an internal server error

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-user.pl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.14.2.12&r2=1.14.2.13
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/opac-user.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.1.2.12&r2=1.1.2.13
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/css/en/opac-user.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.8.2.8&r2=1.8.2.9
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/css/it/opac-user.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.1.2.1&r2=1.1.2.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/css/fr/opac-user.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.5.2.2&r2=1.5.2.3

Patches:
Index: opac/opac-user.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-user.pl,v
retrieving revision 1.14.2.12
retrieving revision 1.14.2.13
diff -u -b -r1.14.2.12 -r1.14.2.13
--- opac/opac-user.pl	20 Apr 2007 01:03:56 -0000	1.14.2.12
+++ opac/opac-user.pl	7 Jun 2007 21:26:20 -0000	1.14.2.13
@@ -120,7 +120,7 @@
     $res->{'branch'} = $branches->{$res->{'branchcode'}}->{'branchname'};
 }
 
-$template->param(RESERVES => $reserves);
+$template->param(RESERVE => $reserves);
 $template->param(reserves_count => $rcount);
 
 my @waiting;

Index: koha-tmpl/opac-tmpl/npl/en/opac-user.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/npl/en/Attic/opac-user.tmpl,v
retrieving revision 1.1.2.12
retrieving revision 1.1.2.13
diff -u -b -r1.1.2.12 -r1.1.2.13
--- koha-tmpl/opac-tmpl/npl/en/opac-user.tmpl	22 May 2006 12:23:01 -0000	1.1.2.12
+++ koha-tmpl/opac-tmpl/npl/en/opac-user.tmpl	7 Jun 2007 21:26:20 -0000	1.1.2.13
@@ -120,7 +120,7 @@
 <th>Status</th>
 <!-- <th>Status</th> -->
 </tr>
-<!-- TMPL_LOOP NAME="RESERVES" -->
+<!-- TMPL_LOOP NAME="RESERVE" -->
 <tr>
 <td><!-- TMPL_IF NAME="itemtype" --><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="itemtype" -->" /><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td>
 <td><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="btitle" --></a><span class="item-details">

Index: koha-tmpl/opac-tmpl/css/en/opac-user.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/css/en/Attic/opac-user.tmpl,v
retrieving revision 1.8.2.8
retrieving revision 1.8.2.9
diff -u -b -r1.8.2.8 -r1.8.2.9
--- koha-tmpl/opac-tmpl/css/en/opac-user.tmpl	5 Dec 2005 09:50:35 -0000	1.8.2.8
+++ koha-tmpl/opac-tmpl/css/en/opac-user.tmpl	7 Jun 2007 21:26:21 -0000	1.8.2.9
@@ -113,7 +113,7 @@
 				<th>Author</th>
 				<th>Reserve date</th>
 			</tr>
-			<!-- TMPL_LOOP NAME="RESERVES" -->
+			<!-- TMPL_LOOP NAME="RESERVE" -->
 				<tr valign="top">
 				<td><!-- TMPL_VAR NAME="btitle" --></td>
 				<td><!-- TMPL_VAR NAME="author" --></td>

Index: koha-tmpl/opac-tmpl/css/it/opac-user.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/css/it/Attic/opac-user.tmpl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- koha-tmpl/opac-tmpl/css/it/opac-user.tmpl	17 Feb 2005 13:11:27 -0000	1.1.2.1
+++ koha-tmpl/opac-tmpl/css/it/opac-user.tmpl	7 Jun 2007 21:26:21 -0000	1.1.2.2
@@ -84,7 +84,7 @@
 			<th>Autore</th>
 			<th>Data di prenotazione</th>
 		</tr>
-		<!-- TMPL_LOOP NAME="RESERVES" -->
+		<!-- TMPL_LOOP NAME="RESERVE" -->
 			<tr valign="top">
 			<td><!-- TMPL_VAR NAME="btitle" --></td>
 			<td><!-- TMPL_VAR NAME="author" --></td>

Index: koha-tmpl/opac-tmpl/css/fr/opac-user.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/css/fr/Attic/opac-user.tmpl,v
retrieving revision 1.5.2.2
retrieving revision 1.5.2.3
diff -u -b -r1.5.2.2 -r1.5.2.3
--- koha-tmpl/opac-tmpl/css/fr/opac-user.tmpl	9 Jan 2006 10:44:30 -0000	1.5.2.2
+++ koha-tmpl/opac-tmpl/css/fr/opac-user.tmpl	7 Jun 2007 21:26:22 -0000	1.5.2.3
@@ -112,7 +112,7 @@
 				<th>Auteur</th>
 				<th>Date de réservation</th>
 			</tr>
-			<!-- TMPL_LOOP NAME="RESERVES" -->
+			<!-- TMPL_LOOP NAME="RESERVE" -->
 				<tr valign="top">
 				<td><!-- TMPL_VAR NAME="btitle" --></td>
 				<td><!-- TMPL_VAR NAME="author" --></td>





More information about the Koha-cvs mailing list