Don't auto-logout TPAC in staff client
[working/Evergreen.git] / Open-ILS / src / templates / opac / parts / base.tt2
1 <!DOCTYPE html>
2 <html lang='[% ctx.locale.replace('_', '-') %]'>
3     <head>
4         <meta charset="utf-8" />
5         <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6         [% IF ctx.refresh %]
7         <meta http-equiv="refresh" content="[% ctx.refresh %]">
8         [% ELSIF ctx.authtime AND !ctx.is_staff %]
9         <meta http-equiv="refresh" content="[% ctx.authtime %]; url=[% ctx.logout_page %]">
10         [% END %]
11         <meta name = "viewport" content = "initial-scale = 1.0">
12         <link rel="stylesheet" type="text/css" href="[% ctx.media_prefix %]/css/skin/default/opac/semiauto.css" />
13         <link rel="stylesheet" type="text/css" href="[% ctx.opac_root %]/css/style.css" />
14         <title>[% l('Catalog - [_1]', ctx.page_title) %]</title>
15         <link rel="unapi-server" type="application/xml" title="unAPI" href="/opac/extras/unapi" />
16         [% IF want_dojo %]
17         <style type="text/css">
18             @import "[% ctx.media_prefix %]/js/dojo/dijit/themes/tundra/tundra.css";
19         </style>
20         [% END %]
21         [% INCLUDE 'opac/parts/goog_analytics.tt2' %]
22     </head>
23     <body[% IF want_dojo; ' class="tundra"'; END %]>
24         [% content %] 
25         [% INCLUDE 'opac/parts/footer.tt2' %]
26         [% INCLUDE 'opac/parts/js.tt2' %]
27         [%- IF ENV.OILS_CHILIFRESH_ACCOUNT %]
28             [%- INCLUDE 'opac/parts/chilifresh.tt2' %]
29         [%- END %]
30     </body>
31 </html>