[Koha-cvs] koha koha-tmpl/intranet-tmpl/prog/en/reserve/re... [rel_3_0]

Antoine Farnault antoine at koha-fr.org
Tue Oct 17 10:20:17 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	06/10/17 08:20:17

Modified files:
	koha-tmpl/intranet-tmpl/prog/en/reserve: request.tmpl 
	reserve        : request.pl 

Log message:
	Add ccode & fix wrong display on the template.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/reserve/request.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.3.2.2&r2=1.3.2.3
http://cvs.savannah.gnu.org/viewcvs/koha/reserve/request.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.6.2.3&r2=1.6.2.4

Patches:
Index: koha-tmpl/intranet-tmpl/prog/en/reserve/request.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/reserve/request.tmpl,v
retrieving revision 1.3.2.2
retrieving revision 1.3.2.3
diff -u -b -r1.3.2.2 -r1.3.2.3
--- koha-tmpl/intranet-tmpl/prog/en/reserve/request.tmpl	10 Oct 2006 16:29:17 -0000	1.3.2.2
+++ koha-tmpl/intranet-tmpl/prog/en/reserve/request.tmpl	17 Oct 2006 08:20:17 -0000	1.3.2.3
@@ -326,8 +326,12 @@
         </td>
         <td>
     <!-- TMPL_IF Name="wait" -->
-          <a href="/cgi-bin/koha/catalogue/detail.pl?bib=<!-- TMPL_VAR NAME=''biblionumber" -->&amp;type=intra" onClick="openWindow(this, 'Item', 480, 640); return false;">
+          <a href="/cgi-bin/koha/catalogue/detail.pl?bib=<!-- TMPL_VAR NAME='biblionumber' -->&type='intra'" onclick="openWindow(this, 'Item', 480, 640); return false;">
+                <!-- TMPL_IF NAME="barcode" -->
             <!-- TMPL_VAR NAME="barcode" -->
+                <!-- TMPL_ELSE -->
+                    No Barcode
+                <!-- /TMPL_IF -->
           </a>
     <!-- TMPL_ELSE -->
       <!-- TMPL_IF Name="constrainttypea" -->

Index: reserve/request.pl
===================================================================
RCS file: /sources/koha/koha/reserve/request.pl,v
retrieving revision 1.6.2.3
retrieving revision 1.6.2.4
diff -u -b -r1.6.2.3 -r1.6.2.4
--- reserve/request.pl	20 Sep 2006 15:47:49 -0000	1.6.2.3
+++ reserve/request.pl	17 Oct 2006 08:20:17 -0000	1.6.2.4
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: request.pl,v 1.6.2.3 2006/09/20 15:47:49 toins Exp $
+# $Id: request.pl,v 1.6.2.4 2006/10/17 08:20:17 toins Exp $
 
 #script to place reserves/requests
 #writen 2/1/00 by chris at katipo.oc.nz
@@ -369,7 +369,7 @@
     $reserve{'constrainttypea'}=($res->{'constrainttype'} eq 'a');
     $reserve{'constrainttypeo'}=($res->{'constrainttype'} eq 'o');
     $reserve{'voldesc'}=$res->{'volumeddesc'};
-    $reserve{'itemtype'}=$res->{'itemtype'};
+    $reserve{'ccode'}=$res->{'ccode'};
     $reserve{'branchloop'}=\@branchloop;
     $reserve{'optionloop'}=\@optionloop;
 





More information about the Koha-cvs mailing list