Bug 9167: Standardize the sort field copyrightdate for lists
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-main.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog
3 [% INCLUDE 'doc-head-close.inc' %]
4 </head>
5 <body id="opac-main">
6 [% IF ( OpacNav ) %]<div id="doc3" class="yui-t1">[% ELSE %]<div id="doc3" class="yui-t7">[% END %]
7    <div id="bd">
8 [% INCLUDE 'masthead.inc' %]
9
10         <div id="yui-main">
11
12         <div class="yui-b">
13      [% IF ( opacuserlogin ) %]
14          [% IF ( loggedinusername ) %]
15          <div id="loggedin" class="yui-ge">
16          [% ELSE %]
17         <div id="notloggedin" class="yui-ge">
18          [% END %]
19      [% ELSE %]
20         <div id="notloggedin" class="yui-ge">
21     [% END %]
22         <div class="yui-u first">
23         [% IF ( koha_news_count ) %]
24 <div id="news" class="container">
25     <table>
26     [% FOREACH koha_new IN koha_news %]
27     <tr><th>[% koha_new.title %]</th></tr>
28     <tr><td><p>[% koha_new.new %]</p>
29                 <p><i>(published on [% koha_new.newdate %])</i></p></td></tr>
30     [% END %]
31     </table>
32 </div>
33 [% END %]
34
35       [% IF ( display_daily_quote && daily_quote ) %]
36     <div id="daily-quote" class="container"><h1>Quote of the Day</h1><div><span id="daily-quote-text">[% daily_quote.text %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source %]</span></div></div>
37 [% END %]
38
39         [% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock" class="container">[% OpacMainUserBlock %]</div>[% END %]
40  [% IF ( OpacMainUserBlockMobile ) %]<div id="opacmainuserblockmobile" class="container">[% OpacMainUserBlockMobile %]</div>[% END %]
41
42 </div>
43                 
44     [% IF ( opacuserlogin || OpacNavRight ) %]
45     <div class="yui-u">
46     [% IF ( opacuserlogin ) %]
47     [% UNLESS ( loggedinusername ) %]
48     [% UNLESS ( casAuthentication ) %]
49     <div id="login" class="container clearfix">
50         <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth">
51     <input type="hidden" name="koha_login_context" value="opac" />
52         <fieldset class="brief">
53         <legend>Log in to your account:</legend>
54                 <ol>
55                 <li><label for="userid">Login:</label><input type="text" id="userid" size="10" name="userid" /></li>
56                 <li><label for="password">Password:</label><input type="password" id="password" size="10" name="password" /></li>
57                 </ol>    <fieldset class="action">
58          <input type="submit" value="Log In" class="submit" />
59          </fieldset></fieldset>
60         </form>
61         </div>
62     [% END %]
63     [% END %]
64     [% END %]
65     [% IF ( OpacNavRight ) %]<div id="opacrightsidebar" class="container">[% OpacNavRight %]</div>[% END %]
66     </div>
67     [% END %]
68 </div>
69 </div>
70 </div>
71 [% IF ( OpacNav ) %]<div class="yui-b">
72 <div id="opacnav" class="container">
73 [% INCLUDE 'navigation.inc' %]
74 </div>
75 </div>[% END %]
76 </div>
77
78 [% INCLUDE 'opac-bottom.inc' %]