1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Authority Details</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript">
6 function confirm_deletion() {
7 var is_confirmed = confirm('Are you sure you want to delete this authority?');
9 window.location="authorities-home.pl?op=delete&authid=<!-- TMPL_VAR NAME="authid" -->";
12 function Dopop(link) {
13 newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
16 <!-- TMPL_IF Name="displayhierarchy"-->
17 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/css/hierarchy.css" />
18 <script type="text/javascript">
19 function showParents(mynumber) {
20 var parents=document.getElementsByName(mynumber+'p')
21 for(i=0;i<parents.length;i++){
22 if (parents[i].style.display == "none") {
23 parents[i].style.display ="block";
25 parents[i].style.display ="none";
29 function showChildren(mynumber) {
30 var children=document.getElementsByName(mynumber+'c')
31 for(i=0;i<children.length;i++){
32 if (children[i].style.display == "none") {
33 children[i].style.display = "block";
35 children[i].style.display = "none";
43 <!-- TMPL_INCLUDE NAME="header.inc" -->
44 <!-- TMPL_INCLUDE NAME="menu-authorities.inc" -->
46 <div id="doc3" class="yui-t2">
50 <div class="yui-b"><div class="yui-g">
52 <!-- TMPL_IF Name="displayhierarchy"-->
54 <div class="hierarchies">
55 <!--TMPL_LOOP Name="loophierarchies" -->
56 <div class="hierarchy">
57 <!--TMPL_LOOP Name="loopelement" -->
58 <div id="<!--TMPL_VAR Name="loopauthid" -->" class="<!--TMPL_VAR Name="class" -->">
59 <!--TMPL_IF Name="ifparents" -->
60 <!--TMPL_LOOP Name="loopparents" -->
61 <div name="<!--TMPL_VAR Name="loopauthid" -->p" class="parent"> <a href="detail.pl?authid=<!--TMPL_VAR Name="parentauthid" -->"><!--TMPL_VAR Name="parentvalue" --></a></div>
64 <!-- TMPL_IF name="current_value" -->
65 <!--TMPL_VAR Name="value" -->
67 <a href="detail.pl?authid=<!--TMPL_VAR Name="loopauthid" -->" title="Term"><!--TMPL_VAR Name="value" --></a>
69 <!--TMPL_IF Name="ifchildren" -->
70 <sub><a class="parents" title="Narrower terms" href="JavaScript:showChildren('<!--TMPL_VAR Name="loopauthid" -->');">+</a></sub><br />
71 <!--TMPL_LOOP Name="loopchildren" -->
72 <div name="<!--TMPL_VAR Name="loopauthid" -->c" class="child"> <a href="detail.pl?authid=<!--TMPL_VAR Name="childauthid" -->"><!--TMPL_VAR Name="childvalue" --></a></div>
83 <h1>Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
86 <a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">Edit</a>
88 <!-- TMPL_UNLESS name="count" -->
89 <a href="javascript:confirm_deletion()">Delete</a>
92 <a href="../catalogue/search.pl?type=intranet&op=do_search&q=an=<!--TMPL_VAR Name="authid" -->" class="button"><!-- TMPL_VAR name="count" --> biblios</a>
95 <div id="authorities_detail_details">
96 <!-- TMPL_LOOP NAME="0XX" -->
97 <!-- TMPL_IF name="tag" -->
99 <!-- TMPL_VAR NAME="tag" -->
104 <!-- TMPL_LOOP NAME="subfield" -->
107 <!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
108 <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
109 <!-- TMPL_VAR NAME="marc_value" -->
110 <!-- TMPL_IF name="link" -->
111 <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" -->">
112 <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" -->">
115 <!-- TMPL_IF NAME="authority" -->
116 <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button">Auth</a>
121 <!-- /TMPL_LOOP --> <!-- tag -->
130 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
131 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->