Maintenance message: avoid Unicode corruption, support KPAC
[working/Evergreen.git] / Open-ILS / src / templates / kpac / parts / base.tt2
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns='http://www.w3.org/1999/xhtml' lang='[% ctx.locale %]' xml:lang='[% ctx.locale %]'>
3     <head>
4         <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
5         <link rel="stylesheet" type="text/css" href="[% ctx.media_prefix %]/css/skin/default/kpac/style.css" />
6         [% IF ctx.authtime %]
7         <meta http-equiv="refresh" content="[% ctx.authtime %];[% 
8             ctx.logout_page _ '?redirect_to=' _ ctx.home_page %]">
9         [% END %]
10         <title>[% l("Kid's Catalog - [_1]", ctx.page_title) %]</title>
11     </head>
12     <body>
13         [%- IF ctx.maintenance_message -%]
14         <div id="maintenance_message">[% ctx.maintenance_message %]</div>
15         [%- END -%]
16         <div class="main_center">
17             [% INCLUDE 'kpac/parts/header.tt2' %]
18             <div class="main_wrapper"> [% content %] </div>
19             [% INCLUDE 'kpac/parts/footer.tt2' %]
20         </div>
21         <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/kpac/functions.js"></script>
22         [%- INCLUDE 'kpac/parts/acimport.tt2' %]
23     </body>
24 </html>