1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Authorities › Details for Authority #[% authid %] ([% authtypetext %])</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
8 $(document).ready(function() {
9 $('#authoritiestabs>ul').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=[% authid %]";
18 function Dopop(link) {
19 newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
23 [% IF ( displayhierarchy ) %]
24 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/hierarchy.css" />
25 <script type="text/javascript">
26 function showParents(mynumber) {
27 var parents=document.getElementsByName(mynumber+'p')
28 for(i=0;i<parents.length;i++){
29 if (parents[i].style.display == "none") {
30 parents[i].style.display ="block";
32 parents[i].style.display ="none";
36 function showChildren(mynumber) {
37 var children=document.getElementsByName(mynumber+'c')
38 for(i=0;i<children.length;i++){
39 if (children[i].style.display == "none") {
40 children[i].style.display = "block";
42 children[i].style.display = "none";
47 newin=window.open("/cgi-bin/koha/help.pl","KohaHelp",'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";
63 [% INCLUDE 'header.inc' %]
64 [% INCLUDE 'authorities-search.inc' %]
65 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> › Details for Authority #[% authid %] ([% authtypetext %]) </div>
67 <div id="doc" class="yui-t7">
73 [% INCLUDE 'authorities-toolbar.inc' %]
75 [% IF ( displayhierarchy ) %]
77 <div class="hierarchies">
78 [% FOREACH loophierarchie IN loophierarchies %]
79 <div class="hierarchy">
80 [% FOREACH loopelemen IN loophierarchie.loopelement %]
81 <div id="[% loopelemen.loopauthid %]" class="[% loopelemen.class %]">
82 [% IF ( loopelemen.ifparents ) %]
83 [% FOREACH loopparent IN loopelemen.loopparents %]
84 <div name="[% loopparent.loopauthid %]p" class="parent"> <a href="detail.pl?authid=[% loopparent.parentauthid %]">[% loopparent.parentvalue %]</a></div>
87 [% IF ( loopelemen.current_value ) %]
88 [% loopelemen.value %]
90 <a href="detail.pl?authid=[% loopelemen.loopauthid %]" title="Term">[% loopelemen.value %]</a>
92 [% IF ( loopelemen.ifchildren ) %]
93 <sub><a class="parents" title="Narrower terms" href="JavaScript:showChildren('[% loopelemen.loopauthid %]');">+</a></sub><br />
94 [% FOREACH loopchildre IN loopelemen.loopchildren %]
95 <div name="[% loopchildre.loopauthid %]c" class="child"> <a href="detail.pl?authid=[% loopchildre.childauthid %]">[% loopchildre.childvalue %]</a></div>
106 <h1>Authority #[% authid %] ([% authtypetext %])</h1>
111 Used in <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&op=do_search&q=an=[% authid %]">[% count %] record(s)</a>
114 <div id="authoritiestabs" class="toptabs numbered">
116 [% FOREACH BIG_LOO IN BIG_LOOP %]
118 <a href="/cgi-bin/koha/cataloguing/addbiblio.pl#tab[% BIG_LOO.number %]XX">[% BIG_LOO.number %]</a>
123 [% FOREACH BIG_LOO IN BIG_LOOP %]
124 <div id="tab[% BIG_LOO.number %]XX">
125 [% FOREACH innerloo IN BIG_LOO.innerloop %]
126 [% IF ( innerloo.tag ) %]
128 <div class="tag_title">
134 [% FOREACH subfiel IN innerloo.subfield %]
136 <label class="labelsubfield">
137 [% UNLESS ( subfiel.hide_marc ) %]<b>[% subfiel.marc_subfield %]</b>[% END %]
138 <span title="[% subfiel.long_desc %]">[% subfiel.short_desc %]</span></label>
139 [% subfiel.marc_value %]
140 [% IF ( subfiel.link ) %]
141 <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&marclist=[% subfiel.link %]&operator==&type=intranet&value=[% subfiel.marc_value |url %]">
142 <img border="0" src="[% subfiel.interface %]/[% subfiel.theme %]/images/filefind.png" height="15" title="Search on [% subfiel.marc_value %]">
145 [% IF ( subfiel.authority ) %]
146 <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% subfiel.authority %]" class="button">Auth</a>
159 [% INCLUDE 'intranet-bottom.inc' %]