More OPAC updates, including changes to how virtual shelves and suggestions links...
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-main.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <!-- TMPL_VAR NAME="LibraryNameTitle" --> -- Library Catalog
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!--TMPL_INCLUDE NAME="masthead.inc" -->
7
8 <div id="doc3" class="yui-t1">
9    <div id="bd">
10         <div id="yui-main">
11         <div class="yui-b"><div class="yui-ge">
12     <div class="yui-u first">
13         <!-- TMPL_IF name="koha_news_count" -->
14 <div id="news">
15     <table>
16     <!-- TMPL_LOOP name="koha_news" -->
17     <tr><th><!-- TMPL_VAR name="title" --></th></tr>
18     <tr><td><p><!-- TMPL_VAR name="new" --></p>
19                 <p><i>(published on <!-- TMPL_VAR name="newdate" -->)</i></p></td></tr>
20     <!-- /TMPL_LOOP -->
21     </table>
22 </div>
23 <!-- /TMPL_IF -->
24
25 <!-- TMPL_IF NAME="languages" -->
26 <div id="opac-main-changelanguage">
27     <h1>Change language</h1>
28     <form action="/cgi-bin/koha/changelanguage.pl" method="post">
29         <label for="selectlang">Set language to</label>
30         <select id="selectlang" name="language" onchange="javascript:submit();">
31             <!-- TMPL_LOOP NAME="languages" -->
32                 <option value="<TMPL_VAR NAME="language">">
33                     <!-- TMPL_VAR NAME="language" -->
34                 </option>
35             <!-- /TMPL_LOOP -->
36         </select>
37         <input type="submit" value="Change" />
38     </form>
39 </div>
40 <!-- /TMPL_IF -->
41
42 <!-- TMPL_IF NAME="recentacquiloop"-->
43     <div class="searchresults">
44         <table>
45         <tr>
46             <th>Title</th>
47             <th>Author</th>
48             <th>copyright</th>
49             <th>publication year</th>
50             <th>Date</th>
51         </tr>
52         <!-- TMPL_LOOP NAME="recentacquiloop" -->
53         <tr>
54             <td><p>
55                     <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
56                     <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
57                     <!-- TMPL_IF NAME="title"-->
58                         <!-- TMPL_VAR NAME="title" -->
59                     <!-- TMPL_ELSE -->
60                         <span class="problem">(no title)</span>
61                     <!-- /TMPL_IF -->
62                     </a>
63                     <!-- TMPL_ELSE -->
64                     <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
65                     <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
66                     <!-- TMPL_IF NAME="title"-->
67                         <!-- TMPL_VAR NAME="title" -->
68                     <!-- TMPL_ELSE -->
69                         <span class="problem">(no title)</span>
70                     <!-- /TMPL_IF -->
71                     </a>
72                     <!-- TMPL_ELSE -->
73                     <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
74                     <!-- TMPL_IF NAME="title"-->
75                         <!-- TMPL_VAR NAME="title" -->
76                     <!-- TMPL_ELSE -->
77                         <span class="problem">(no title)</span>
78                     <!-- /TMPL_IF -->
79                     </a>
80                     <!-- /TMPL_IF -->
81                     <!-- /TMPL_IF -->
82                 </p></td>
83             <td><a href="/cgi-bin/koha/opac-search.pl?q=au:<!-- TMPL_VAR NAME="author" -->">
84                     <!-- TMPL_VAR NAME="author" -->
85                 </a></td>
86             <td><!-- TMPL_VAR NAME="copyrightdate" --></td>
87             <td><!-- TMPL_VAR NAME="publicationyear" --></td>
88             <td><!-- TMPL_VAR NAME="timestamp" --></td>
89         </tr>
90         <!-- /TMPL_LOOP -->
91         </table>
92      </div>
93 <!-- /TMPL_IF -->
94
95             </div>
96     <div class="yui-u">
97         
98         <!-- TMPL_IF NAME="opacuserlogin" -->
99 <div id="login">
100     <!-- TMPL_UNLESS NAME="loggedinusername" -->
101         <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth">
102         <fieldset class="brief">
103                 <legend>Log in to Your Account:</legend>
104                 <ol>
105                 <li><label for="userid">Login:</label><input type="text" id="userid" size="10" name="userid" /></li>
106                 <li><label for="password">Password:</label><input type="password" id="password" size="10" name="password" /></li>
107                 </ol></fieldset>
108          <fieldset class="action">
109          <input type="submit" value="Log In" class="submit" />
110          </fieldset>
111          </form>
112     <!-- /TMPL_UNLESS -->
113 </div>
114 <!-- /TMPL_IF -->
115             </div>
116 </div>
117 </div>
118 </div>
119 <div class="yui-b">
120 <!--TMPL_INCLUDE NAME="navigation.inc" -->
121 </div>
122 </div>
123
124 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->