Bug 5917 / Bug 6085 : Fixing not being able to change language
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-main.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body id="opac-main">
6 <!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
7    <div id="bd">
8 <!--TMPL_INCLUDE NAME="masthead.inc" -->
9
10         <div id="yui-main">
11
12         <div class="yui-b">
13                 <!-- TMPL_IF NAME="opacuserlogin" -->
14             <!-- TMPL_IF NAME="loggedinusername" -->
15                         <div class="yui-g">
16                         <div>
17                         <!-- TMPL_ELSE -->
18                 <div class="yui-ge">
19                 <div class="yui-u first">
20     <!-- /TMPL_IF -->
21         <!-- TMPL_ELSE -->
22                 <div class="yui-g">
23                 <div>
24         <!-- /TMPL_IF -->
25         
26         <!-- TMPL_IF name="koha_news_count" -->
27 <div id="news" class="container">
28     <table>
29     <!-- TMPL_LOOP name="koha_news" -->
30     <tr><th><!-- TMPL_VAR name="title" --></th></tr>
31     <tr><td><p><!-- TMPL_VAR name="new" --></p>
32                 <p><i>(published on <!-- TMPL_VAR name="newdate" -->)</i></p></td></tr>
33     <!-- /TMPL_LOOP -->
34     </table>
35 </div>
36 <!-- /TMPL_IF -->
37
38         <!-- TMPL_IF NAME="OpacMainUserBlock" --><div id="opacmainuserblock" class="container"><!-- TMPL_VAR NAME="OpacMainUserBlock" --></div><!-- /TMPL_IF -->
39
40 </div>
41                 
42         <!-- TMPL_IF NAME="opacuserlogin" -->
43     <!-- TMPL_UNLESS NAME="loggedinusername" -->
44     <!-- TMPL_UNLESS NAME="casAuthentication" -->
45     <div class="yui-u">
46         <div id="login" class="container">
47         <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth">
48     <input type="hidden" name="koha_login_context" value="opac" />
49         <fieldset class="brief">
50                 <legend>Log in to Your Account:</legend>
51                 <ol>
52                 <li><label for="userid">Login:</label><input type="text" id="userid" size="10" name="userid" /></li>
53                 <li><label for="password">Password:</label><input type="password" id="password" size="10" name="password" /></li>
54                 </ol>    <fieldset class="action">
55          <input type="submit" value="Log In" class="submit" />
56          </fieldset></fieldset>
57         </form>
58         </div>
59          </div>
60     <!-- /TMPL_UNLESS -->
61     <!-- /TMPL_UNLESS -->
62         
63 <!-- /TMPL_IF -->
64 </div>
65 </div>
66 </div>
67 <!-- TMPL_IF NAME="OpacNav" --><div class="yui-b">
68 <div id="opacnav" class="container">
69 <!--TMPL_INCLUDE NAME="navigation.inc" -->
70 </div>
71 </div><!-- /TMPL_IF -->
72 </div>
73
74 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->