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">
112 <!--TMPL_UNLESS Name="singletab"-->
114 <!-- TMPL_IF NAME="0XX" -->
115 <a href="javascript:active(0)" class="tab_active" id="link0">0</a>
117 <!-- TMPL_IF NAME="1XX" -->
118 <a href="javascript:active(1)" class="tab_inactive" id="link1">1</a>
120 <!-- TMPL_IF NAME="2XX" -->
121 <a href="javascript:active(2)" class="tab_inactive" id="link2">2</a>
123 <!-- TMPL_IF NAME="3XX" -->
124 <a href="javascript:active(3)" class="tab_inactive" id="link3">3</a>
126 <!-- TMPL_IF NAME="4XX" -->
127 <a href="javascript:active(4)" class="tab_inactive" id="link4">4</a>
129 <!-- TMPL_IF NAME="5XX" -->
130 <a href="javascript:active(5)" class="tab_inactive" id="link5">5</a>
132 <!-- TMPL_IF NAME="6XX" -->
133 <a href="javascript:active(6)" class="tab_inactive" id="link6">6</a>
135 <!-- TMPL_IF NAME="7XX" -->
136 <a href="javascript:active(7)" class="tab_inactive" id="link7">7</a>
138 <!-- TMPL_IF NAME="8XX" -->
139 <a href="javascript:active(8)" class="tab_inactive" id="link8">8</a>
141 <!-- TMPL_IF NAME="9XX" -->
142 <a href="javascript:active(9)" class="tab_inactive" id="link9">9</a>
147 <!-- TMPL_LOOP name="BIG_LOOP" -->
148 <!-- hide every tab except the 1st -->
149 <!--TMPL_UNLESS Name="singletab"-->
150 <!-- TMPL_IF name="number" -->
151 <div id="<!-- TMPL_VAR name="number" -->XX" class="content_hidden">
153 <div id="0XX" class="content_visible">
155 <!-- /TMPL_UNLESS -->
157 <!-- TMPL_LOOP NAME="innerloop" -->
158 <!-- TMPL_IF name="tag" -->
160 <div class="tag_title">
161 <!-- TMPL_VAR NAME="tag" -->
166 <!-- TMPL_LOOP NAME="subfield" -->
168 <label class="labelsubfield">
169 <!-- TMPL_UNLESS name="hide_marc" --><b><!-- TMPL_VAR NAME="marc_subfield" --></b><!-- /TMPL_UNLESS -->
170 <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
171 <!-- TMPL_VAR NAME="marc_value" -->
172 <!-- TMPL_IF name="link" -->
173 <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" -->">
174 <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" -->">
177 <!-- TMPL_IF NAME="authority" -->
178 <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button">Auth</a>
196 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
197 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->