rel_3_0 moved to HEAD
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / catalogue / MARCdetail.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Catalogue MARC detail<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2
3 <!-- TMPL_INCLUDE NAME="menus.inc" -->
4 <!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
5
6
7 <!-- TMPL_UNLESS name="popup" -->
8     <h1>
9         MARC biblio : <!-- TMPL_VAR NAME="biblionumber" -->
10     </h1>
11     
12 <!-- TMPL_INCLUDE NAME="action-catalogue.inc" -->
13
14 <!-- /TMPL_UNLESS -->
15
16     <p><b>With Framework :<!--TMPL_VAR Name="framework" --></b></p>
17     
18     <div id="tabs">
19         <!-- TMPL_IF NAME="0XX" -->
20             <a href="javascript:active(0)" class="tab_active" id="link0">0</a>
21         <!-- /TMPL_IF -->
22         <!-- TMPL_IF NAME="1XX" -->
23             <a href="javascript:active(1)" class="tab_inactive" id="link1">1</a>
24         <!-- /TMPL_IF -->
25         <!-- TMPL_IF NAME="2XX" -->
26             <a href="javascript:active(2)" class="tab_inactive" id="link2">2</a>
27         <!-- /TMPL_IF -->
28         <!-- TMPL_IF NAME="3XX" -->
29             <a href="javascript:active(3)" class="tab_inactive" id="link3">3</a>
30         <!-- /TMPL_IF -->
31         <!-- TMPL_IF NAME="4XX" -->
32             <a href="javascript:active(4)" class="tab_inactive" id="link4">4</a>
33         <!-- /TMPL_IF -->
34         <!-- TMPL_IF NAME="5XX" -->
35             <a href="javascript:active(5)" class="tab_inactive" id="link5">5</a>
36         <!-- /TMPL_IF -->
37         <!-- TMPL_IF NAME="6XX" -->
38             <a href="javascript:active(6)" class="tab_inactive" id="link6">6</a>
39         <!-- /TMPL_IF -->
40         <!-- TMPL_IF NAME="7XX" -->
41             <a href="javascript:active(7)" class="tab_inactive" id="link7">7</a>
42         <!-- /TMPL_IF -->
43         <!-- TMPL_IF NAME="8XX" -->
44             <a href="javascript:active(8)" class="tab_inactive" id="link8">8</a>
45         <!-- /TMPL_IF -->
46         <!-- TMPL_IF NAME="9XX" -->
47             <a href="javascript:active(9)" class="tab_inactive" id="link9">9</a>
48         <!-- /TMPL_IF -->
49         <a href="javascript:active(10)" class="tab_inactive" id="link10">Items</a>
50     </div>
51
52     <div name="0XX" id="0XX" class="content_visible">
53         <!-- TMPL_LOOP NAME="0XX" -->
54                 <!-- TMPL_IF name="tag" -->
55                     <p class="tag">
56                         <!-- TMPL_VAR NAME="tag" -->
57                     </p>
58                 <!-- TMPL_ELSE -->
59                     <br />
60                 <!-- /TMPL_IF -->
61             <!-- TMPL_LOOP NAME="subfield" -->
62                 <p class="subfield">
63                     <label>&nbsp;
64                     <!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
65                     <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
66                     <!-- TMPL_VAR NAME="marc_value" -->
67                     <!-- TMPL_IF name="link" -->
68                         <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
69                             <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
70                         </a>
71                     <!-- /TMPL_IF -->
72                     <!-- TMPL_IF NAME="authority" -->
73                         <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
74                     <!-- /TMPL_IF -->
75                 </p>
76             <!-- /TMPL_LOOP -->
77         <!-- /TMPL_LOOP -->
78     </div>
79     
80     <div id="1XX" class="content_hidden">
81         <!-- TMPL_LOOP NAME="1XX" -->
82                 <!-- TMPL_IF name="tag" -->
83                     <p>
84                         <!-- TMPL_VAR NAME="tag" -->
85                     </p>
86                 <!-- TMPL_ELSE -->
87                     <br />
88                 <!-- /TMPL_IF -->
89             <!-- TMPL_LOOP NAME="subfield" -->
90                 <p>
91                     <label>&nbsp;
92                     <!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
93                     <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
94                     <!-- TMPL_VAR NAME="marc_value" -->
95                     <!-- TMPL_IF name="link" -->
96                         <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
97                             <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
98                         </a>
99                     <!-- /TMPL_IF -->
100                     <!-- TMPL_IF NAME="authority" -->
101                         <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
102                     <!-- /TMPL_IF -->
103                 </p>
104             <!-- /TMPL_LOOP -->
105         <!-- /TMPL_LOOP -->
106     </div>
107     
108     <div id="2XX" class="content_hidden">
109         <!-- TMPL_LOOP NAME="2XX" -->
110                 <!-- TMPL_IF name="tag" -->
111                     <p>
112                         <!-- TMPL_VAR NAME="tag" -->
113                     </p>
114                 <!-- TMPL_ELSE -->
115                     <br />
116                 <!-- /TMPL_IF -->
117             <!-- TMPL_LOOP NAME="subfield" -->
118                 <p>
119                     <label>&nbsp;
120                     <!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
121                     <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
122                     <!-- TMPL_VAR NAME="marc_value" -->
123                     <!-- TMPL_IF name="link" -->
124                         <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
125                             <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
126                         </a>
127                     <!-- /TMPL_IF -->
128                     <!-- TMPL_IF NAME="authority" -->
129                         <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
130                     <!-- /TMPL_IF -->
131                 </p>
132             <!-- /TMPL_LOOP -->
133         <!-- /TMPL_LOOP -->
134     </div>
135     
136     <div id="3XX" class="content_hidden">
137         <!-- TMPL_LOOP NAME="3XX" -->
138                 <!-- TMPL_IF name="tag" -->
139                     <p>
140                         <!-- TMPL_VAR NAME="tag" -->
141                     </p>
142                 <!-- TMPL_ELSE -->
143                     <br />
144                 <!-- /TMPL_IF -->
145             <!-- TMPL_LOOP NAME="subfield" -->
146                 <p>
147                     <label>&nbsp;
148                     <!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
149                     <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
150                     <!-- TMPL_VAR NAME="marc_value" -->
151                     <!-- TMPL_IF name="link" -->
152                         <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
153                             <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
154                         </a>
155                     <!-- /TMPL_IF -->
156                     <!-- TMPL_IF NAME="authority" -->
157                         <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
158                     <!-- /TMPL_IF -->
159                 </p>
160             <!-- /TMPL_LOOP -->
161         <!-- /TMPL_LOOP -->
162     </div>
163     
164     <div id="4XX" class="content_hidden">
165         <!-- TMPL_LOOP NAME="4XX" -->
166                 <!-- TMPL_IF name="tag" -->
167                     <p>
168                         <!-- TMPL_VAR NAME="tag" -->
169                     </p>
170                 <!-- TMPL_ELSE -->
171                     <br />
172                 <!-- /TMPL_IF -->
173             <!-- TMPL_LOOP NAME="subfield" -->
174                 <p>
175                     <label>&nbsp;
176                     <!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
177                     <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
178                     <!-- TMPL_VAR NAME="marc_value" -->
179                     <!-- TMPL_IF name="link" -->
180                         <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
181                             <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
182                         </a>
183                     <!-- /TMPL_IF -->
184                     <!-- TMPL_IF NAME="authority" -->
185                         <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
186                     <!-- /TMPL_IF -->
187                 </p>
188             <!-- /TMPL_LOOP -->
189         <!-- /TMPL_LOOP -->
190     </div>
191     
192     <div  id="5XX" class="content_hidden">
193         <!-- TMPL_LOOP NAME="5XX" -->
194                 <!-- TMPL_IF name="tag" -->
195                     <p>
196                         <!-- TMPL_VAR NAME="tag" -->
197                     </p>
198                 <!-- TMPL_ELSE -->
199                     <br />
200                 <!-- /TMPL_IF -->
201             <!-- TMPL_LOOP NAME="subfield" -->
202                 <p>
203                     <label>&nbsp;
204                     <!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
205                     <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
206                     <!-- TMPL_VAR NAME="marc_value" -->
207                     <!-- TMPL_IF name="link" -->
208                         <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
209                             <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
210                         </a>
211                     <!-- /TMPL_IF -->
212                     <!-- TMPL_IF NAME="authority" -->
213                         <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
214                     <!-- /TMPL_IF -->
215                 </p>
216             <!-- /TMPL_LOOP -->
217         <!-- /TMPL_LOOP -->
218     </div>
219     
220     <div id="6XX" class="content_hidden">
221         <!-- TMPL_LOOP NAME="6XX" -->
222                 <!-- TMPL_IF name="tag" -->
223                     <p>
224                         <!-- TMPL_VAR NAME="tag" -->
225                     </p>
226                 <!-- TMPL_ELSE -->
227                     <br />
228                 <!-- /TMPL_IF -->
229             <!-- TMPL_LOOP NAME="subfield" -->
230                 <p>
231                     <label>&nbsp;
232                     <!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
233                     <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
234                     <!-- TMPL_VAR NAME="marc_value" -->
235                     <!-- TMPL_IF name="link" -->
236                         <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
237                             <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
238                         </a>
239                     <!-- /TMPL_IF -->
240                     <!-- TMPL_IF NAME="authority" -->
241                         <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
242                     <!-- /TMPL_IF -->
243                 </p>
244             <!-- /TMPL_LOOP -->
245         <!-- /TMPL_LOOP -->
246     </div>
247     
248     <div  id="7XX" class="content_hidden">
249         <!-- TMPL_LOOP NAME="7XX" -->
250                 <!-- TMPL_IF name="tag" -->
251                     <p>
252                         <!-- TMPL_VAR NAME="tag" -->
253                     </p>
254                 <!-- TMPL_ELSE -->
255                     <br />
256                 <!-- /TMPL_IF -->
257             <!-- TMPL_LOOP NAME="subfield" -->
258                 <p>
259                     <label>&nbsp;
260                     <!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
261                     <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
262                     <!-- TMPL_VAR NAME="marc_value" -->
263                     <!-- TMPL_IF name="link" -->
264                         <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
265                             <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
266                         </a>
267                     <!-- /TMPL_IF -->
268                     <!-- TMPL_IF NAME="authority" -->
269                         <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
270                     <!-- /TMPL_IF -->
271                 </p>
272             <!-- /TMPL_LOOP -->
273         <!-- /TMPL_LOOP -->
274     </div>
275     
276     <div id="8XX" class="content_hidden">
277         <!-- TMPL_LOOP NAME="8XX" -->
278                 <!-- TMPL_IF name="tag" -->
279                     <p>
280                         <!-- TMPL_VAR NAME="tag" -->
281                     </p>
282                 <!-- TMPL_ELSE -->
283                     <br />
284                 <!-- /TMPL_IF -->
285             <!-- TMPL_LOOP NAME="subfield" -->
286                 <p>
287                     <label>&nbsp;
288                     <!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
289                     <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
290                     <!-- TMPL_VAR NAME="marc_value" -->
291                     <!-- TMPL_IF name="link" -->
292                         <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
293                             <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
294                         </a>
295                     <!-- /TMPL_IF -->
296                     <!-- TMPL_IF NAME="authority" -->
297                         <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
298                     <!-- /TMPL_IF -->
299                 </p>
300             <!-- /TMPL_LOOP -->
301         <!-- /TMPL_LOOP -->
302     </div>
303     
304     <div id="9XX" class="content_hidden">
305         <!-- TMPL_LOOP NAME="9XX" -->
306                 <!-- TMPL_IF name="tag" -->
307                     <p>
308                         <!-- TMPL_VAR NAME="tag" -->
309                     </p>
310                 <!-- TMPL_ELSE -->
311                     <br />
312                 <!-- /TMPL_IF -->
313             <!-- TMPL_LOOP NAME="subfield" -->
314                 <p>
315                     <label>&nbsp;
316                     <!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
317                     <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
318                     <!-- TMPL_VAR NAME="marc_value" -->
319                     <!-- TMPL_IF name="link" -->
320                         <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
321                             <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
322                         </a>
323                     <!-- /TMPL_IF -->
324                     <!-- TMPL_IF NAME="authority" -->
325                         <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
326                     <!-- /TMPL_IF -->
327                 </p>
328             <!-- /TMPL_LOOP -->
329         <!-- /TMPL_LOOP -->
330     </div>
331     
332     <div id="10XX" class="content_hidden">
333         <br/>
334         <table class="noborder">
335                 <tr>
336                     <!-- TMPL_LOOP NAME="item_header_loop" -->
337                         <th class="noborder">
338                             <!-- TMPL_VAR NAME="header_value" -->
339                         </th>
340                     <!-- /TMPL_LOOP -->
341                 </tr>
342                 <!-- TMPL_LOOP NAME="item_loop" -->
343                     <tr>
344                         <!-- TMPL_VAR NAME="item_value" -->
345                     </tr>
346                 <!-- /TMPL_LOOP -->
347         </table>
348     </div>
349 <script language="JavaScript" type="text/javascript">
350 function active(numlayer)
351 {
352     for (i=0; i <= 10 ; i++ ) {
353         var tab = document.getElementById(i+'XX');
354         if (numlayer==i) {
355             tab.setAttribute("class","content_visible");
356             var tabactive=document.getElementById('link'+i);
357             tabactive.removeAttribute("class");
358             tabactive.setAttribute("class","tab_active");
359         } else {
360             tab.setAttribute("class","content_hidden");
361             try {
362                 var tabactive=document.getElementById('link'+i);
363                 tabactive.removeAttribute("class");
364                 tabactive.setAttribute("class","tab_inactive");
365             }
366             catch(e){};
367         }
368     }
369 }
370
371 function confirm_deletion() {
372     var is_confirmed = confirm('Are you sure you want to delete this biblio?');
373     if (is_confirmed) {
374         window.location="../cataloguing/addbiblio.pl?op=delete&biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->";
375     }
376 }
377 function Dopop(link) {
378     newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
379 }
380 function Changefwk(FwkList) {
381 var fwk = FwkList.options[FwkList.selectedIndex].value;
382 window.location = "MARCdetail.pl?biblionumber=<!--TMPL_VAR Name="biblionumber"-->&frameworkcode="+fwk;
383 }
384 function Addbiblio(op) {
385 var fwk = document.forms['f'].Frameworks.options[document.forms['f'].Frameworks.selectedIndex].value;
386 window.location = "../cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&frameworkcode="+fwk+"&op="+op; 
387 }
388 </script>
389 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->