fixing some display bugs (itemtype not properly returned and a html table bug that...
[koha.git] / koha-tmpl / opac-tmpl / prog / en / 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
10 <div> <!-- main -->
11
12 <!-- TMPL_UNLESS NAME="print_basket" -->
13 <h1>Your Book Bag</h1>
14
15 <div id="action">
16         <!-- TMPL_IF NAME="verbose" -->
17         <a href="opac-basket.pl" onclick="showLess(); return false;">Brief Display</a>
18         <!-- TMPL_ELSE -->
19         <a href="opac-basket.pl" onclick="showMore(); return false;">More Details</a>
20         <!-- /TMPL_IF -->
21         <a href="opac-basket.pl" onclick="sendBasket(); return false;">Send</a>
22         <a href="opac-basket.pl" onclick="printBasket(); return false;">Print</a>
23         <a href="opac-basket.pl" onclick="delBasket(); return false;">Empty and Close</a>
24         <a href="opac-basket.pl" onclick="quit(); return false;">Hide Window</a>
25         <!-- /TMPL_UNLESS -->
26 </div>
27 <br />
28 <p>
29 <b>Selected items :</b>
30 <a href="javascript:delSelRecords();">
31     Remove
32 </a> | 
33 <!-- TMPL_IF NAME="loggedinusername" -->
34     <a href="javascript:addSelToShelf();">
35         Add to a shelf
36     </a>
37 <!-- /TMPL_IF -->
38 </p>
39
40 <!-- TMPL_IF NAME="verbose" -->
41     <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
42     <h3>
43         <!-- TMPL_IF NAME="print_basket" -->
44             <!-- TMPL_VAR NAME="title" -->
45                 <!-- TMPL_IF name="subtitle" --> <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF -->
46         <!-- TMPL_ELSE -->
47             <form>
48                 <input type="checkbox"
49                         value="<!-- TMPL_VAR NAME="biblionumber" -->"
50                         name="bib<!-- TMPL_VAR NAME="biblionumber" -->"
51                         id="bib<!-- TMPL_VAR NAME="biblionumber" -->"
52                         onclick="selRecord(value,checked)" />
53                 <!-- TMPL_VAR NAME="title" -->
54                 <!-- TMPL_IF name="subtitle" --> <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF -->
55             </form>
56         <!-- /TMPL_IF -->
57     </h3>
58     <table>
59     
60         <!-- TMPL_IF name="isbn" -->
61         <tr>
62             <th scope="row">ISBN</th>
63             <td><!-- TMPL_VAR NAME="isbn" --></td>
64         </tr>
65         <!-- /TMPL_IF -->
66         
67         <!-- TMPL_IF name="MARCAUTHORS" -->
68         <tr>
69             <th scope="row">Authors</th>
70             <td>
71                 <!-- TMPL_LOOP NAME="MARCAUTHORS" -->
72                     <!-- TMPL_VAR NAME="value" -->
73             <!-- /TMPL_LOOP -->
74             </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>
102                 <!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
103                     <p><!-- TMPL_VAR NAME="label" --></p>
104             <!-- /TMPL_LOOP -->
105             </td>
106         </tr>
107         <!-- /TMPL_IF -->
108     
109         <!-- TMPL_IF name="copyrightdate" -->
110             <tr><th scope="row">Copyright</th>
111                 <td> <!-- TMPL_VAR NAME="copyrightdate" --></td>
112             </tr>
113         <!-- /TMPL_IF -->
114     
115         <!-- TMPL_IF name="MARCNOTES" -->
116         <tr>
117             <th scope="row">Notes</th>
118             <td>
119             <!-- TMPL_LOOP NAME="MARCNOTES" -->
120                 <p>- <!-- TMPL_VAR NAME="marcnote" --></p>
121             <!-- /TMPL_LOOP -->
122             </td>
123         </tr>
124         <!-- /TMPL_IF -->
125     
126         <!-- TMPL_IF name="unititle" -->
127         <tr>
128             <th scope="row">Unified title</th>
129             <td> <!-- TMPL_VAR NAME="unititle" --></td>
130         </tr>
131         <!-- /TMPL_IF -->
132         <!-- TMPL_IF name="serial" -->
133         <tr>
134             <th scope="row">Serial</th>
135             <td><!-- TMPL_VAR NAME="serial" --></td>
136         </tr>
137         <!-- /TMPL_IF -->
138         <!-- TMPL_IF name="dewey" -->
139         <tr>
140             <th scope="row">Dewey</th>
141             <td><!-- TMPL_VAR name="dewey" --></td>
142         </tr>
143         <!-- /TMPL_IF -->
144         <!-- TMPL_IF name="classification" -->
145         <tr>
146             <th scope="row">Classification</th>
147             <td> <!-- TMPL_VAR name="classification" --></td>
148         </tr>
149         <!-- /TMPL_IF -->
150         <!-- TMPL_IF name="lccn" -->
151         <tr>
152             <th scope="row">LCCN</th>
153             <td> <!-- TMPL_VAR name="lccn" --></td>
154         </tr>
155         <!-- /TMPL_IF -->
156         <!-- TMPL_IF name="url" -->
157         <tr>
158             <th scope="row">URL</th>
159             <td> <!-- TMPL_VAR NAME="url" --></td>
160         </tr><!-- /TMPL_IF -->
161         <tr>
162             <th scope="row">Location</th>
163             <td>
164                 <!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
165                 <p>
166                     <!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR NAME="location" -->
167                     <!-- TMPL_IF name="itemcallnumber" -->
168                         (<!-- TMPL_VAR NAME="itemcallnumber" -->)
169                     <!-- /TMPL_IF -->
170                 </p>
171                 <!-- /TMPL_LOOP -->
172             </td>
173         </tr>
174     </table>
175     <!-- /TMPL_LOOP -->
176
177 <!-- TMPL_ELSE -->
178     <table>
179         <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
180             <!-- TMPL_IF NAME="even" -->
181                 <tr class="highlight">
182             <!-- TMPL_ELSE -->
183                 <tr>
184             <!-- /TMPL_IF -->
185             <td>
186                 <form>
187                     <!-- TMPL_UNLESS NAME="print_basket" -->
188                         <label for="bib<!-- TMPL_VAR NAME="biblionumber" -->">
189                         </label>
190                         <br />
191                         <input type="checkbox"
192                             value="<!-- TMPL_VAR NAME="biblionumber" -->"
193                             name="bib<!-- TMPL_VAR NAME="biblionumber" -->"
194                             id="bib<!-- TMPL_VAR NAME="biblionumber" -->"
195                             onclick="selRecord(value,checked);">
196                     <!-- /TMPL_UNLESS -->
197                 </form>
198             </td>
199             <td><!-- TMPL_VAR name="itemtype" --></td>
200             <td>
201                 <p>
202                     <a href="#" onclick="openBiblio('<!-- TMPL_VAR name="dest" -->',<!-- TMPL_VAR name="biblionumber" -->)">
203                         <!-- TMPL_VAR NAME="title" -->
204                     </a>
205                         <!-- TMPL_VAR NAME="author" -->
206                         <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" -->
207                         <!-- TMPL_IF name="place" --> <!-- TMPL_VAR name="place" --><!-- /TMPL_IF --><!-- /TMPL_IF -->
208                         <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- TMPL_IF name="size" --> <!-- TMPL_VAR name="size" -->
209                         <!-- /TMPL_IF -->
210                         <!-- /TMPL_IF -->
211                         <!-- TMPL_IF name="notes" -->
212                         <p><!-- TMPL_VAR name="notes" --></p>
213                         <!-- /TMPL_IF -->
214             </td>
215             <td><!-- TMPL_VAR NAME="classification" --></td>
216             </tr>
217         <!-- /TMPL_LOOP -->
218     </table>
219 <!-- /TMPL_IF -->
220
221 <!-- TMPL_UNLESS NAME="print_basket" -->
222 <form name="myform">
223     <input type="hidden" name="records" id="records" />
224 </form>
225 <!-- /TMPL_UNLESS -->
226
227 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->