From: berick Date: Fri, 1 Apr 2011 18:34:49 +0000 (-0400) Subject: fixed odd bug w/ href attrs rendering the copyright symbol for ©_limit= X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=commitdiff_plain;h=1ed74d6cd919f65a12a34324cadeaaa31431a0d6 fixed odd bug w/ href attrs rendering the copyright symbol for ©_limit= --- diff --git a/Open-ILS/web/templates/default/opac/parts/record/summary.tt2 b/Open-ILS/web/templates/default/opac/parts/record/summary.tt2 index c60c248..83a96cd 100644 --- a/Open-ILS/web/templates/default/opac/parts/record/summary.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/record/summary.tt2 @@ -203,14 +203,16 @@ new_offset = ctx.copy_offset - ctx.copy_limit; IF new_offset < 0; new_offset = 0; END %] - « [% + [%# For some reason, browsers render © (as in, ©_limit=foo) as the copyright + symbol, even though it's inside inside the href attribute string. Use ; instead %] + « [% l('Previous [_1]', ctx.copy_offset - new_offset) %] [% END %] [% IF ctx.copies.size >= ctx.copy_limit %] - [% + [% l('Next [_1]', ctx.copy_limit) %] »