Beginning redesign of the OPAC. At this stage it's a move to make it more like the...
[koha-ffzg.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-basket.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <!-- TMPL_VAR NAME="LibraryNameTitle" -->
3     Catalog -- Your Book Bag
4     <!-- TMPL_IF NAME="print_basket" -->
5         <!-- TMPL_INCLUDE NAME="doc-head-close-basket-print.inc" -->
6     <!-- TMPL_ELSE -->
7     <!-- TMPL_INCLUDE NAME="doc-head-close-basket.inc" -->
8 <!-- /TMPL_IF -->
9 </head>
10 <body>
11
12 <div> <!-- main -->
13
14 <!-- TMPL_UNLESS NAME="print_basket" -->
15 <h1>Your Book Bag</h1>
16
17 <div id="action">
18         <!-- TMPL_IF NAME="verbose" -->
19         <a href="opac-basket.pl" onclick="showLess(); return false;">Brief Display</a>
20         <!-- TMPL_ELSE -->
21         <a href="opac-basket.pl" onclick="showMore(); return false;">More Details</a>
22         <!-- /TMPL_IF -->
23         <a href="opac-basket.pl" onclick="sendBasket(); return false;">Send</a>
24         <a href="opac-basket.pl" onclick="printBasket(); return false;">Print</a>
25         <a href="opac-basket.pl" onclick="delBasket(); return false;">Empty and Close</a>
26         <a href="opac-basket.pl" onclick="quit(); return false;">Hide Window</a>
27         <!-- /TMPL_UNLESS -->
28 </div>
29 <br />
30 <p>
31 <b>Selected items :</b>
32 <a href="javascript:delSelRecords();">
33     Remove
34 </a> | 
35 <!-- TMPL_IF NAME="loggedinusername" -->
36     <a href="javascript:addSelToShelf();">
37         Add to a shelf
38     </a>
39 <!-- /TMPL_IF -->
40 </p>
41
42 <!-- TMPL_IF NAME="verbose" -->
43     <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
44     <h3>
45         <!-- TMPL_IF NAME="print_basket" -->
46             <!-- TMPL_VAR NAME="title" -->
47                 <!-- TMPL_IF name="subtitle" --> <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF -->
48         <!-- TMPL_ELSE -->
49             <form>
50                 <input type="checkbox"
51                         value="<!-- TMPL_VAR NAME="biblionumber" -->"
52                         name="bib<!-- TMPL_VAR NAME="biblionumber" -->"
53                         id="bib<!-- TMPL_VAR NAME="biblionumber" -->"
54                         onclick="selRecord(value,checked)" />
55                 <!-- TMPL_VAR NAME="title" -->
56                 <!-- TMPL_IF name="subtitle" --> <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF -->
57             </form>
58         <!-- /TMPL_IF -->
59     </h3>
60     <table>
61     
62         <!-- TMPL_IF name="isbn" -->
63         <tr>
64             <th scope="row">ISBN</th>
65             <td><!-- TMPL_VAR NAME="isbn" --></td>
66         </tr>
67         <!-- /TMPL_IF -->
68         
69         <!-- TMPL_IF name="MARCAUTHORS" -->
70         <tr>
71             <th scope="row">Authors</th>
72             <td><!-- TMPL_LOOP NAME="MARCAUTHORS" -->
73                     <!-- TMPL_VAR NAME="value" -->
74             <!-- /TMPL_LOOP --></td>
75         </tr>
76         <!-- /TMPL_IF -->
77         
78         <!-- TMPL_IF NAME="publishercode" -->
79             <tr>
80                 <th scope="row">Publisher</th>
81                 <td><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" -->
82                 </td>
83             </tr>
84         <!-- /TMPL_IF -->
85         <!-- TMPL_IF NAME="pages" -->
86             <tr>
87                 <th scope="row">Details</th>
88                 <td><!-- TMPL_VAR NAME="pages" --> <!-- TMPL_VAR NAME="illus" --> <!-- TMPL_VAR NAME="size" --></td>
89             </tr>
90         <!-- /TMPL_IF -->
91         <!-- TMPL_IF name="seriestitle" -->
92         <tr>
93             <th scope="row">Collection</th>
94             <td> <!-- TMPL_VAR NAME="seriestitle" --></td>
95         </tr>
96         <!-- /TMPL_IF -->
97         
98         <!-- TMPL_IF name="MARCSUBJCTS" -->
99         <tr>
100             <th scope="row">Subjects</th>
101             <td><!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
102                     <p><!-- TMPL_VAR NAME="label" --></p>
103             <!-- /TMPL_LOOP --></td>
104         </tr>
105         <!-- /TMPL_IF -->
106     
107         <!-- TMPL_IF name="copyrightdate" -->
108             <tr><th scope="row">Copyright</th>
109                 <td> <!-- TMPL_VAR NAME="copyrightdate" --></td>
110             </tr>
111         <!-- /TMPL_IF -->
112     
113         <!-- TMPL_IF name="MARCNOTES" -->
114         <tr>
115             <th scope="row">Notes</th>
116             <td>
117             <!-- TMPL_LOOP NAME="MARCNOTES" -->
118                 <p>- <!-- TMPL_VAR NAME="marcnote" --></p>
119             <!-- /TMPL_LOOP --></td>
120         </tr>
121         <!-- /TMPL_IF -->
122     
123         <!-- TMPL_IF name="unititle" -->
124         <tr>
125             <th scope="row">Unified title</th>
126             <td> <!-- TMPL_VAR NAME="unititle" --></td>
127         </tr>
128         <!-- /TMPL_IF -->
129         <!-- TMPL_IF name="serial" -->
130         <tr>
131             <th scope="row">Serial</th>
132             <td><!-- TMPL_VAR NAME="serial" --></td>
133         </tr>
134         <!-- /TMPL_IF -->
135         <!-- TMPL_IF name="dewey" -->
136         <tr>
137             <th scope="row">Dewey</th>
138             <td><!-- TMPL_VAR name="dewey" --></td>
139         </tr>
140         <!-- /TMPL_IF -->
141         <!-- TMPL_IF name="classification" -->
142         <tr>
143             <th scope="row">Classification</th>
144             <td> <!-- TMPL_VAR name="classification" --></td>
145         </tr>
146         <!-- /TMPL_IF -->
147         <!-- TMPL_IF name="lccn" -->
148         <tr>
149             <th scope="row">LCCN</th>
150             <td> <!-- TMPL_VAR name="lccn" --></td>
151         </tr>
152         <!-- /TMPL_IF -->
153         <!-- TMPL_IF name="url" -->
154         <tr>
155             <th scope="row">URL</th>
156             <td> <!-- TMPL_VAR NAME="url" --></td>
157         </tr><!-- /TMPL_IF -->
158         <tr>
159             <th scope="row">Location</th>
160             <td><!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
161                 <p>
162                     <!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR NAME="location" -->
163                     <!-- TMPL_IF name="itemcallnumber" -->
164                         (<!-- TMPL_VAR NAME="itemcallnumber" -->)
165                     <!-- /TMPL_IF -->
166                 </p>
167                 <!-- /TMPL_LOOP --></td>
168         </tr>
169     </table>
170     <!-- /TMPL_LOOP -->
171
172 <!-- TMPL_ELSE -->
173     <table>
174         <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
175             <!-- TMPL_IF NAME="even" -->
176                 <tr class="highlight">
177             <!-- TMPL_ELSE -->
178                 <tr>
179             <!-- /TMPL_IF -->
180             <td><form>
181                     <!-- TMPL_UNLESS NAME="print_basket" -->
182                         <label for="bib<!-- TMPL_VAR NAME="biblionumber" -->">
183                         </label>
184                         <br />
185                         <input type="checkbox"
186                             value="<!-- TMPL_VAR NAME="biblionumber" -->"
187                             name="bib<!-- TMPL_VAR NAME="biblionumber" -->"
188                             id="bib<!-- TMPL_VAR NAME="biblionumber" -->"
189                             onclick="selRecord(value,checked);">
190                     <!-- /TMPL_UNLESS -->
191                 </form></td>
192             <td><!-- TMPL_VAR name="itemtype" --></td>
193             <td><p>
194                     <a href="#" onclick="openBiblio('<!-- TMPL_VAR name="dest" -->',<!-- TMPL_VAR name="biblionumber" -->)">
195                         <!-- TMPL_VAR NAME="title" -->
196                     </a>
197                         <!-- TMPL_VAR NAME="author" -->
198                         <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" -->
199                         <!-- TMPL_IF name="place" --> <!-- TMPL_VAR name="place" --><!-- /TMPL_IF --><!-- /TMPL_IF -->
200                         <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- TMPL_IF name="size" --> <!-- TMPL_VAR name="size" -->
201                         <!-- /TMPL_IF -->
202                         <!-- /TMPL_IF -->
203                         <!-- TMPL_IF name="notes" -->
204                         <p><!-- TMPL_VAR name="notes" --></p>
205                         <!-- /TMPL_IF --></td>
206             <td><!-- TMPL_VAR NAME="classification" --></td>
207             </tr>
208         <!-- /TMPL_LOOP -->
209     </table>
210 <!-- /TMPL_IF -->
211
212 <!-- TMPL_UNLESS NAME="print_basket" -->
213 <form name="myform">
214     <input type="hidden" name="records" id="records" />
215 </form>
216 <!-- /TMPL_UNLESS -->
217
218 <!-- TMPL_INCLUDE NAME="opac-basket-bottom.inc" -->