1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Administration › Authority MARC subfield structure</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
7 $(document).ready(function() {
8 $('#subfieldtabs > ul').tabs();
11 function displayMoreConstraint(numlayer){
12 var thisdiv = document.getElementById(numlayer);
13 if(thisdiv.getAttribute("class") == "content_hidden"){
14 thisdiv.removeAttribute('class');
15 thisdiv.setAttribute("class","content_visible");
17 thisdiv.removeAttribute('class');
18 thisdiv.setAttribute("class","content_hidden");
26 [% INCLUDE 'header.inc' %]
27 [% INCLUDE 'cat-search.inc' %]
28 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> ›
29 [% IF ( else ) %]Authority MARC subfield structure
30 [% ELSE %]<a href="/cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=[% tagfield %]&tagsubfield=[% tagsubfield %]&authtypecode=[% authtypecode %]">Authority MARC subfield structure</a> ›
32 [% IF ( delete_confirm ) %]Confirm Deletion of Subfield [% tagsubfield %]?[% END %]
33 [% IF ( delete_confirmed ) %]Data deleted[% END %]
35 [% IF ( use_heading_flags_p ) %]
36 [% IF ( heading_edit_subfields_p ) %]Edit MARC subfields constraints[% END %]
37 [% ELSE %][% action %][% END %]
41 <div id="doc3" class="yui-t2">
49 <h1>[% IF ( use_heading_flags_p ) %]
50 [% IF ( heading_edit_subfields_p ) %]Edit MARC subfields constraints for field [% tagfield %] authority [% authtypecode %][% END %]
51 [% ELSE %][% action %][% END %]</h1>
52 <form action="[% script_name %]" name="Aform" method="post">
53 <input type="hidden" name="op" value="add_validate" />
54 <input type="hidden" name="tagfield" value="[% tagfield %]" />
55 <input type="hidden" name="authtypecode" value="[% authtypecode %]" />
56 <fieldset class="action"><input type="submit" class="submit" value="Save Changes" /> <a class="cancel" href="/cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=[% tagfield %]&authtypecode=[% authtypecode %]">Cancel</a></fieldset>
57 <div id="subfieldtabs" class="toptabs numbered">
59 [% FOREACH loo IN loop %]
60 [% IF ( loo.new_subfield ) %]
61 [% IF ( tagfield >=10 ) %]<!-- display new only for > 10 fields -->
62 <li><a href="/cgi-bin/koha/admin/auth_subfields_structure.pl#sub[% loo.tagsubfield %]field" title="[% loo.liblibrarian %]">New</a></li>
65 <li><a href="/cgi-bin/koha/admin/auth_subfields_structure.pl#sub[% loo.tagsubfield %]field" title="[% loo.liblibrarian %]">
72 [% FOREACH loo IN loop %]
73 <div id="sub[% loo.tagsubfield %]field">
74 <fieldset class="rows"><ol>
76 [% IF ( loo.new_subfield ) %]
77 <li><label for="tagsubfieldinput[% loo.row %]">Subfield code: </label>[% loo.tagsubfieldinput %] </li>
80 <input type="hidden" name="tagsubfield" value="[% loo.tagsubfield %]" />
83 <li><label for="repeatable[% loo.row %]">Repeatable: </label>[% loo.repeatable %] </li>
84 <li><label for="mandatory[% loo.row %]">Mandatory: </label>[% loo.mandatory %] </li>
85 <li><label for="liblibrarian[% loo.row %]">Text for librarian: </label><input id="liblibrarian[% loo.row %]" type="text" name="liblibrarian" value="[% loo.liblibrarian %]" size="40" maxlength="80" /></li>
86 <li><label for="libopac[% loo.row %]">Text for OPAC: </label><input type="text" id="libopac[% loo.row %]" name="libopac" value="[% loo.libopac %]" size="40" maxlength="80" /></li>
87 <li><label for="tab[% loo.row %]">Managed in tab: </label>[% loo.tab %] (ignore means that the subfield does not display in the record editor)</li>
90 <legend>Display</legend>
92 <li><label for="ohidden[% loo.row %]">Select to display or not:</label>[% loo.ohidden %] </li>
93 <!-- <li><label for="ihidden[% loo.row %]">Intranet:</label>[% loo.ihidden %] </li> -->
94 <!-- <li><label for="ehidden[% loo.row %]">Editor:</label>[% loo.ehidden %] (see online help)</li> -->
98 <li><label for="isurl[% loo.row %]">Is a url:</label>[% loo.isurl %] (if checked, it means that the subfield is a url and can be clicked)</li>
100 <fieldset><legend>Help input</legend>
102 <li><label for="authorised_value[% loo.row %]">Authorized value:</label> [% loo.authorised_value %]</li>
103 <li><label for="frameworkcode[% loo.row %]">Thesaurus:</label> [% loo.frameworkcode %]</li>
104 <li><label for="value_builder[% loo.row %]">Plugin:</label> [% loo.value_builder %]</li>
108 </ol></fieldset><br class="clear" />
115 [% IF ( delete_confirm ) %]
117 <div class="dialog alert"><h3>Delete Subfield <span class="ex">'[% tagsubfield %]'?</span></h3>
118 <form action="[% delete_link %]" method="post"><input type="hidden" name="op" value="delete_confirmed" />
119 <table><tr><th scope="row">Subfield:</th> <td>[% tagsubfield %]</td></tr>
120 <tr><th scope="row">Description:</th> <td>[% liblibrarian %]</td></tr></table>
121 <input type="hidden" name="searchfield" value="[% searchfield %]" />
122 <input type="hidden" name="tagfield" value="[% tagfield %]" />
123 <input type="hidden" name="tagsubfield" value="[% tagsubfield %]" />
124 <input type="hidden" name="authtypecode" value="[% authtypecode %]" />
125 <input type="submit" class="approve" value="Yes, Delete this Subfield" />
127 <form action="[% delete_link %]" method="get">
128 <input type="hidden" name="searchfield" value="[% searchfield %]" />
129 <input type="hidden" name="tagfield" value="[% tagfield %]" />
130 <input type="hidden" name="tagsubfield" value="[% tagsubfield %]" />
131 <input type="hidden" name="authtypecode" value="[% authtypecode %]" />
132 <input type="submit" class="deny" value="No, Do Not Delete" />
137 [% IF ( delete_confirmed ) %]
139 <div class="dialog message"> <h3>Data deleted</h3>
140 <form action="[% script_name %]" method="post">
141 <input type="hidden" name="tagfield" value="[% tagfield %]" />
142 <input type="submit" class="approve" value="OK" />
148 <h1>Authority MARC subfield structure admin for [% tagfield %] (authority: [% authtypecode %])</h1>
149 <p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit. </p>
150 <p>The column <b>Koha field</b> shows that the subfield is linked with a Koha field. Koha can manage a MARC interface, and a Koha interface. This link ensures that both DB are synchronized</p>
159 [% FOREACH loo IN loop %]
160 [% UNLESS ( loop.odd ) %]
161 <tr class="highlight">
165 <td>[% loo.tagsubfield %]</td>
167 [% IF ( loo.subfield_ignored ) %]
168 <i>[% loo.liblibrarian %]</i>
170 [% loo.liblibrarian %]
174 [% IF ( loo.subfield_ignored ) %]
175 <i>subfield ignored</i>
177 <strong>Tab:</strong>[% loo.tab %],
178 [% IF ( loo.kohafield ) %] | <strong>Koha field:</strong> [% loo.kohafield %], [% END %]
179 [% IF ( loo.repeatable ) %]Repeatable, [% ELSE %]Not repeatable,
181 [% IF ( loo.mandatory ) %]Mandatory, [% ELSE %]Not mandatory,
183 [% IF ( loo.hidden ) %]hidden,
185 [% IF ( loo.isurl ) %]is a url,
187 [% IF ( loo.authorised_value ) %] | <strong>Auth value:</strong>[% loo.authorised_value %],
189 [% IF ( loo.frameworkcode ) %] | <strong>Authority:</strong>[% loo.frameworkcode %],
191 [% IF ( loo.value_builder ) %] | <strong>Plugin:</strong>[% loo.value_builder %],[% END %]
194 <td><a href="[% loo.delete %]">Delete</a></td>
199 <form action="[% script_name %]" method="get">
200 <fieldset class="action"><input type="hidden" name="op" value="add_form" />
201 <input type="hidden" name="tagfield" value="[% edit_tagfield %]" />
202 <input type="hidden" name="authtypecode" value="[% edit_authtypecode %]" />
203 <input type="submit" value="Edit subfields" />
204 <a class="cancel" href="auth_tag_structure.pl?searchfield=[% tagfield %]&authtypecode=[% authtypecode %]">Cancel</a></fieldset>
207 [% IF ( previous ) %]
208 <input type="image" src="[% interface %]/[% theme %]/images/1leftarrow.png" title="previous" alt="previous" border="0" />
213 <input type="image" src="[% interface %]/[% theme %]/images/1rightarrow.png" title="next" alt="next" border="0" />
222 [% INCLUDE 'admin-menu.inc' %]
225 [% INCLUDE 'intranet-bottom.inc' %]