big commit, still breaking things...
[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         <!-- TMPL_UNLESS name="count" -->
9                 <a href="javascript:confirm_deletion()">
10                         <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png">
11                 </a>
12         <!-- /TMPL_UNLESS -->
13         <a href="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR NAME="authid" -->')" class="button authority">
14                 Print
15         </a>
16         <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>
17 </div>
18
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                                 <!-- TMPL_VAR NAME="marc_subfield" -->
28                                 <!-- TMPL_VAR NAME="marc_lib" --></label>
29                                 <!-- TMPL_VAR NAME="marc_value" -->
30                         </p>
31                 <!-- /TMPL_LOOP -->
32         <!-- /TMPL_LOOP -->
33 </div>
34         
35 <script language="JavaScript" type="text/javascript">
36
37 function confirm_deletion() {
38         var is_confirmed = confirm('Are you sure you want to delete this authority?');
39         if (is_confirmed) {
40                 window.location="authorities-home.pl?op=delete&amp;authid=<!-- TMPL_VAR NAME="authid" -->";
41         }
42 }
43 function Dopop(link) {
44         newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
45 }
46 </script>
47 </body>
48 </html>