1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 Koha -- Authority details
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
5 <!-- TMPL_INCLUDE NAME="menus.inc" -->
6 <!-- TMPL_INCLUDE NAME="menu-authorities.inc" -->
8 <!-- TMPL_IF Name="displayhierarchy"-->
9 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/hierarchy.css">
10 <script language="JavaScript" type="text/javascript">
11 function showParents(mynumber) {
12 var parents=document.getElementsByName(mynumber+'p')
13 for(i=0;i<parents.length;i++){
14 if (parents[i].style.display == "none") {
15 parents[i].style.display ="block";
17 parents[i].style.display ="none";
21 function showChildren(mynumber) {
22 var children=document.getElementsByName(mynumber+'c')
23 for(i=0;i<children.length;i++){
24 if (children[i].style.display == "none") {
25 children[i].style.display = "block";
27 children[i].style.display = "none";
33 <div class="hierarchies">
34 <!--TMPL_LOOP Name="loophierarchies" -->
35 <div class="hierarchy">
36 <!--TMPL_LOOP Name="loopelement" -->
37 <div id="<!--TMPL_VAR Name="loopauthid" -->" class="<!--TMPL_VAR Name="class" -->">
38 <!--TMPL_IF Name="ifparents" -->
39 <!--TMPL_LOOP Name="loopparents" -->
40 <div name="<!--TMPL_VAR Name="loopauthid" -->p" class="parent"> <a href="detail.pl?authid=<!--TMPL_VAR Name="parentauthid" -->"><!--TMPL_VAR Name="parentvalue" --></a></div>
43 <!-- TMPL_IF name="current_value" -->
44 <!--TMPL_VAR Name="value" -->
46 <a href="detail.pl?authid=<!--TMPL_VAR Name="loopauthid" -->" title="Term"><!--TMPL_VAR Name="value" --></a>
48 <!--TMPL_IF Name="ifchildren" -->
49 <sub><a class="parents" title="Narrower terms" href="JavaScript:showChildren('<!--TMPL_VAR Name="loopauthid" -->');">+</a></sub><br/>
50 <!--TMPL_LOOP Name="loopchildren" -->
51 <div name="<!--TMPL_VAR Name="loopauthid" -->c" class="child"> <a href="detail.pl?authid=<!--TMPL_VAR Name="childauthid" -->"><!--TMPL_VAR Name="childvalue" --></a></div>
62 <h1 class="authority">Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
65 <a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">Edit</a>
67 <!-- TMPL_UNLESS name="count" -->
68 <a href="javascript:confirm_deletion()">Delete</a>
71 <a href="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR NAME="authid" -->')" class="button authority">Print</a>
73 <a href="../catalogue/search.pl?type=intranet&op=do_search&q=an=<!--TMPL_VAR Name="authid" -->" class="button authority"><!-- TMPL_VAR name="count" --> biblios</a>
76 <div id="authorities_detail_details">
77 <!-- TMPL_LOOP NAME="0XX" -->
78 <!-- TMPL_IF name="tag" -->
80 <!-- TMPL_VAR NAME="tag" -->
85 <!-- TMPL_LOOP NAME="subfield" -->
88 <!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
89 <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
90 <!-- TMPL_VAR NAME="marc_value" -->
91 <!-- TMPL_IF name="link" -->
92 <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&marclist=<!-- TMPL_VAR NAME="link" -->&operator==&type=intranet&value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
93 <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
96 <!-- TMPL_IF NAME="authority" -->
97 <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
102 <!-- /TMPL_LOOP --> <!-- tag -->
105 <script language="JavaScript" type="text/javascript">
107 function confirm_deletion() {
108 var is_confirmed = confirm('Are you sure you want to delete this authority?');
110 window.location="authorities-home.pl?op=delete&authid=<!-- TMPL_VAR NAME="authid" -->";
113 function Dopop(link) {
114 newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
118 <!-- TMPL_INCLUDE name="intranet-bottom.inc" -->