New XML API
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / authorities / detail.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Authorities 
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 <!--TMPL_UNLESS NAME="nonav"--><!-- TMPL_INCLUDE NAME="masthead.inc" --><!--/TMPL_UNLESS-->
4 <!-- TMPL_INCLUDE NAME="authorities-topmenu.inc" -->
5 <!--TMPL_UNLESS NAME="nonav"--><!-- TMPL_INCLUDE NAME="intranet-nav-brief.inc" --><!--/TMPL_UNLESS-->
6
7
8 <div id="main">
9 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/marc-editor.css">
10 <div class="tabbed"><input type="hidden" name="nonav" value="<!-- TMPL_VAR NAME="nonav" -->">
11         <h1>Authority number : <!-- TMPL_VAR NAME="authid" --> in <!-- TMPL_VAR NAME="authtypetext" --></h1>
12         <a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->&nonav=<!-- TMPL_VAR NAME="nonav" -->&authtypecode=<!-- TMPL_VAR name="authtypecode" -->"">
13                 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png">
14         </a>
15         <!--TMPL_UNLESS NAME="nonav"--><a href="javascript:confirm_deletion()">
16                 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png">
17         </a>
18         <a href="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR NAME="authid" -->')" class="button authority">
19                 Print
20         </a><!--/TMPL_UNLESS--><!--TMPL_IF NAME="count"-->&nbsp;<a href="/cgi-bin/koha/catalogue/catalogue-search.pl?value=<!-- TMPL_VAR NAME="authid" -->&kohafield=auth_authid&amp;op=do_search&amp;zoom=1" class="button authority">Used in <!-- TMPL_VAR NAME="count" --> biblio(s)</a><!--/TMPL_IF-->
21 </div>
22
23 <div name="0XX" id="0XX" class="tab" style="visibility:visible">
24         <!-- TMPL_LOOP NAME="0XX" -->
25                         <p class="MARCtag">
26                                 <!-- TMPL_VAR NAME="tag" -->
27                         </p>
28                 <!-- TMPL_LOOP NAME="subfield" -->
29                         <p>
30                                 <label class="labelsubfield">
31                                 <a href="/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&authtypecode=<!-- TMPL_VAR NAME="authtypecode" -->&marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&and_or=and&excluding=&operator=all&stype=author&value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
32                                         <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15">
33                                 </a>
34                                 <!-- TMPL_VAR NAME="marc_subfield" -->
35                                 <!-- TMPL_VAR NAME="marc_lib" --></label>
36                                 <!-- TMPL_VAR NAME="marc_value" -->
37                         </p>
38                 <!-- /TMPL_LOOP -->
39         <!-- /TMPL_LOOP -->
40 </div>
41         
42 <script language="JavaScript" type="text/javascript">
43
44 function confirm_deletion() {
45         var is_confirmed = confirm('Are you sure you want to delete this biblio?');
46         if (is_confirmed) {
47                 window.location="authorities.pl?op=delete&authid=<!-- TMPL_VAR NAME="authid" -->&nonav=<!-- TMPL_VAR NAME="nonav" -->";
48         }
49 }
50 function Dopop(link) {
51         newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
52 }
53 </script>
54 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->