Template restructuring to allow option of styling OPAC with fixed-width layout. This...
[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 &rsaquo;
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
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"><div class="yui-ge">
13                 <!-- TMPL_IF NAME="opacuserlogin" -->
14             <!-- TMPL_UNLESS NAME="loggedinusername" -->                
15     <div class="yui-u first">
16     <!-- /TMPL_UNLESS -->
17 <!-- /TMPL_IF -->       
18         <!-- TMPL_IF name="koha_news_count" -->
19 <div id="news" class="container">
20     <table>
21     <!-- TMPL_LOOP name="koha_news" -->
22     <tr><th><!-- TMPL_VAR name="title" --></th></tr>
23     <tr><td><p><!-- TMPL_VAR name="new" --></p>
24                 <p><i>(published on <!-- TMPL_VAR name="newdate" -->)</i></p></td></tr>
25     <!-- /TMPL_LOOP -->
26     </table>
27 </div>
28 <!-- /TMPL_IF -->
29
30         <!-- TMPL_IF NAME="OpacMainUserBlock" --><div class="container"><!-- TMPL_VAR NAME="OpacMainUserBlock" --></div><!-- /TMPL_IF -->
31 <!-- TMPL_IF NAME="recentacquiloop"-->
32     <div class="searchresults">
33         <table>
34         <tr>
35             <th>Title</th>
36             <th>Author</th>
37             <th>copyright</th>
38             <th>publication year</th>
39             <th>Date</th>
40         </tr>
41         <!-- TMPL_LOOP NAME="recentacquiloop" -->
42         <tr>
43             <td><p>
44                     <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
45                     <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
46                     <!-- TMPL_IF NAME="title"-->
47                         <!-- TMPL_VAR NAME="title" -->
48                     <!-- TMPL_ELSE -->
49                         <span class="problem">(no title)</span>
50                     <!-- /TMPL_IF -->
51                     </a>
52                     <!-- TMPL_ELSE -->
53                     <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
54                     <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
55                     <!-- TMPL_IF NAME="title"-->
56                         <!-- TMPL_VAR NAME="title" -->
57                     <!-- TMPL_ELSE -->
58                         <span class="problem">(no title)</span>
59                     <!-- /TMPL_IF -->
60                     </a>
61                     <!-- TMPL_ELSE -->
62                     <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
63                     <!-- TMPL_IF NAME="title"-->
64                         <!-- TMPL_VAR NAME="title" -->
65                     <!-- TMPL_ELSE -->
66                         <span class="problem">(no title)</span>
67                     <!-- /TMPL_IF -->
68                     </a>
69                     <!-- /TMPL_IF -->
70                     <!-- /TMPL_IF -->
71                 </p></td>
72             <td><a href="/cgi-bin/koha/opac-search.pl?q=au:<!-- TMPL_VAR NAME="author" -->">
73                     <!-- TMPL_VAR NAME="author" -->
74                 </a></td>
75             <td><!-- TMPL_VAR NAME="copyrightdate" --></td>
76             <td><!-- TMPL_VAR NAME="publicationyear" --></td>
77             <td><!-- TMPL_VAR NAME="timestamp" --></td>
78         </tr>
79         <!-- /TMPL_LOOP -->
80         </table>
81      </div>
82 <!-- /TMPL_IF -->
83
84             </div>
85         <!-- TMPL_IF NAME="opacuserlogin" -->
86     <!-- TMPL_UNLESS NAME="loggedinusername" -->
87     <div class="yui-u">
88         
89 <div id="login" class="container">
90         <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth">
91         <fieldset class="brief">
92                 <legend>Log in to Your Account:</legend>
93                 <ol>
94                 <li><label for="userid">Login:</label><input type="text" id="userid" size="10" name="userid" /></li>
95                 <li><label for="password">Password:</label><input type="password" id="password" size="10" name="password" /></li>
96                 </ol>    <fieldset class="action">
97          <input type="submit" value="Log In" class="submit" />
98          </fieldset></fieldset>
99
100          </form>
101 </div>
102             </div>
103     <!-- /TMPL_UNLESS -->
104 <!-- /TMPL_IF -->
105 </div>
106 </div>
107 </div>
108 <!-- TMPL_IF NAME="OpacNav" --><div class="yui-b">
109 <div class="container">
110 <!--TMPL_INCLUDE NAME="navigation.inc" -->
111 </div>
112 </div><!-- /TMPL_IF -->
113 </div>
114
115 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->