From 5c11331632392c91fc2a08c39184af7f106035e9 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Sat, 9 Jun 2012 07:04:48 -0400 Subject: [PATCH] Bug 6141 - html glitches causing problems to translator - 3.8.x * opac-topissue.pl = untranslatable string removed * authorities.pl missing _() in javascript Rewrite of patch authored by Julian Maurice. Signed-off-by: Martin Renvoize --- .../opac-tmpl/prog/en/modules/opac-topissues.tt | 4 ++-- opac/opac-topissues.pl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt index c05f6fc..ff30035 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-topissues.tt @@ -52,7 +52,7 @@ function Dopop(link) { The [% limit %] most checked-out [% IF ( itemtype ) %] [% itemtype %] - [% ELSE %] titles[% END %] + [% END %] [% IF ( branch ) %] at [% branch %] @@ -120,7 +120,7 @@ function Dopop(link) { [% END %]
  • - [% IF ( timeLimit == 3 ) %][% ELSE %][% END %] [% IF ( timeLimit == 6 ) %][% ELSE %][% END %] [% IF ( timeLimit == 12 ) %][% ELSE %][% END %] diff --git a/opac/opac-topissues.pl b/opac/opac-topissues.pl index 7fb902e..dfdb6cd 100755 --- a/opac/opac-topissues.pl +++ b/opac/opac-topissues.pl @@ -122,8 +122,8 @@ if($timeLimit eq 999){ $timeLimitFinite = 0 }; $template->param(do_it => 1, limit => $limit, - branch => $branches->{$branch}->{branchname} || 'all locations', - itemtype => $itemtypes->{$itemtype}->{description} || 'item types', + branch => $branches->{$branch}->{branchname}, + itemtype => $itemtypes->{$itemtype}->{description}, timeLimit => $timeLimit, timeLimitFinite => $timeLimit, results_loop => \@results, -- 1.7.2.5