From: Bill Erickson Date: Wed, 17 Aug 2011 19:45:44 +0000 (-0400) Subject: Tpac: more html output scrubbing X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=75aeccc2be082e5fc35578a10f4c554369e2697f;p=evergreen%2Fpines.git Tpac: more html output scrubbing Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2 b/Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2 index 78679fc7e1..4d29419403 100644 --- a/Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2 @@ -6,7 +6,7 @@ [% CGI.param('query') | html %] [% END %]
- Did you mean + [% l('Did you mean') %] ?

diff --git a/Open-ILS/web/templates/default/opac/parts/result/table.tt2 b/Open-ILS/web/templates/default/opac/parts/result/table.tt2 index 424b952c3c..ce8562ece2 100644 --- a/Open-ILS/web/templates/default/opac/parts/result/table.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/result/table.tt2 @@ -42,16 +42,16 @@ [% ident = attrs.isbn_clean || attrs.upc; IF ident; %] [% l('Image of item') %]
+ src='[% ctx.media_prefix %]/opac/extras/ac/jacket/small/[% ident | uri %]' />
[% END %]
- [% attrs.title | html_entity%] + class='search_link'>[% attrs.title | html %]
@@ -60,9 +60,9 @@ href="[%- authorquery = attrs.author | replace('[,\.:;]', ''); mkurl(ctx.opac_root _ '/results', {qtype => 'author', query => authorquery}) - -%]">[% attrs.author | html_entity %] + -%]">[% attrs.author | html %]    - [% attrs.pubdate %] + [% attrs.pubdate | html %]
@@ -70,7 +70,7 @@ - + [% IF CGI.param('detail_record_view') %] @@ -79,26 +79,26 @@ - + - + - + [% END %] @@ -127,7 +127,7 @@
[% l('Call number:') %] [% args.holdings.0 %][% args.holdings.0 | html %]
[% l('Publisher:') %] [% attrs.publisher; %][% attrs.publisher | html %]
[% l('ISBN:') %] [% attrs.isbns.0 %][% attrs.isbns.0 | html %]
[% l('Edition:') %] [% attrs.edition %][% attrs.edition | html %]
[% l('Phys. Desc.:') %] - [% args.phys_desc %] + [% args.phys_desc | html %]
[% IF attrs.format_icon %] - [% attrs.format_label %] + [% attrs.format_label | html %] [% END %] @@ -173,13 +173,13 @@
-
+
- +