Bug 23308: Change html to filter to $raw
This patch changes the erroneous html filter to $raw
Test plan:
- Apply patch
- Enter some HTML into the OpacMaintenanceNotice syspref
- View the OPAC front page
=> TEST: Observe that the notice displays correctly and the HTML is not
escaped
Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: frederik chenier <frederik.chenier@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit f829221f81)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
13eddb09b4
commit
a4e91318da
|
|
@ -29,7 +29,7 @@
|
|||
<div class="span12">
|
||||
<div id="opac-maintenance-message">
|
||||
[% IF Koha.Preference( 'OpacMaintenanceNotice' ) %]
|
||||
[% Koha.Preference( 'OpacMaintenanceNotice' ) | html %]
|
||||
[% Koha.Preference( 'OpacMaintenanceNotice' ) | $raw %]
|
||||
[% ELSE %]
|
||||
<h2>System Maintenance</h2>
|
||||
<p>The [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog is offline for system maintenance. We'll be back soon! If you have any questions, please contact the <a href="mailto:[% KohaAdminEmailAddress | uri %]">site administrator</a></p>
|
||||
|
|
|
|||
Loading…
Reference in New Issue