bug 2779: fix template syntax error in OPAC home page
[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>
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 <!-- TMPL_IF NAME="recentacquiloop"-->
41     <div class="searchresults">
42         <table>
43         <tr>
44             <th>Title</th>
45             <th>Author</th>
46             <th>copyright</th>
47             <th>publication year</th>
48             <th>Date</th>
49         </tr>
50         <!-- TMPL_LOOP NAME="recentacquiloop" -->
51         <tr>
52             <td><p>
53                     <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
54                     <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
55                     <!-- TMPL_IF NAME="title"-->
56                         <!-- TMPL_VAR NAME="title" escape="html" -->
57                     <!-- TMPL_ELSE -->
58                         <span class="problem">(no title)</span>
59                     <!-- /TMPL_IF -->
60                     </a>
61                     <!-- TMPL_ELSE -->
62                     <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
63                     <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
64                     <!-- TMPL_IF NAME="title" -->
65                         <!-- TMPL_VAR NAME="title" -->
66                     <!-- TMPL_ELSE -->
67                         <span class="problem">(no title)</span>
68                     <!-- /TMPL_IF -->
69                     </a>
70                     <!-- TMPL_ELSE -->
71                     <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
72                     <!-- TMPL_IF NAME="title" -->
73                         <!-- TMPL_VAR NAME="title" -->
74                     <!-- TMPL_ELSE -->
75                         <span class="problem">(no title)</span>
76                     <!-- /TMPL_IF -->
77                     </a>
78                     <!-- /TMPL_IF -->
79                     <!-- /TMPL_IF -->
80                 </p></td>
81             <td><a href="/cgi-bin/koha/opac-search.pl?q=au:<!-- TMPL_VAR NAME="author" -->">
82                     <!-- TMPL_VAR NAME="author" -->
83                 </a></td>
84             <td><!-- TMPL_VAR NAME="copyrightdate" --></td>
85             <td><!-- TMPL_VAR NAME="publicationyear" --></td>
86             <td><!-- TMPL_VAR NAME="timestamp" --></td>
87         </tr>
88         <!-- /TMPL_LOOP -->
89         </table>
90      </div>
91 <!-- /TMPL_IF -->
92 </div>
93                 
94         <!-- TMPL_IF NAME="opacuserlogin" -->
95     <!-- TMPL_UNLESS NAME="loggedinusername" -->
96     <div class="yui-u">
97         <div id="login" class="container">
98         <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth">
99     <input type="hidden" name="koha_login_context" value="opac" />
100         <fieldset class="brief">
101                 <legend>Log in to Your Account:</legend>
102                 <ol>
103                 <li><label for="userid">Login:</label><input type="text" id="userid" size="10" name="userid" /></li>
104                 <li><label for="password">Password:</label><input type="password" id="password" size="10" name="password" /></li>
105                 </ol>    <fieldset class="action">
106          <input type="submit" value="Log In" class="submit" />
107          </fieldset></fieldset>
108         </form>
109         </div>
110          </div>
111     <!-- /TMPL_UNLESS -->
112         
113 <!-- /TMPL_IF -->
114 </div>
115 </div>
116 </div>
117 <!-- TMPL_IF NAME="OpacNav" --><div class="yui-b">
118 <div id="opacnav" class="container">
119 <!--TMPL_INCLUDE NAME="navigation.inc" -->
120 </div>
121 </div><!-- /TMPL_IF -->
122 </div>
123
124 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->