Cleaning up
[koha.git] / koha-tmpl / intranet-tmpl / default / de / authorities / detail-biblio-search.tmpl
1 <!-- TMPL_INCLUDE NAME="auth-top.inc" -->
2 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/marc-editor.css">
3 <div class="tabbed">
4         <h1 class="authority">Autorit&auml;tsnummer : <!-- TMPL_VAR NAME="authid" --></h1>
5         <a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
6                 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png">
7         </a>
8         <a href="javascript:confirm_deletion()">
9                 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png">
10         </a>
11         <a href="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR NAME="authid" -->&index=<!-- TMPL_VAR NAME="index" -->')" class="button authority">
12                 Druck
13         </a>
14         <a href="javascript:CopyValues()">      <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/arrow.gif" height="45" width="45">
15
16         </a>
17 </div>
18 <br><br><br>
19 <div name="0XX" id="0XX" class="tab" style="visibility:visible">
20         <!-- TMPL_LOOP NAME="0XX" -->
21                         <p class="MARCtag">
22                                 <!-- TMPL_VAR NAME="tag" -->
23                         </p>
24                 <!-- TMPL_LOOP NAME="subfield" -->
25                         <p>
26                                 <label class="labelsubfield">
27                                 <a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator=&#x003D&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
28                                         <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15">
29                                 </a>
30                                 <!-- TMPL_VAR NAME="marc_subfield" -->
31                                 <!-- TMPL_VAR NAME="marc_lib" --></label>
32                                 <!-- TMPL_VAR NAME="marc_value" -->
33                         </p>
34                 <!-- /TMPL_LOOP -->
35         <!-- /TMPL_LOOP -->
36 </div>
37         
38 <script language="JavaScript" type="text/javascript">
39
40 function confirm_deletion() {
41         var is_confirmed = confirm('Sind Sie sicher, da&szlig Sie diesen Biblio l&ouml;schen wollen?');
42         if (is_confirmed) {
43                 window.location="acqui.simple/addbiblio.pl?op=delete&amp;bibid=<!-- TMPL_VAR NAME="bibid" -->";
44         }
45 }
46 function Dopop(link) {
47         newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
48 }
49
50 function CopyValues()
51 {
52 var index_start = <!-- TMPL_VAR NAME="index" -->;
53 opener.opener.document.f.field_value[index_start].value = '<!-- TMPL_VAR NAME="authid">';
54 var whichfield = opener.opener.document.f.tag[index_start].value;
55 for (i=index_start ; i<opener.opener.document.f.field_value.length ; i++) {
56
57 if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '9') 
58         {
59                 opener.opener.document.f.field_value[i].value = '<!-- TMPL_VAR NAME="authid">';
60         }
61
62 }
63
64
65 <!-- TMPL_LOOP NAME="0XX" -->
66    <!-- TMPL_LOOP NAME="subfield" -->
67 for (i=index_start ; i<opener.opener.document.f.field_value.length ; i++) {
68
69 if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '<!-- TMPL_VAR NAME="marc_subfield" -->') 
70         {
71                 opener.opener.document.f.field_value[i].value = '<!-- TMPL_VAR NAME="marc_value" -->';
72         }
73
74 }
75         
76    <!-- /TMPL_LOOP -->
77 <!-- /TMPL_LOOP -->
78         opener.close();
79         self.close();
80         return false;
81         
82 }
83
84 </script>
85 </body>
86 </html>