[Koha-cvs] koha/barcodes label-templates.pl [rel_2_2]

Mason James szrj1m at yahoo.com
Tue Jul 10 14:14:42 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Mason James <sushi>	07/07/10 12:14:42

Modified files:
	barcodes       : label-templates.pl 

Log message:
	'active template' display, now correct

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/barcodes/label-templates.pl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.1.4.2&r2=1.1.4.3

Patches:
Index: label-templates.pl
===================================================================
RCS file: /sources/koha/koha/barcodes/Attic/label-templates.pl,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -b -r1.1.4.2 -r1.1.4.3
--- label-templates.pl	10 Jul 2007 10:54:05 -0000	1.1.4.2
+++ label-templates.pl	10 Jul 2007 12:14:42 -0000	1.1.4.3
@@ -40,18 +40,6 @@
 );
 
 
-# little block for displaying active layout/template/batch in templates
-# ----------
-my $batch_id     = $query->param('batch_id');
-my $active_layout = get_active_layout();
-my $active_template = GetActiveLabelTemplate();
-my $active_layout_name = $active_layout->{'layoutname'};
-my $active_template_name = $active_template->{'tmpl_code'};
-# ----------
-
-
-
-
 my @resultsloop;
 
 
@@ -69,6 +57,15 @@
 
     @resultsloop = GetAllLabelTemplates();
 
+# little block for displaying active layout/template/batch in templates
+# ----------
+my $batch_id     = $query->param('batch_id');
+my $active_layout = get_active_layout();
+my $active_template = GetActiveLabelTemplate();
+my $active_layout_name = $active_layout->{'layoutname'};
+my $active_template_name = $active_template->{'tmpl_code'};
+# ----------
+
 $template->param(
 
     batch_id => $batch_id,





More information about the Koha-cvs mailing list