Koha/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt
Jonathan Druart 5825026448 Bug 21526: uri escape TT variables when used in 'a href'
This patch has been generated with the script provided on bug 21576.
It only affects variable used in the href attribute of a link *when*
href it the first attribute of the node (grep "a href")

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-10-26 17:09:57 +00:00

43 lines
1.6 KiB
Text

[% USE raw %]
[% USE Koha %]
[% INCLUDE 'doc-head-open.inc' %]
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
[% INCLUDE 'doc-head-close.inc' %]
[% BLOCK cssinclude %]
<style>
#opac-maintenance-message {
background:none repeat scroll 0 0 #FFFFFF;
border:1px solid #A2A2A2;
border-radius: 8px 8px 8px 8px;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
margin:4em auto;
padding:1.5em;
position:relative;
right:auto;
top:auto;
width:50%;
}
</style>
[% END %]
</head>
<body id="opac_maintenance" class="opac">
[% IF ( opacheader ) %]
[% opacheader | $raw %]
[% END %]
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<div id="opac-maintenance-message">
[% IF Koha.Preference( 'OpacMaintenanceNotice' ) %]
[% Koha.Preference( 'OpacMaintenanceNotice' ) | html %]
[% 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>
[% END %]
</div>
</div>
</div>
</div>
[% INCLUDE 'opac-bottom.inc' is_popup=1 %]
[% BLOCK jsinclude %][% END %]