Bugzilla – Attachment 13514 Details for
Bug 8973
HTML and URL escape missing in OPAC templates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8973 [3.6.x] HTML and URL escape missing in OPAC templates
Bug-8973-36x-HTML-and-URL-escape-missing-in-OPAC-t.patch (text/plain), 2.52 KB, created by
Owen Leonard
on 2012-11-19 13:54:14 UTC
(
hide
)
Description:
Bug 8973 [3.6.x] HTML and URL escape missing in OPAC templates
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-11-19 13:54:14 UTC
Size:
2.52 KB
patch
obsolete
>From fc71acba0bf438031e7807319059b0f58e36368d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 19 Nov 2012 08:46:46 -0500 >Subject: [PATCH] Bug 8973 [3.6.x] HTML and URL escape missing in OPAC > templates >Content-Type: text/plain; charset="utf-8" > >Adding HTML filter to some template variables which require them. >This patch is for 3.6.x, based on Fridolyn SOMERS patch for master. >--- > koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt | 4 ++-- > .../opac-tmpl/prog/en/modules/opac-suggestions.tt | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt >index 92bdc87..33038df 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt >@@ -1,4 +1,4 @@ >-[% INCLUDE 'doc-head-open.inc' %][% LibraryNameTitle or "Koha online" %] catalog › Comments on [% title %] >+[% INCLUDE 'doc-head-open.inc' %][% LibraryNameTitle or "Koha online" %] catalog › 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 @@ > <form id="reviewf" action="/cgi-bin/koha/opac-review.pl[% IF ( cgi_debug ) %]?debug=1[% END %]" method="post"> > <input type="hidden" name="biblionumber" value="[% biblionumber | html%]" /> > <fieldset class="brief"> >- <legend>Comments on <i>[% title |html %] [% subtitle %]</i>[% IF ( author ) %]by [% author %][% END %]</legend> >+ <legend>Comments on <i>[% title |html %] [% subtitle |html %]</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> >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tt >index 193836d..a782a3c 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-suggestions.tt >@@ -129,7 +129,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: >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8973
:
13070
|
13098
| 13514