[Koha-cvs] koha koha-tmpl/intranet-tmpl/prog/en/tools/lett... [rel_3_0]

paul poulain paul at koha-fr.org
Thu Jan 25 13:58:11 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	paul poulain <tipaul>	07/01/25 12:58:11

Modified files:
	koha-tmpl/intranet-tmpl/prog/en/tools: letter.tmpl 
	tools          : letter.pl 

Log message:
	fix for some module selection

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/tools/letter.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.3.2.4&r2=1.3.2.5
http://cvs.savannah.gnu.org/viewcvs/koha/tools/letter.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.3&r2=1.1.2.4

Patches:
Index: koha-tmpl/intranet-tmpl/prog/en/tools/letter.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/tools/letter.tmpl,v
retrieving revision 1.3.2.4
retrieving revision 1.3.2.5
diff -u -b -r1.3.2.4 -r1.3.2.5
--- koha-tmpl/intranet-tmpl/prog/en/tools/letter.tmpl	13 Dec 2006 19:45:04 -0000	1.3.2.4
+++ koha-tmpl/intranet-tmpl/prog/en/tools/letter.tmpl	25 Jan 2007 12:58:11 -0000	1.3.2.5
@@ -161,7 +161,7 @@
 						<!--TMPL_ELSE-->
 						<option value="claimacquisition">Claim Acquisition</option>
 						<!--/TMPL_IF -->
-						<!--TMPL_IF Name="claimserial"-->
+						<!--TMPL_IF Name="claimissues"-->
 						<option value="claimissues" selected>Claim Issues</option>
 						<!--TMPL_ELSE-->
 						<option value="claimissues">Claim Issues</option>
@@ -192,7 +192,7 @@
 						<!--TMPL_ELSE-->
                         <option value="catalogue" >Catalogue</option>
                         <!--/TMPL_IF-->
-						<!--TMPL_IF Name="Serial"-->
+						<!--TMPL_IF Name="serial"-->
 						<option value="serial" selected>Serial</option>
 						<!--TMPL_ELSE-->
 						<option value="serial">Serial</option>
@@ -202,7 +202,7 @@
 						<!--TMPL_ELSE-->
 						<option value="claimacquisition">Claim Acquisition</option>
 						<!--/TMPL_IF -->
-						<!--TMPL_IF Name="claimserial"-->
+						<!--TMPL_IF Name="claimissues"-->
 						<option value="claimissues" selected>Claim Issues</option>
 						<!--TMPL_ELSE-->
 						<option value="claimissues">Claim Issues</option>

Index: tools/letter.pl
===================================================================
RCS file: /sources/koha/koha/tools/letter.pl,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -b -r1.1.2.3 -r1.1.2.4
--- tools/letter.pl	18 Dec 2006 16:35:20 -0000	1.1.2.3
+++ tools/letter.pl	25 Jan 2007 12:58:11 -0000	1.1.2.4
@@ -122,6 +122,7 @@
 		my %line = ('value' => "branches.".$field, 'text' => "branches.".$field);
 		push @SQLfieldname, \%line;
 	}
+    # add acquisition specific tables
     if (index($module,"acquisition")>0){
       my $sth2=$dbh->prepare("SHOW COLUMNS from aqbooksellers");
       $sth2->execute;
@@ -139,6 +140,7 @@
           my %line = ('value' => "aqorders.".$field, 'text' => "aqorders.".$field);
           push @SQLfieldname, \%line;
       }
+    # add issues specific tables
     }elsif (index($module,"issues")>0){
       my $sth2=$dbh->prepare("SHOW COLUMNS from aqbooksellers");
       $sth2->execute;
@@ -164,6 +166,7 @@
           my %line = ('value' => "subscription.".$field, 'text' => "subscription.".$field);
           push @SQLfieldname, \%line;
       }
+    # add biblio specific tables.
     } else {
       my $sth2=$dbh->prepare("SHOW COLUMNS from biblio");
       $sth2->execute;





More information about the Koha-cvs mailing list