1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Administration › Authority types
4 › [% IF ( authtypecode ) %]Modify authority type[% ELSE %]New authority type[% END %]
5 [% ELSIF ( delete_confirm ) %]
6 › Confirm deletion of authority type
9 [% INCLUDE 'doc-head-close.inc' %]
12 <body id="admin_authtypes" class="admin">
13 [% INCLUDE 'header.inc' %]
14 [% INCLUDE 'cat-search.inc' %]
16 <div id="breadcrumbs">
17 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
18 › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
19 › <a href="[% script_name %]">Authority types</a>
21 › [% IF ( authtypecode ) %]Modify[% ELSE %]New[% END %] Authority type
22 [% ELSIF ( delete_confirm ) %]
23 › Confirm deletion of authority type
27 <div id="doc3" class="yui-t2">
34 <form action="[% script_name %]" name="Aform" method="post" class="validated">
35 <fieldset class="rows">
37 [% IF ( authtypecode ) %]
45 [% IF ( authtypecode ) %]
46 <span class="label">Authority type</span>
47 <input type="hidden" name="op" value="add_validate" />
48 <input type="hidden" name="checked" value="0" />
49 <input type="hidden" name="authtypecode" value="[% authtypecode %]" />[% authtypecode %]
51 <label for="authtypecode" class="required">Authority type: </label>
52 <input id="authtypecode" type="text" class="required" required="required" name="authtypecode" size="10" maxlength="10" onblur="toUC(this)" />
55 <li><label for="authtypetext" class="required">Description: </label><input type="text" id="authtypetext" name="authtypetext" size="40" maxlength="80" value="[% authtypetext |html %]" class="required" required="required" /></li>
56 <li><label for="summary">Summary: </label><textarea id="summary" name="summary" cols="55" rows="7">[% summary %]</textarea></li>
58 <p class="tip">Note: for 'Authority field to copy', enter the authority field that should be copied from the authority record to the bibliographic record. E.g., in MARC21, field 100 in the authority record should be copied to field 100 in the bibliographic record</p>
59 <label for="auth_tag_to_report">Authority field to copy: </label><input type="text" id="auth_tag_to_report" name="auth_tag_to_report" size="5" maxlength="3" value="[% auth_tag_to_report %]" />
60 <input type="hidden" name="op" value="add_validate" />
61 [% IF ( authtypecode ) %]
62 <input type="hidden" name="modif" value="1" />
67 <fieldset class="action">
68 <input type="submit" value="Submit" />
69 <a class="cancel" href="[% script_name %]">Cancel</a>
74 [% IF ( delete_confirm ) %]
75 <div class="dialog alert"><h3>Confirm deletion of authority structure definition for <span class="ex">'[% authtypetext %]' ([% authtypecode %])</span></h3>
77 <p>This record is used <strong>[% total %]</strong> times</p>
79 <form action="[% script_name %]" method="post"><input type="hidden" name="op" value="delete_confirmed" />
80 <input type="hidden" name="authtypecode" value="[% authtypecode %]" />
81 <fieldset class="action"><input type="submit" class="approve" value="Yes, Delete" />
83 <form action="[% script_name %]" method="get"><input type="submit" class="deny" value="No, Do Not Delete" /></form>
89 <div id="toolbar" class="btn-toolbar">
90 <a id="authtype" class="btn btn-small" href="[% script_name %]?op=add_form"><i class="icon-plus"></i> New authority type</a>
93 <h1>Authority types</h1>
94 <p>Define authority types, then authority MARC structure in the same way you define itemtypes and biblio MARC tag structure. Authority values are managed through plugins</p>
100 <th>Auth field copied</th>
106 [% FOREACH loo IN loop %]
107 [% IF ( loop.odd ) %]
110 <tr class="highlight">
112 <td>[% loo.authtypecode %]</td>
113 <td>[% loo.authtypetext %]</td>
114 <td>[% loo.summary %]</td>
115 <td>[% loo.auth_tag_to_report %]</td>
116 <td><a href="auth_tag_structure.pl?authtypecode=[% loo.authtypecode %]" class="button parameters" >MARC structure</a></td>
117 <td><a href="[% loo.script_name %]?op=add_form&authtypecode=[% loo.authtypecode |html %]">Edit</a></td>
118 <td><a href="[% loo.script_name %]?op=delete_confirm&authtypecode=[% loo.authtypecode |html %]">Delete</a></td>
123 [% IF ( previous ) %]<p><a href="[% previous %]"><< Previous</a></p>[% END %]
124 [% IF ( next ) %]<p><a href="[% next %]">Next >></a></p>[% END %]
130 [% INCLUDE 'admin-menu.inc' %]
133 [% INCLUDE 'intranet-bottom.inc' %]