From 8f2c3333b230cb7ff4b3a0c9943e273ff108540b Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Sat, 11 Jul 2009 16:46:28 -0400 Subject: [PATCH] Bug 3414: Cleanup and xhthml correction of parcels.tmpl Content-Type: text/plain; charset="utf-8" Fixes several xhtml in parcels.tmpl and enables highlighting within its data table. Removes unnecessary variable from parcels.pl. --- 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 30dc0a6..349be36 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 09f8744..e839063 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 @@ - + +

" />

+ + + - - - - - - -- 1.5.6.5
" />" />" /> " /> -

" />


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