1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Authorities ›
3 [% IF ( unknownauthid ) %]
4 Unknown authority record
6 Details for Authority #[% authid %] ([% authtypetext %])
9 [% INCLUDE 'doc-head-close.inc' %]
10 <script type="text/javascript">
14 $(document).ready(function() {
15 $('#authoritiestabs>ul').tabs();
18 function confirm_deletion() {
19 var is_confirmed = confirm('Are you sure you want to delete this authority?');
21 window.location="authorities-home.pl?op=delete&authid=[% authid %]";
24 function Dopop(link) {
25 newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
29 [% IF ( displayhierarchy ) %]
30 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/hierarchy.css" />
31 <script type="text/javascript">
32 function showParents(mynumber) {
33 var parents=document.getElementsByName(mynumber+'p')
34 for(i=0;i<parents.length;i++){
35 if (parents[i].style.display == "none") {
36 parents[i].style.display ="block";
38 parents[i].style.display ="none";
42 function showChildren(mynumber) {
43 var children=document.getElementsByName(mynumber+'c')
44 for(i=0;i<children.length;i++){
45 if (children[i].style.display == "none") {
46 children[i].style.display = "block";
48 children[i].style.display = "none";
53 newin=window.open("/cgi-bin/koha/help.pl","KohaHelp",'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";
69 [% INCLUDE 'header.inc' %]
70 [% INCLUDE 'authorities-search.inc' %]
71 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> ›
72 [% IF ( unknownauthid ) %]
73 Unknown authority record
75 Details for Authority #[% authid %] ([% authtypetext %])
79 <div id="doc" class="yui-t7">
85 [% INCLUDE 'authorities-toolbar.inc' %]
87 [% IF ( displayhierarchy ) %]
89 <div class="hierarchies">
90 [% FOREACH loophierarchie IN loophierarchies %]
91 <div class="hierarchy">
92 [% FOREACH loopelemen IN loophierarchie.loopelement %]
93 <div id="[% loopelemen.loopauthid %]" class="[% loopelemen.class %]">
94 [% IF ( loopelemen.ifparents ) %]
95 [% FOREACH loopparent IN loopelemen.loopparents %]
96 <div name="[% loopparent.loopauthid %]p" class="parent"> <a href="detail.pl?authid=[% loopparent.parentauthid %]">[% loopparent.parentvalue %]</a></div>
99 [% IF ( loopelemen.current_value ) %]
100 [% loopelemen.value %]
102 <a href="detail.pl?authid=[% loopelemen.loopauthid %]" title="Term">[% loopelemen.value %]</a>
104 [% IF ( loopelemen.ifchildren ) %]
105 <sub><a class="parents" title="Narrower terms" href="JavaScript:showChildren('[% loopelemen.loopauthid %]');">+</a></sub><br />
106 [% FOREACH loopchildre IN loopelemen.loopchildren %]
107 <div name="[% loopchildre.loopauthid %]c" class="child"> <a href="detail.pl?authid=[% loopchildre.childauthid %]">[% loopchildre.childvalue %]</a></div>
119 [% IF ( unknownauthid ) %]
120 <div class="dialog message">The authority record you requested does not exist ([% errauthid %]).</div>
122 <h1>Authority #[% authid %] ([% authtypetext %])</h1>
127 Used in <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&op=do_search&q=an=[% authid %]">[% count %] record(s)</a>
130 <div id="authoritiestabs" class="toptabs numbered">
132 [% FOREACH BIG_LOO IN BIG_LOOP %]
134 <a href="/cgi-bin/koha/cataloguing/addbiblio.pl#tab[% BIG_LOO.number %]XX">[% BIG_LOO.number %]</a>
139 [% FOREACH BIG_LOO IN BIG_LOOP %]
140 <div id="tab[% BIG_LOO.number %]XX">
141 [% FOREACH innerloo IN BIG_LOO.innerloop %]
142 [% IF ( innerloo.tag ) %]
144 <div class="tag_title">
150 [% FOREACH subfiel IN innerloo.subfield %]
152 <label class="labelsubfield">
153 [% UNLESS ( subfiel.hide_marc ) %]<b>[% subfiel.marc_subfield %]</b>[% END %]
154 <span title="[% subfiel.long_desc %]">[% subfiel.short_desc %]</span></label>
155 [% subfiel.marc_value %]
156 [% IF ( subfiel.link ) %]
157 <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&marclist=[% subfiel.link %]&operator==&type=intranet&value=[% subfiel.marc_value |url %]">
158 <img border="0" src="[% interface %]/[% theme %]/images/filefind.png" height="15" title="Search on [% subfiel.marc_value %]">
161 [% IF ( subfiel.authority ) %]
162 <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% subfiel.authority %]" class="button">Auth</a>
176 [% INCLUDE 'intranet-bottom.inc' %]