Bug 8973: HTML and URL escape missing in OPAC templates

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Fridolyn SOMERS 2012-10-26 10:50:58 +02:00 committed by Paul Poulain
parent 510a2397fb
commit d12f4e09ee
3 changed files with 4 additions and 4 deletions

View file

@ -1218,7 +1218,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
<div><a id="twitter" href="http://twitter.com/share" title="Share on Twitter">Twitter</a></div>
<div><a id="linkedin" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=[% current_url |url %]&amp;title=[% title |url %]" title="Share on LinkedIn">LinkedIn</a></div>
<div><a id="delicious" href="http://www.delicious.com/save?url=[% current_url |url %]&amp;title=[% title |url %]" title="Share on Delicious">Delicious</a></div>
<div><a id="email" href="mailto:?subject=[% title %]&amp;body=[% title %] ([% current_url |url %])" title="Share by email">Email</a></div>
<div><a id="email" href="mailto:?subject=[% title |url %]&amp;body=[% title |url %] ([% current_url |url %])" title="Share by email">Email</a></div>
<div><g:plusone size="small"></g:plusone></div>
</div>
[% END %]

View file

@ -1,4 +1,4 @@
[% INCLUDE 'doc-head-open.inc' %][% LibraryNameTitle or "Koha online" %] catalog &rsaquo; Comments on [% title %]
[% INCLUDE 'doc-head-open.inc' %][% LibraryNameTitle or "Koha online" %] catalog &rsaquo; Comments on [% title |html %]
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css">
#custom-doc { width:37.08em;*width:36.16em;min-width:485px; margin:1em auto; text-align:left; }
@ -68,7 +68,7 @@
<input type="hidden" name="biblionumber" value="[% biblionumber | html%]" />
[% IF ( reviewid ) %]<input type="hidden" name="reviewid" value="[% reviewid | html%]" />[% END %]
<fieldset class="brief">
<legend>Comments on <i>[% title |html %] [% subtitle %]</i>[% IF ( author ) %]by [% author %][% END %]</legend>
<legend>Comments on <i>[% title |html %] [% subtitle %]</i>[% IF ( author ) %]by [% author |html %][% END %]</legend>
<ol><li><textarea id="review" name="review" cols="60" rows="8">[% review %]</textarea></li></ol>
</fieldset>
<p>Note: Your comment must be approved by a librarian. </p>

View file

@ -152,7 +152,7 @@ $.tablesorter.addParser({
Search for:
</th>
<td>
<input type="text" name="title" value="[% title %]" />
<input type="text" name="title" value="[% title |html %]" />
</td>
<th>
Suggested by: