[Koha-cvs] koha/barcodes label-add-layout.pl [dev_week]

Mason James szrj1m at yahoo.com
Sat Oct 20 19:04:29 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Mason James <sushi>	07/10/20 17:04:29

Modified files:
	barcodes       : label-add-layout.pl 

Log message:
	ptidy

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/barcodes/label-add-layout.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.1&r2=1.1.2.2

Patches:
Index: label-add-layout.pl
===================================================================
RCS file: /sources/koha/koha/barcodes/Attic/label-add-layout.pl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- label-add-layout.pl	10 Jul 2007 10:43:01 -0000	1.1.2.1
+++ label-add-layout.pl	20 Oct 2007 17:04:29 -0000	1.1.2.2
@@ -34,12 +34,9 @@
 my @barcode_types = get_barcode_types();
 my @batches = get_batches();
 
-if ($op = 'add_layout') {
+if ( $op = 'add_layout' ) {
 }
 
-
-
- 
 ###  $data
 
 $template->param( guidebox => 1 ) if ( $data->{'guidebox'} );
@@ -54,9 +51,9 @@
     label_templates => \@label_templates,
     barcode_types   => \@barcode_types,
     printingtypes    => \@printingtypes,
-layout_loop => \@layouts,
+  layout_loop     => \@layouts,
 
-batches => \@batches,
+  batches     => \@batches,
      id             => $data->{'id'},
     barcodetype    => $data->{'barcodetype'},
       papertype => $data->{'papertype'},
@@ -71,12 +68,12 @@
     tx_class          => $data->{'class'},
     tx_subclass       => $data->{'subclass'},
     tx_itemcallnumber => $data->{'itemcallnumber'},
+  tx_ccode          => $data->{'ccode'},
 
     startlabel     => $data->{'startlabel'},
     fontsize       => $active_template->{'fontsize'},
 
-    intranetcolorstylesheet =>
-      C4::Context->preference("intranetcolorstylesheet"),
+  intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
     intranetstylesheet => C4::Context->preference("intranetstylesheet"),
     IntranetNav        => C4::Context->preference("IntranetNav"),
 );





More information about the Koha-cvs mailing list