adding link to item modifs in MARC detail
[koha.git] / koha-tmpl / intranet-tmpl / default / en / catalogue / MARCdetail.tmpl
1 <!-- TMPL_INCLUDE NAME="marc-top.inc" -->
2
3 <div class="tabbed">
4         <h1 class="catalogue">MARC biblio : <!-- TMPL_VAR NAME="bibid" --></h1>
5         <a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
6                 Edit biblio
7         </a>
8         <a href="acqui.simple/additem.pl?bibid=<!-- TMPL_VAR name="bibid"-->" class="button catalogue">
9                 Edit item
10         </a>
11
12         <a href="javascript:confirm_deletion()" class="button catalogue">
13                 delete
14         </a>
15         <a href="detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
16                 Normal
17         </a>
18         <a href="ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
19                 ISBD
20         </a>
21         <a href="javascript:Dopop('bookshelves/addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
22                 Add to shelf
23         </a>
24         <a href="javascript:Dopop('detailprint.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
25                 Print
26         </a>
27         <!-- TMPL_IF name="subscriptionid" -->
28         <a href="bull/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->" class="button catalogue">
29                 Subscription
30         </a>
31         <a href="bull/serial-issues.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->" class="button catalogue" title="Serial issues">
32                 Issues
33         </a>
34         <!-- /TMPL_IF -->
35         <!-- TMPL_IF NAME="norequests" -->
36         <!-- TMPL_ELSE -->
37                 <a href="request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Request</a>
38         <!-- /TMPL_IF -->
39 </div>
40
41         <div class="tabs">
42                 <!-- TMPL_IF NAME="0XX" -->
43                         <div id="link0"><a href="javascript:active(0)">0</a></div>
44                 <!-- /TMPL_IF -->
45                 <!-- TMPL_IF NAME="1XX" -->
46                         <div id="link1"><a href="javascript:active(1)">1</a></div>
47                 <!-- /TMPL_IF -->
48                 <!-- TMPL_IF NAME="2XX" -->
49                         <div id="link2"><a href="javascript:active(2)">2</a></div>
50                 <!-- /TMPL_IF -->
51                 <!-- TMPL_IF NAME="3XX" -->
52                         <div id="link3"><a href="javascript:active(3)">3</a></div>
53                 <!-- /TMPL_IF -->
54                 <!-- TMPL_IF NAME="4XX" -->
55                         <div id="link4"><a href="javascript:active(4)">4</a></div>
56                 <!-- /TMPL_IF -->
57                 <!-- TMPL_IF NAME="5XX" -->
58                         <div id="link5"><a href="javascript:active(5)">5</a></div>
59                 <!-- /TMPL_IF -->
60                 <!-- TMPL_IF NAME="6XX" -->
61                         <div id="link6"><a href="javascript:active(6)">6</a></div>
62                 <!-- /TMPL_IF -->
63                 <!-- TMPL_IF NAME="7XX" -->
64                         <div id="link7"><a href="javascript:active(7)">7</a></div>
65                 <!-- /TMPL_IF -->
66                 <!-- TMPL_IF NAME="8XX" -->
67                         <div id="link8"><a href="javascript:active(8)">8</a></div>
68                 <!-- /TMPL_IF -->
69                 <!-- TMPL_IF NAME="9XX" -->
70                         <div id="link9"><a href="javascript:active(9)">9</a></div>
71                 <!-- /TMPL_IF -->
72                 <a href="javascript:active(10)">I<br>t<br>e<br>m<br>s</a>
73         </div>
74
75         <div name="0XX" id="0XX" class="tab" style="visibility:visible">
76                 <!-- TMPL_LOOP NAME="0XX" -->
77                                 <p class="MARCtag">
78                                         <!-- TMPL_VAR NAME="tag" -->
79                                 </p>
80                         <!-- TMPL_LOOP NAME="subfield" -->
81                                 <p>
82                                         <label class="labelsubfield">
83                                         <a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator=&amp;#x003D&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
84                                                 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
85                                         </a>
86                                         <!-- TMPL_VAR NAME="marc_subfield" -->
87                                         <!-- TMPL_VAR NAME="marc_lib" --></label>
88                                         <!-- TMPL_VAR NAME="marc_value" -->
89                                 </p>
90                         <!-- /TMPL_LOOP -->
91                 <!-- /TMPL_LOOP -->
92         </div>
93         
94         <div id="1XX" class="tab">
95                 <!-- TMPL_LOOP NAME="1XX" -->
96                                 <p class="MARCtag">
97                                         <!-- TMPL_VAR NAME="tag" -->
98                                 </p>
99                         <!-- TMPL_LOOP NAME="subfield" -->
100                                 <p>
101                                         <label class="labelsubfield">
102                                         <a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator=&amp;#x003D&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
103                                                 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
104                                         </a>
105                                         <!-- TMPL_VAR NAME="marc_subfield" -->
106                                         <!-- TMPL_VAR NAME="marc_lib" --></label>
107                                         <!-- TMPL_VAR NAME="marc_value" -->
108                                 </p>
109                         <!-- /TMPL_LOOP -->
110                 <!-- /TMPL_LOOP -->
111         </div>
112         
113         <div id="2XX" class="tab">
114                 <!-- TMPL_LOOP NAME="2XX" -->
115                                 <p class="MARCtag">
116                                         <!-- TMPL_VAR NAME="tag" -->
117                                 </p>
118                         <!-- TMPL_LOOP NAME="subfield" -->
119                                 <p>
120                                         <label class="labelsubfield">
121                                         <a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator=&amp;#x003D&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
122                                                 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
123                                         </a>
124                                         <!-- TMPL_VAR NAME="marc_subfield" -->
125                                         <!-- TMPL_VAR NAME="marc_lib" --></label>
126                                         <!-- TMPL_VAR NAME="marc_value" -->
127                                 </p>
128                         <!-- /TMPL_LOOP -->
129                 <!-- /TMPL_LOOP -->
130         </div>
131         
132         <div id="3XX" class="tab">
133                 <!-- TMPL_LOOP NAME="3XX" -->
134                                 <p class="MARCtag">
135                                         <!-- TMPL_VAR NAME="tag" -->
136                                 </p>
137                         <!-- TMPL_LOOP NAME="subfield" -->
138                                 <p>
139                                         <label class="labelsubfield">
140                                         <a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator=&amp;#x003D&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
141                                                 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
142                                         </a>
143                                         <!-- TMPL_VAR NAME="marc_subfield" -->
144                                         <!-- TMPL_VAR NAME="marc_lib" --></label>
145                                         <!-- TMPL_VAR NAME="marc_value" -->
146                                 </p>
147                         <!-- /TMPL_LOOP -->
148                 <!-- /TMPL_LOOP -->
149         </div>
150         
151         <div id="4XX" class="tab">
152                 <!-- TMPL_LOOP NAME="4XX" -->
153                                 <p class="MARCtag">
154                                         <!-- TMPL_VAR NAME="tag" -->
155                                 </p>
156                         <!-- TMPL_LOOP NAME="subfield" -->
157                                 <p>
158                                         <label class="labelsubfield">
159                                         <a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator=&amp;#x003D&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
160                                                 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
161                                         </a>
162                                         <!-- TMPL_VAR NAME="marc_subfield" -->
163                                         <!-- TMPL_VAR NAME="marc_lib" --></label>
164                                         <!-- TMPL_VAR NAME="marc_value" -->
165                                 </p>
166                         <!-- /TMPL_LOOP -->
167                 <!-- /TMPL_LOOP -->
168         </div>
169         
170         <div  id="5XX" class="tab">
171                 <!-- TMPL_LOOP NAME="5XX" -->
172                                 <p class="MARCtag">
173                                         <!-- TMPL_VAR NAME="tag" -->
174                                 </p>
175                         <!-- TMPL_LOOP NAME="subfield" -->
176                                 <p>
177                                         <label class="labelsubfield">
178                                         <a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator=&amp;#x003D&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
179                                                 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
180                                         </a>
181                                         <!-- TMPL_VAR NAME="marc_subfield" -->
182                                         <!-- TMPL_VAR NAME="marc_lib" --></label>
183                                         <!-- TMPL_VAR NAME="marc_value" -->
184                                 </p>
185                         <!-- /TMPL_LOOP -->
186                 <!-- /TMPL_LOOP -->
187         </div>
188         
189         <div id="6XX" class="tab">
190                 <!-- TMPL_LOOP NAME="6XX" -->
191                                 <p class="MARCtag">
192                                         <!-- TMPL_VAR NAME="tag" -->
193                                 </p>
194                         <!-- TMPL_LOOP NAME="subfield" -->
195                                 <p>
196                                         <label class="labelsubfield">
197                                         <a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator=&amp;#x003D&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
198                                                 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
199                                         </a>
200                                         <!-- TMPL_VAR NAME="marc_subfield" -->
201                                         <!-- TMPL_VAR NAME="marc_lib" --></label>
202                                         <!-- TMPL_VAR NAME="marc_value" -->
203                                 </p>
204                         <!-- /TMPL_LOOP -->
205                 <!-- /TMPL_LOOP -->
206         </div>
207         
208         <div  id="7XX" class="tab">
209                 <!-- TMPL_LOOP NAME="7XX" -->
210                                 <p class="MARCtag">
211                                         <!-- TMPL_VAR NAME="tag" -->
212                                 </p>
213                         <!-- TMPL_LOOP NAME="subfield" -->
214                                 <p>
215                                         <label class="labelsubfield">
216                                         <a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator=&amp;#x003D&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
217                                                 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
218                                         </a>
219                                         <!-- TMPL_VAR NAME="marc_subfield" -->
220                                         <!-- TMPL_VAR NAME="marc_lib" --></label>
221                                         <!-- TMPL_VAR NAME="marc_value" -->
222                                 </p>
223                         <!-- /TMPL_LOOP -->
224                 <!-- /TMPL_LOOP -->
225         </div>
226         
227         <div id="8XX" class="tab">
228                 <!-- TMPL_LOOP NAME="8XX" -->
229                                 <p class="MARCtag">
230                                         <!-- TMPL_VAR NAME="tag" -->
231                                 </p>
232                         <!-- TMPL_LOOP NAME="subfield" -->
233                                 <p>
234                                         <label class="labelsubfield">
235                                         <a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator=&amp;#x003D&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
236                                                 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
237                                         </a>
238                                         <!-- TMPL_VAR NAME="marc_subfield" -->
239                                         <!-- TMPL_VAR NAME="marc_lib" --></label>
240                                         <!-- TMPL_VAR NAME="marc_value" -->
241                                 </p>
242                         <!-- /TMPL_LOOP -->
243                 <!-- /TMPL_LOOP -->
244         </div>
245         
246         <div id="9XX" class="tab">
247                 <!-- TMPL_LOOP NAME="9XX" -->
248                                 <p class="MARCtag">
249                                         <!-- TMPL_VAR NAME="tag" -->
250                                 </p>
251                         <!-- TMPL_LOOP NAME="subfield" -->
252                                 <p>
253                                         <label class="labelsubfield">
254                                         <a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator=&amp;#x003D&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
255                                                 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
256                                         </a>
257                                         <!-- TMPL_VAR NAME="marc_subfield" -->
258                                         <!-- TMPL_VAR NAME="marc_lib" --></label>
259                                         <!-- TMPL_VAR NAME="marc_value" -->
260                                 </p>
261                         <!-- /TMPL_LOOP -->
262                 <!-- /TMPL_LOOP -->
263         </div>
264         
265         <div id="10XX" class="tab">
266                 <p class="MARCtag">Items</p>
267                 <br/>
268                 <table class="noborder">
269                                 <tr>
270                                         <!-- TMPL_LOOP NAME="item_header_loop" -->
271                                                 <th class="noborder">
272                                                         <!-- TMPL_VAR NAME="header_value" -->
273                                                 </th>
274                                         <!-- /TMPL_LOOP -->
275                                 </tr>
276                                 <!-- TMPL_LOOP NAME="item_loop" -->
277                                         <tr>
278                                                 <!-- TMPL_VAR NAME="item_value" -->
279                                         </tr>
280                                 <!-- /TMPL_LOOP -->
281                 </table>
282         </div>
283 <script language="JavaScript" type="text/javascript">
284 function active(numlayer)
285 {
286         for (i=0; i <= 10 ; i++ ) {
287                 ong = i+"XX";
288                 link = "link"+i;
289                 if (numlayer==i) {
290                         document.getElementById(ong).style.visibility="visible";
291                 } else {
292                         document.getElementById(ong).style.visibility="hidden";
293                 }
294         }
295 }
296
297 function confirm_deletion() {
298         var is_confirmed = confirm('Are you sure you want to delete this biblio?');
299         if (is_confirmed) {
300                 window.location="acqui.simple/addbiblio.pl?op=delete&amp;bibid=<!-- TMPL_VAR NAME="bibid" -->";
301         }
302 }
303 function Dopop(link) {
304         newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
305 }
306 </script>
307 </body>
308 </html>