synch'ing 2.2 and head
[koha.git] / koha-tmpl / intranet-tmpl / default / en / authorities / detail.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">Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</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" -->')" class="button authority">
12                 Print
13         </a>
14         <a href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding=" class="button authority"><!-- TMPL_VAR name="count" --> biblios</a>
15 </div>
16
17 <div name="0XX" id="0XX" class="tab" style="visibility:visible">
18         <!-- TMPL_LOOP NAME="0XX" -->
19                         <p class="MARCtag">
20                                 <!-- TMPL_VAR NAME="tag" -->
21                         </p>
22                 <!-- TMPL_LOOP NAME="subfield" -->
23                         <p>
24                                 <label class="labelsubfield">
25                                 <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 -->">
26                                         <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15">
27                                 </a>
28                                 <!-- TMPL_VAR NAME="marc_subfield" -->
29                                 <!-- TMPL_VAR NAME="marc_lib" --></label>
30                                 <!-- TMPL_VAR NAME="marc_value" -->
31                         </p>
32                 <!-- /TMPL_LOOP -->
33         <!-- /TMPL_LOOP -->
34 </div>
35         
36 <script language="JavaScript" type="text/javascript">
37
38 function confirm_deletion() {
39         var is_confirmed = confirm('Are you sure you want to delete this authority?');
40         if (is_confirmed) {
41                 window.location="authorities-home.pl?op=delete&amp;authid=<!-- TMPL_VAR NAME="authid" -->";
42         }
43 }
44 function Dopop(link) {
45         newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
46 }
47 </script>
48 </body>
49 </html>