1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Authority Details</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="menu-authorities.inc" -->
9 <div id="doc3" class="yui-t2">
13 <div class="yui-b"><div class="yui-g">
15 <!-- TMPL_IF Name="displayhierarchy"-->
16 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/css/hierarchy.css" />
17 <script language="JavaScript" type="text/javascript">
18 function showParents(mynumber) {
19 var parents=document.getElementsByName(mynumber+'p')
20 for(i=0;i<parents.length;i++){
21 if (parents[i].style.display == "none") {
22 parents[i].style.display ="block";
24 parents[i].style.display ="none";
28 function showChildren(mynumber) {
29 var children=document.getElementsByName(mynumber+'c')
30 for(i=0;i<children.length;i++){
31 if (children[i].style.display == "none") {
32 children[i].style.display = "block";
34 children[i].style.display = "none";
40 <div class="hierarchies">
41 <!--TMPL_LOOP Name="loophierarchies" -->
42 <div class="hierarchy">
43 <!--TMPL_LOOP Name="loopelement" -->
44 <div id="<!--TMPL_VAR Name="loopauthid" -->" class="<!--TMPL_VAR Name="class" -->">
45 <!--TMPL_IF Name="ifparents" -->
46 <!--TMPL_LOOP Name="loopparents" -->
47 <div name="<!--TMPL_VAR Name="loopauthid" -->p" class="parent"> <a href="detail.pl?authid=<!--TMPL_VAR Name="parentauthid" -->"><!--TMPL_VAR Name="parentvalue" --></a></div>
50 <!-- TMPL_IF name="current_value" -->
51 <!--TMPL_VAR Name="value" -->
53 <a href="detail.pl?authid=<!--TMPL_VAR Name="loopauthid" -->" title="Term"><!--TMPL_VAR Name="value" --></a>
55 <!--TMPL_IF Name="ifchildren" -->
56 <sub><a class="parents" title="Narrower terms" href="JavaScript:showChildren('<!--TMPL_VAR Name="loopauthid" -->');">+</a></sub><br />
57 <!--TMPL_LOOP Name="loopchildren" -->
58 <div name="<!--TMPL_VAR Name="loopauthid" -->c" class="child"> <a href="detail.pl?authid=<!--TMPL_VAR Name="childauthid" -->"><!--TMPL_VAR Name="childvalue" --></a></div>
69 <h1>Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
72 <a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">Edit</a>
74 <!-- TMPL_UNLESS name="count" -->
75 <a href="javascript:confirm_deletion()">Delete</a>
78 <a href="../catalogue/search.pl?type=intranet&op=do_search&q=an=<!--TMPL_VAR Name="authid" -->" class="button"><!-- TMPL_VAR name="count" --> biblios</a>
81 <div id="authorities_detail_details">
82 <!-- TMPL_LOOP NAME="0XX" -->
83 <!-- TMPL_IF name="tag" -->
85 <!-- TMPL_VAR NAME="tag" -->
90 <!-- TMPL_LOOP NAME="subfield" -->
93 <!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
94 <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
95 <!-- TMPL_VAR NAME="marc_value" -->
96 <!-- TMPL_IF name="link" -->
97 <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" -->">
98 <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" -->">
101 <!-- TMPL_IF NAME="authority" -->
102 <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button">Auth</a>
107 <!-- /TMPL_LOOP --> <!-- tag -->
110 <script language="JavaScript" type="text/javascript">
112 function confirm_deletion() {
113 var is_confirmed = confirm('Are you sure you want to delete this authority?');
115 window.location="authorities-home.pl?op=delete&authid=<!-- TMPL_VAR NAME="authid" -->";
118 function Dopop(link) {
119 newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
127 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
128 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->