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">
8 $(document).ready(function() {
9 $('#authoritiestabs').tabs();
12 function confirm_deletion() {
13 var is_confirmed = confirm('Are you sure you want to delete this authority?');
15 window.location="authorities-home.pl?op=delete&authid=<!-- TMPL_VAR NAME="authid" -->";
18 function Dopop(link) {
19 newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
22 <!-- TMPL_IF Name="displayhierarchy"-->
23 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/css/hierarchy.css" />
24 <script type="text/javascript">
25 function showParents(mynumber) {
26 var parents=document.getElementsByName(mynumber+'p')
27 for(i=0;i<parents.length;i++){
28 if (parents[i].style.display == "none") {
29 parents[i].style.display ="block";
31 parents[i].style.display ="none";
35 function showChildren(mynumber) {
36 var children=document.getElementsByName(mynumber+'c')
37 for(i=0;i<children.length;i++){
38 if (children[i].style.display == "none") {
39 children[i].style.display = "block";
41 children[i].style.display = "none";
49 <!-- TMPL_INCLUDE NAME="header.inc" -->
51 <script language="JavaScript" type="text/javascript">
53 newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
56 function addauthority() {
57 X = document.forms[0].authtype.value;
58 window.location="/cgi-bin/koha/authorities/authorities.pl?authtypecode="+X;
60 function searchauthority() {
61 X = document.forms[0].authtype2.value;
62 Y = document.forms[0].value.value;
63 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";
67 <div id="doc3" class="yui-t2">
71 <div class="yui-b"><div class="yui-g">
73 <!-- TMPL_IF Name="displayhierarchy"-->
75 <div class="hierarchies">
76 <!--TMPL_LOOP Name="loophierarchies" -->
77 <div class="hierarchy">
78 <!--TMPL_LOOP Name="loopelement" -->
79 <div id="<!--TMPL_VAR Name="loopauthid" -->" class="<!--TMPL_VAR Name="class" -->">
80 <!--TMPL_IF Name="ifparents" -->
81 <!--TMPL_LOOP Name="loopparents" -->
82 <div name="<!--TMPL_VAR Name="loopauthid" -->p" class="parent"> <a href="detail.pl?authid=<!--TMPL_VAR Name="parentauthid" -->"><!--TMPL_VAR Name="parentvalue" --></a></div>
85 <!-- TMPL_IF name="current_value" -->
86 <!--TMPL_VAR Name="value" -->
88 <a href="detail.pl?authid=<!--TMPL_VAR Name="loopauthid" -->" title="Term"><!--TMPL_VAR Name="value" --></a>
90 <!--TMPL_IF Name="ifchildren" -->
91 <sub><a class="parents" title="Narrower terms" href="JavaScript:showChildren('<!--TMPL_VAR Name="loopauthid" -->');">+</a></sub><br />
92 <!--TMPL_LOOP Name="loopchildren" -->
93 <div name="<!--TMPL_VAR Name="loopauthid" -->c" class="child"> <a href="detail.pl?authid=<!--TMPL_VAR Name="childauthid" -->"><!--TMPL_VAR Name="childvalue" --></a></div>
104 <h1>Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
107 <a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">Edit</a>
109 <!-- TMPL_UNLESS name="count" -->
110 <a href="javascript:confirm_deletion()">Delete</a>
111 <!-- /TMPL_UNLESS -->
113 <a href="../catalogue/search.pl?type=intranet&op=do_search&q=an=<!--TMPL_VAR Name="authid" -->" class="button"><!-- TMPL_VAR name="count" --> biblio(s)</a>
116 <div id="authoritiestabs" class="toptabs numbered">
118 <!-- TMPL_LOOP name="BIG_LOOP" -->
120 <a href="/cgi-bin/koha/cataloguing/addbiblio.pl#tab<!-- TMPL_VAR name="number" -->XX"><!-- TMPL_VAR name="number"--></a>
125 <!-- TMPL_LOOP name="BIG_LOOP" -->
126 <div id="tab<!-- TMPL_VAR name="number" -->XX">
127 <!-- TMPL_LOOP NAME="innerloop" -->
128 <!-- TMPL_IF name="tag" -->
130 <div class="tag_title">
131 <!-- TMPL_VAR NAME="tag" -->
136 <!-- TMPL_LOOP NAME="subfield" -->
138 <label class="labelsubfield">
139 <!-- TMPL_UNLESS name="hide_marc" --><b><!-- TMPL_VAR NAME="marc_subfield" --></b><!-- /TMPL_UNLESS -->
140 <span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
141 <!-- TMPL_VAR NAME="marc_value" -->
142 <!-- TMPL_IF name="link" -->
143 <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" -->">
144 <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" -->">
147 <!-- TMPL_IF NAME="authority" -->
148 <a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button">Auth</a>
161 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
162 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->