New programmer templates for the OPAC. Markup has been pared down, but structure...
[koha.git] / koha-tmpl / opac-tmpl / prog / en / opac-main.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> -- Library Catalog
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 <!--TMPL_INCLUDE NAME="masthead.inc" -->
4 <!--TMPL_INCLUDE NAME="navigation.inc" -->
5
6 <div id="main">
7
8 <div>
9
10 <!-- TMPL_IF NAME="loggedinusername" -->
11 <!-- TMPL_ELSE -->
12 <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth">
13 <h3>Log in to Check Your Account</h3>
14 <p><label for="userid">Card Number:</label><input type="text" id="userid" size="10" name="userid" /></p>
15 <p><label for="password">Password:</label> <input type="password" id="password" size="10" name="password" /></p>
16 <p><input type="submit" value="Log In" class="submit" /></p>
17 </form>
18 <!-- /TMPL_IF -->
19
20 <form action="/cgi-bin/koha/opac-search.pl">
21 <h3>Search the Library Catalog</h3>
22 <p>
23 <label for="value">Enter Keyword(s):</label>
24                         <input type="hidden" name="op" value="do_search" />
25                         <input type="hidden" name="type" value="opac" />
26                         <input type="hidden" name="marclist" value="" />
27                         <input type="hidden" name="and_or" value="and" />
28                         <input type="hidden" name="excluding" value="" />
29                         <input type="hidden" name="operator" value="contains" />
30                         <input type="text" size="27" name="value" id="value" /></p>
31                 <p><input type="submit" value="Search" class="submit" /></p>
32                 <p>
33                         <a href="/cgi-bin/koha/opac-search.pl">Advanced Search (More Options)</a>
34                 </p>
35
36         </form>
37 </div>
38
39 <div>
40         <h3>Recent acquisitions</h3>
41         <form action="/cgi-bin/koha/opac-search.pl">
42                 <p>
43                         <!-- TMPL_VAR name="CGIitemtype" --><input type="hidden" name="marclist" value="biblioitems.itemtype" />
44                         <input type="hidden" name="and_or" value="and" />
45                         <input type="hidden" name="excluding" value="" />
46                         <input type="hidden" name="operator" value="=" />
47                         <input type="hidden" name="op" value="do_search" />
48                         <input type="hidden" name="type" value="opac" />
49                         <input type="hidden" name="orderby" value="biblio.timestamp" />
50                         <input type="hidden" name="desc_or_asc" value="desc" />
51                         acquired in the last
52                         <input type="text" name="desc_or_asc" size="3" value="30" />
53                         days
54                         <input type="submit" value="Search" class="submit" />
55                 </p>
56         </form>
57 </div>
58         
59 <!-- TMPL_IF NAME="loggedinusername" -->
60 <div>
61 <h3>You're logged in as <em><!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></em> (<a href="/cgi-bin/koha/opac-logout.pl">Click here</a> if you're not <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->)<!-- /TMPL_LOOP --></h3>
62
63 <ul><li><a href="/cgi-bin/koha/opac-user.pl">my library home</a> </li> <li> <a href="/cgi-bin/koha/opac-account.pl">my fines</a> </li> <li> 
64         <a href="/cgi-bin/koha/opac-userdetails.pl">my personal details</a> </li> <li> <a href="/cgi-bin/koha/opac-passwd.pl">change my password</a>    <!-- TMPL_IF NAME="opacreadinghistory" --></li> <li> <a href="/cgi-bin/koha/opac-readingrecord.pl">my reading history</a><!-- /TMPL_IF -->      <!-- TMPL_IF name="virtualshelves" --> </li> <li> <a href="/cgi-bin/koha/opac-shelves.pl" class="button">my book lists</a> <!-- /TMPL_IF --><!-- TMPL_IF name="suggestion" --></li> <li> <a href="/cgi-bin/koha/opac-suggestions.pl">purchase suggestions</a><!-- /TMPL_IF --></li></ul>
65                 <!-- TMPL_IF name="textmessaging"-->
66                         <h3>Message from the library</h3>
67                         <p class="error"><!-- TMPL_VAR name="textmessaging" --></p>
68                 <!-- /TMPL_IF -->
69 <form method="post" action="/cgi-bin/koha/opac-logout.pl">
70 <p><input type="submit" class="submit" name="logout" value="Log Out" /></p>
71 </form>
72 </div><!-- /TMPL_IF -->
73
74         <!-- TMPL_IF NAME="opaclanguagesdisplay" --><div class="content-block">
75         <h4 class="inline">Change Language:</h3>
76         <form action="/cgi-bin/koha/changelanguage.pl" method="post" class="inline">
77                 <select name="language">
78                         <!-- TMPL_LOOP NAME="languages" -->
79                                 <option value="<TMPL_VAR NAME="language">"><!-- TMPL_VAR NAME="language" --></option>
80                         <!-- /TMPL_LOOP -->
81                 </select>
82                 <input type="submit" value="Switch" class="submit">
83         </form></div><!-- /TMPL_IF -->
84 </div>
85 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->