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" -->
45 <script language="JavaScript" type="text/javascript">
47 newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
50 function addauthority() {
51 X = document.forms[0].authtype.value;
52 window.location="/cgi-bin/koha/authorities/authorities.pl?authtypecode="+X;
54 function searchauthority() {
55 X = document.forms[0].authtype2.value;
56 Y = document.forms[0].value.value;
57 window.location="/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&authtypecode="+X+"&value="+Y+"&marclist=&and_or=and&excluding=&operator=contains";
61 <div id="doc3" class="yui-t2">
65 <div class="yui-b"><div class="yui-g">
67 <!-- TMPL_IF Name="displayhierarchy"-->
69 <div class="hierarchies">
70 <!--TMPL_LOOP Name="loophierarchies" -->
71 <div class="hierarchy">
72 <!--TMPL_LOOP Name="loopelement" -->
73 <div id="<!--TMPL_VAR Name="loopauthid" -->" class="<!--TMPL_VAR Name="class" -->">
74 <!--TMPL_IF Name="ifparents" -->
75 <!--TMPL_LOOP Name="loopparents" -->
76 <div name="<!--TMPL_VAR Name="loopauthid" -->p" class="parent"> <a href="detail.pl?authid=<!--TMPL_VAR Name="parentauthid" -->"><!--TMPL_VAR Name="parentvalue" --></a></div>
79 <!-- TMPL_IF name="current_value" -->
80 <!--TMPL_VAR Name="value" -->
82 <a href="detail.pl?authid=<!--TMPL_VAR Name="loopauthid" -->" title="Term"><!--TMPL_VAR Name="value" --></a>
84 <!--TMPL_IF Name="ifchildren" -->
85 <sub><a class="parents" title="Narrower terms" href="JavaScript:showChildren('<!--TMPL_VAR Name="loopauthid" -->');">+</a></sub><br />
86 <!--TMPL_LOOP Name="loopchildren" -->
87 <div name="<!--TMPL_VAR Name="loopauthid" -->c" class="child"> <a href="detail.pl?authid=<!--TMPL_VAR Name="childauthid" -->"><!--TMPL_VAR Name="childvalue" --></a></div>
98 <h1>Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
101 <a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">Edit</a>
103 <!-- TMPL_UNLESS name="count" -->
104 <a href="javascript:confirm_deletion()">Delete</a>
105 <!-- /TMPL_UNLESS -->
107 <a href="../catalogue/search.pl?type=intranet&op=do_search&q=an=<!--TMPL_VAR Name="authid" -->" class="button"><!-- TMPL_VAR name="count" --> biblios</a>
110 <div id="authorities_detail_details">
111 <!-- TMPL_LOOP NAME="0XX" -->
112 <!-- TMPL_IF name="tag" -->
114 <!-- TMPL_VAR NAME="tag" -->
119 <!-- TMPL_LOOP NAME="subfield" -->
122 <!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
123 <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
124 <!-- TMPL_VAR NAME="marc_value" -->
125 <!-- TMPL_IF name="link" -->
126 <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" -->">
127 <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" -->">
130 <!-- TMPL_IF NAME="authority" -->
131 <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button">Auth</a>
136 <!-- /TMPL_LOOP --> <!-- tag -->
145 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
146 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->