Cleanup of catalogue files, previously excluded from layout fixes. Some bugs may...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / catalogue / detail.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Catalogue Detail</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script language="javascript" type="text/javascript">
5 function Dopop(link) {
6     newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
7 }
8 function confirm_deletion(count) {
9         var is_confirmed;
10         if (count>0){
11                     is_confirmed= alert(_('you have [ '+ count +' ] item(s) linked \n you must delete all items before delete this biblio'));
12                     }
13         else{
14                     is_confirmed= confirm(_('Are you sure you want to delete this biblio? '));
15         }
16
17     
18      if (is_confirmed) {
19         if (count>0){
20 //      window.location="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->";
21         }
22         else{
23         window.location="/cgi-bin/koha/cataloguing/addbiblio.pl?op=delete&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->";
24         }
25                 
26     }
27 }
28 </script>
29 </head>
30 <body>
31
32 <!-- TMPL_INCLUDE NAME="header.inc" -->
33 <!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
34
35 <div id="doc3" class="yui-t2">
36    
37    <div id="bd">
38         <div id="yui-main">
39         <div class="yui-b"><div class="yui-g">
40
41     <h1><!-- TMPL_VAR NAME="title" --> <!-- TMPL_IF NAME="author" -->(<!-- TMPL_VAR NAME="author" -->)<!-- /TMPL_IF --> <!-- TMPL_VAR NAME="class" --></h1>
42     
43 <!-- TMPL_INCLUDE NAME="action-catalogue.inc" -->
44     
45     <div id="catalogue_detail_biblio">
46         <h2>Biblio detail</h2>
47         <!-- TMPL_IF name="subtitles" -->
48             <p><label><b>Subtitle(s):</b></label>
49                 <!-- TMPL_LOOP name="subtitles" -->
50                     <!-- TMPL_VAR NAME="subtitle" --> ;
51                 <!-- /TMPL_LOOP -->
52                 &nbsp;
53             </p>
54         <!-- /TMPL_IF -->
55         <!-- TMPL_IF name="author" -->
56             <p><label><b>Author: </b></label>
57                 <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" -->">
58                     <!-- TMPL_VAR NAME="author" -->&nbsp;
59                 </a>
60             </p>
61         <!-- /TMPL_IF -->
62         <!-- TMPL_IF name="MARCAUTHORS" -->
63             <p><label><b>Additional Author:</b></label>
64                 <!-- TMPL_LOOP NAME="MARCAUTHORS" -->
65                 <a href="/cgi-bin/koha/catalogue/search.pl?q=Koha-Auth-Number:<!-- TMPL_VAR NAME="link" -->">
66                     <!-- TMPL_VAR NAME="value" -->
67                 </a>&nbsp;
68                 <!-- /TMPL_LOOP -->
69             </p>
70         <!-- /TMPL_IF -->
71         <!-- TMPL_IF name="illus" -->
72             <p><label><b>Illus:</b></label><!-- TMPL_VAR name="illus" -->&nbsp;</p>
73         <!-- /TMPL_IF -->
74         <!-- TMPL_IF name="publishercode" -->
75             <p><label><b>Published by :</b></label>
76                 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:<!-- TMPL_VAR NAME="publishercode" -->">
77                     <!-- TMPL_VAR NAME="publishercode" -->
78                 </a>&nbsp;
79             </p>
80         <!-- /TMPL_IF -->
81         <!-- TMPL_IF name="publicationyear" -->
82             <p><label><b>in</b></label><!-- TMPL_VAR NAME="publicationyear" -->&nbsp;</p>
83         <!-- /TMPL_IF -->
84         <p>
85             <label>&nbsp;</label>
86                 <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" -->
87                 <!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" -->&nbsp;
88         </p>
89         <!-- TMPL_IF name="isbn" -->
90             <p><label><b>ISBN: </b></label><!-- TMPL_VAR NAME="isbn" -->&nbsp;</p>
91         <!-- /TMPL_IF -->
92         <!-- TMPL_IF name="issn" -->
93             <p><label><b>ISSN:</b></label><!-- TMPL_VAR NAME="issn" -->&nbsp;</p>
94         <!-- /TMPL_IF -->
95         <!-- TMPL_IF name="seriestitle" -->
96             <p><label><b>Collection: </b></label>
97                 <!-- TMPL_VAR NAME="seriestitle" --> 
98                 <!-- TMPL_IF name="volume" -->vol. <!-- TMPL_VAR name="volume" --> <!-- TMPL_VAR name="volumedate" --><!-- /TMPL_IF -->
99                 <!-- TMPL_VAR name="volumedesc" -->&nbsp;
100             </p>
101         <!-- /TMPL_IF -->
102         <!-- TMPL_IF name="MARCSUBJCTS" -->
103             <p><label><b>Subjects: </b></label></p>
104             <p>
105                 <!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
106                     <a href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="link" ESCAPE="URL"-->"><!-- TMPL_VAR NAME="label" --></a>
107                     &nbsp;
108                 <!-- /TMPL_LOOP -->
109             </p>
110         <!-- /TMPL_IF -->
111         <!-- TMPL_IF name="copyrightdate" -->
112             <p><label><b>Year : </b></label><!-- TMPL_VAR NAME="copyrightdate" --></p>
113         <!-- /TMPL_IF -->
114         <!-- TMPL_IF name="MARCNOTES" -->
115             <p><label><b>Notes: </b></label></p>
116             <p>
117                 <!-- TMPL_LOOP NAME="MARCNOTES" -->
118                     <p>- <!-- TMPL_VAR NAME="marcnote" --></p>
119                 <!-- /TMPL_LOOP -->
120             </p>
121         <!-- TMPL_ELSE -->
122             <!-- TMPL_IF name="notes" -->
123                 <p><label><b>Notes: </b></label><!-- TMPL_VAR NAME="notes" --></p>
124             <!-- /TMPL_IF -->
125         <!-- /TMPL_IF -->
126         <!-- TMPL_IF name="unititle" -->
127             <p><label><b>Alt title: </b></label><!-- TMPL_VAR NAME="unititle" --></p>
128         <!-- /TMPL_IF -->
129         <!-- TMPL_IF name="classification" -->
130             <p><label><b>classification:</b></label><!-- TMPL_VAR name="subclass" --><!-- TMPL_VAR name="classification" --></p>
131         <!-- /TMPL_IF -->
132         <!-- TMPL_IF name="dewey" -->
133             <p><label><b>Dewey:</b></label><!-- TMPL_VAR name="dewey" --></p>
134         <!-- /TMPL_IF -->
135         <!-- TMPL_IF name="URLS" -->
136             <p><label><b>URL: </b></label>
137                 <!-- TMPL_LOOP name="URLS" -->
138                     <a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a>&nbsp;
139                 <!-- /TMPL_LOOP -->
140             </p>
141         <!-- /TMPL_IF -->
142         <p><label><b>Item type : </b></label>
143             <!-- TMPL_IF name="description" -->
144                 <!-- TMPL_VAR name="description" -->
145             <!-- TMPL_ELSE -->
146                 <!-- TMPL_VAR NAME="itemtype" -->
147             <!-- /TMPL_IF -->
148         </p>
149     </div>
150
151 <!-- TMPL_IF name="count" -->
152     <div id="catalogue_detail_items">
153         <h2><!-- TMPL_VAR NAME="count" --> items</h2>
154         <table>
155             <tr>
156                 <th>Item type</th>
157                 <th>Location</th>
158                 <th>Status</th>
159                 <th>Date Due</th>
160                 <th>Last seen</th>
161                 <th>Barcode</th>
162                 <th>Volume</th>
163             </tr>
164             <!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
165                 <tr>
166                     <td><!-- TMPL_VAR NAME="description" --></td>
167                     <td><!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR name="location" --> <!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
168                     <td><!-- TMPL_IF name="datedue" -->
169                             On issue to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a>
170                         <!-- TMPL_ELSE -->
171                             <!-- TMPL_IF name="notforloan" -->
172                                 <!-- TMPL_VAR name="notforloan" -->
173                             <!-- TMPL_ELSE -->
174                                 <!-- TMPL_IF name="itemlost"-->
175                                     Item lost
176                                 <!-- TMPL_ELSE -->
177                                 <!-- TMPL_IF NAME="wthdrawn" -->Item Cancelled<!-- TMPL_ELSE -->Available<!-- /TMPL_IF -->
178                                 <!-- /TMPL_IF -->
179                             <!-- /TMPL_IF -->
180                         <!-- /TMPL_IF --></td>
181                     <td><!-- TMPL_VAR NAME="datedue" --></td>
182                     <td><!-- TMPL_VAR NAME="datelastseen" --></td>
183                     <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=<!-- TMPL_VAR NAME="type" -->&amp;item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a></td>
184                     <td><!-- TMPL_VAR NAME="volumeddesc" --></td>
185                     <!-- TMPL_IF NAME="type" -->
186                         <td>    <a href="/cgi-bin/koha/maint/catmaintain.pl?type=fixitemtype&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->&amp;item=<!-- TMPL_VAR NAME="itemtype" -->">Fix Itemtype</a>
187                         </td>
188                     <!-- /TMPL_IF -->
189                 </tr>
190             <!-- /TMPL_LOOP -->
191         </table>
192     </div>
193 <!-- TMPL_ELSE -->
194     <p>we don't have any physical item for this document</p>
195 <!-- /TMPL_IF -->
196 <!-- TMPL_IF name="subscriptionsnumber" -->
197 <div id="catalogue_detail_subscriptions">
198     <h2>This is a serial subscription</h2>
199     <p> (We have <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions associated with this title).</p> 
200     <!-- TMPL_LOOP Name="subscriptions" -->
201             <!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR NAME="subscriptionnotes"--> </p><!-- /TMPL_IF -->
202             <!--TMPL_IF NAME="latestserials"-->
203             <p> The three latest issues related to this subscription:</p>
204             <table>
205                 <tr>
206                     <th>Issue #</th>
207                     <th>Date</th>
208                     <th>Status</th>
209                     <th>Note</th>
210                                 </tr>
211             <!--TMPL_LOOP Name="latestserials"-->
212                 <tr>
213                     <td><!--TMPL_VAR Name="serialseq"--></td>
214                     <td><!--TMPL_VAR Name="planneddate"--></td>
215                     <td><!--TMPL_IF Name="status1"-->Waited
216                         <!--TMPL_ELSE -->
217                             <!-- TMPL_IF Name="status2"-->Arrived
218                             <!--TMPL_ELSE -->
219                                 <!-- TMPL_IF Name="status3"-->Late
220                                 <!--TMPL_ELSE -->
221                                     <!-- TMPL_IF Name="status4"-->Missing
222                                     <!--TMPL_ELSE -->
223                                         <!-- TMPL_IF Name="status5"-->Not Issued
224                                         <!--/TMPL_IF-->
225                                     <!--/TMPL_IF-->
226                                 <!--/TMPL_IF-->
227                             <!--/TMPL_IF-->
228                         <!--/TMPL_IF--></td>
229                     <td><!--TMPL_VAR Name="notes"--></td>
230                 </tr>
231             <!--/TMPL_LOOP -->
232             </table>
233             <!-- /TMPL_IF -->
234     <!-- /TMPL_LOOP -->
235 </div>
236 <!-- /TMPL_IF -->
237
238
239
240 </div>
241 </div>
242 </div>
243
244 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
245 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->