From e42bb2feac99a40b7e2834c77ee2d1fc364b04dc Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Sat, 11 Jul 2009 16:49:11 -0400 Subject: [PATCH] Bug 3414: Cleanup and xhthml correction of parcels.tmpl Fixes several xhtml in parcels.tmpl and enables highlighting within its data table. Removes unnecessary variable from parcels.pl. Signed-off-by: Galen Charlton --- acqui/parcels.pl | 3 --- .../prog/en/modules/acqui/parcels.tmpl | 24 ++++++++++--------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/acqui/parcels.pl b/acqui/parcels.pl index 30dc0a635c..349be363da 100755 --- a/acqui/parcels.pl +++ b/acqui/parcels.pl @@ -133,7 +133,6 @@ if ($count>$resultsperpage){ } my @loopres; -my $hilighted=0; for (my $i=$startfrom;$i<=($startfrom+$resultsperpage-1<$count-1?$startfrom+$resultsperpage-1:$count-1);$i++){ my %cell; @@ -146,8 +145,6 @@ for (my $i=$startfrom;$i<=($startfrom+$resultsperpage-1<$count-1?$startfrom+$res $cell{bibcount}=$results[$i]->{biblio}; $cell{reccount}=$results[$i]->{itemsreceived}; $cell{itemcount}=$results[$i]->{itemsexpected}; - $cell{hilighted} = $hilighted%2; - $hilighted++; push @loopres, \%cell; } $template->param(searchresults=>\@loopres, count=>$count) if ($count); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tmpl index 09f874435f..e839063dc0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tmpl @@ -42,16 +42,16 @@ - + +

" />

+ + + - - - - - - -- 2.39.5
" />" />" /> " /> -

" />


- @@ -71,27 +71,29 @@
+ + - + &datereceived=&invoice="> + - + + +