1 [% PROCESS 'authorities.inc' %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Authorities ›
4 [% IF ( unknownauthid ) %]
5 Unknown authority record
7 Details for authority #[% authid %] ([% authtypetext %])
10 [% INCLUDE 'doc-head-close.inc' %]
11 [% IF ( displayhierarchy ) %]
12 <script type="text/javascript" src="/intranet-tmpl/lib/jquery/plugins/jquery.jstree.js"></script>
14 <script type="text/javascript">
18 $(document).ready(function() {
19 $('#authoritiestabs').tabs();
20 [% IF ( displayhierarchy ) %]
21 var current_nodes = [];
22 $('.currentauth').each(function() {
23 current_nodes.push('#' + $(this).parent().parents('li:first').attr('id'));
25 $('#hierarchies').jstree({
26 "plugins": [ "themes", "html_data"],
27 "themes": { "theme": "classic",
29 "core": { "initially_open": current_nodes }
34 function confirm_deletion() {
35 var is_confirmed = confirm(_("Are you sure you want to delete this authority?"));
37 window.location="authorities-home.pl?op=delete&authid=[% authid %]";
40 function Dopop(link) {
41 newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
45 <script type="text/javascript">
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";
61 <body id="auth_detail" class="auth">
62 [% INCLUDE 'header.inc' %]
63 [% INCLUDE 'authorities-search.inc' %]
64 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> ›
65 [% IF ( unknownauthid ) %]
66 Unknown authority record
68 Details for authority #[% authid %] ([% authtypetext %])
72 <div id="doc" class="yui-t7">
78 [% INCLUDE 'authorities-toolbar.inc' %]
80 [% IF ( displayhierarchy ) %]
81 <div id="hierarchies">
82 [% PROCESS showhierarchy trees = loophierarchies %]
87 [% IF ( unknownauthid ) %]
88 <div class="dialog message">The authority record you requested does not exist ([% errauthid %]).</div>
90 <h1>Authority #[% authid %] ([% authtypetext %])</h1>
95 Used in <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&op=do_search&q=an=[% authid %]">[% count %] record(s)</a>
98 <div id="authoritiestabs" class="toptabs numbered">
100 [% FOREACH BIG_LOO IN BIG_LOOP %]
102 <a href="#tab[% BIG_LOO.number %]XX">[% BIG_LOO.number %]</a>
107 [% FOREACH BIG_LOO IN BIG_LOOP %]
108 <div id="tab[% BIG_LOO.number %]XX">
109 [% FOREACH innerloo IN BIG_LOO.innerloop %]
110 [% IF ( innerloo.tag ) %]
112 <div class="tag_title">
118 [% FOREACH subfiel IN innerloo.subfield %]
120 <label class="labelsubfield">
121 [% UNLESS ( subfiel.hide_marc ) %]<b>[% subfiel.marc_subfield %]</b>[% END %]
122 <span title="[% subfiel.long_desc %]">[% subfiel.short_desc %]</span></label>
123 [% subfiel.marc_value %]
124 [% IF ( subfiel.link ) %]
125 <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&marclist=[% subfiel.link %]&operator==&type=intranet&value=[% subfiel.marc_value |url %]">
126 <img border="0" src="[% interface %]/[% theme %]/images/filefind.png" height="15" title="Search on [% subfiel.marc_value %]">
129 [% IF ( subfiel.authority ) %]
130 <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% subfiel.authority %]" class="button">Auth</a>
144 [% INCLUDE 'intranet-bottom.inc' %]