added missing admin menu to two templates
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / auth_subfields_structure.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Administration &rsaquo; Authority MARC subfield structure</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
8
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; <!-- TMPL_IF NAME="else" -->Authority MARC subfield structure<!-- TMPL_ELSE --><a href="/cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=<!-- TMPL_VAR NAME="tagfield" -->&amp;tagsubfield=<!-- TMPL_VAR NAME="tagsubfield" -->&amp;authtypecode=<!-- TMPL_VAR NAME="authtypecode" -->">Authority MARC subfield structure</a> &rsaquo; <!-- /TMPL_IF --><!-- TMPL_IF NAME="delete_confirm" -->Confirm Deletion of Subfield <!-- TMPL_VAR NAME="tagsubfield" -->?<!-- /TMPL_IF --><!-- TMPL_IF NAME="delete_confirmed" -->Data deleted<!-- /TMPL_IF --><!-- TMPL_IF NAME="add_form" --><!-- TMPL_IF NAME="use-heading-flags-p" --><!-- TMPL_IF NAME="heading-edit-subfields-p" -->Edit MARC subfields constraints<!-- /TMPL_IF --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="action" --><!-- /TMPL_IF --><!-- /TMPL_IF --></div>
10
11 <div id="doc3" class="yui-t2">
12
13 <div id="bd">
14     <div id="yui-main">
15     <div class="yui-b">
16
17 <!-- TMPL_IF NAME="add_form" -->
18
19     <h1><!-- TMPL_IF NAME="use-heading-flags-p" -->
20     <!-- TMPL_IF NAME="heading-edit-subfields-p" -->Edit MARC subfields constraints<!-- /TMPL_IF -->
21     <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="action" --><!-- /TMPL_IF --></h1>
22     <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" method="post">
23         <input type="hidden" name="op" value="add_validate" />
24         <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->" />
25         <!-- TMPL_LOOP NAME="loop" -->
26         <div class="data <!-- TMPL_VAR NAME="toggle" -->">
27             <fieldset class="rows">
28             <legend>Tag <!-- TMPL_VAR NAME="tagfield" --><!-- TMPL_VAR NAME="tagfieldinput" -->, Subfield <!-- TMPL_VAR NAME="tagsubfield" --><!-- TMPL_VAR NAME="tagsubfieldinput" --></legend>
29                         <ol><li><label for="repeatable<!-- TMPL_VAR NAME="row" -->">Repeatable: </label><!-- TMPL_VAR NAME="repeatable" -->&nbsp;</li>
30             <li><label for="mandatory<!-- TMPL_VAR NAME="row" -->">Mandatory: </label><!-- TMPL_VAR NAME="mandatory" -->&nbsp;</li>
31             <li><label for="liblibrarian<!-- TMPL_VAR NAME="row" -->">Text for librarian: </label><input id="liblibrarian<!-- TMPL_VAR NAME="row" -->" type="text" name="liblibrarian" value="<!-- TMPL_VAR NAME="liblibrarian" -->" size="40" maxlength="80" /></li>
32             <li><label for="libopac<!-- TMPL_VAR NAME="row" -->">Text for OPAC: </label><input type="text" id="libopac<!-- TMPL_VAR NAME="row" -->" name="libopac" value="<!-- TMPL_VAR NAME="libopac" -->" size="40" maxlength="80" /></li>
33             <li><label for="tab<!-- TMPL_VAR NAME="row" -->">Managed in tab: </label><!-- TMPL_VAR NAME="tab" --> (ignore means that the subfield is NOT managed by Koha)</li>
34             <li><fieldset><legend>Display</legend>
35 <ol>
36         <li><label for="ohidden<!-- TMPL_VAR NAME="row" -->">Opac:</label><!-- TMPL_VAR name="ohidden" -->  </li>
37         <li><label for="ihidden<!-- TMPL_VAR NAME="row" -->">Intranet:</label><!-- TMPL_VAR name="ihidden" --> </li>
38         <li><label for="ehidden<!-- TMPL_VAR NAME="row" -->">Editor:</label><!-- TMPL_VAR name="ehidden" --> (see online help)</li>
39 </ol></fieldset></li>
40             <li><label for="isurl<!-- TMPL_VAR NAME="row" -->">Is a URL: </label><!-- TMPL_VAR NAME="isurl" --> (if checked, it means that the subfield is an URL and can be clicked)</li>
41             <li><fieldset><legend>Help input</legend>   
42             <ol>
43                 <li><label for="authorised_value<!-- TMPL_VAR NAME="row" -->">Authorized Value:</label> <!-- TMPL_VAR NAME="authorised_value" --></li>
44                 <li><label for="frameworkcode<!-- TMPL_VAR NAME="row" -->">Thesaurus:</label> <!-- TMPL_VAR NAME="frameworkcode" --></li>
45                 <li><label for="value_builder<!-- TMPL_VAR NAME="row" -->">Plugin:</label> <!-- TMPL_VAR NAME="value_builder" --></li>
46             </ol></fieldset></li> </ol></fieldset>
47         </div>
48         <!-- /TMPL_LOOP -->
49         <fieldset class="action"><input type="submit" class="submit" value="Save Changes" /> <a class="cancel" href="/cgi-bin/koha/admin/auth_subfields_structure.pl?authtypecode=<!-- TMPL_VAR NAME="authtypecode" -->">Cancel</a></fieldset>
50         <p>Note: in the last column, you can choose:
51             <ul><li>An "authorised value": it refers to a list of authorised values for this subfield. See the corresponding admin table.</li>
52             <li>A "thesaurus category": it refers to a thesaurus category. See the corresponding admin table.</li>
53             <li>A "value builder": values builders are perl programs that help you select the value of the field. They are MARC-flavor dependant and sometimes fill another subfield automatically.</li>
54             </ul>
55         </p>
56     </form>
57 <!-- /TMPL_IF -->
58
59 <!-- TMPL_IF NAME="delete_confirm" -->
60
61     <form action="<!-- TMPL_VAR NAME="delete_link" -->" method="post"><input type="hidden" name="op" value="delete_confirmed" />
62         <fieldset>
63     <legend>Confirm Deletion of Subfield <em><!-- TMPL_VAR NAME="tagsubfield" -->?</em></legend>
64     <table><tr><th scope="row">Subfield:</th> <td><!-- TMPL_VAR NAME="tagsubfield" --></td></tr>
65     <tr><th scope="row">Description:</th> <td><!-- TMPL_VAR NAME="liblibrarian" --></td></tr></table>
66         <input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
67         <input type="hidden" name="tagfield" value="<!-- TMPL_VAR NAME="tagfield" -->" />
68         <input type="hidden" name="tagsubfield" value="<!-- TMPL_VAR NAME="tagsubfield" -->" />
69         <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->" />
70         <fieldset class="action"><input type="submit" class="cancel" value="Yes, Delete this Subfield" /><a class="cancel" href="/cgi-bin/koha/admin/auth_subfields_structure.pl?searchfield=<!-- TMPL_VAR NAME="searchfield" -->&amp;tagfield=<!-- TMPL_VAR NAME="tagfield" -->&amp;tagsubfield=<!-- TMPL_VAR NAME="tagsubfield" -->&amp;authtypecode=<!-- TMPL_VAR NAME="authtypecode" -->">Cancel</a></fieldset>
71                 </fieldset>
72     </form>
73 <!-- /TMPL_IF -->
74
75 <!-- TMPL_IF NAME="delete_confirmed" -->
76
77     <h3>Data deleted</h3>
78     <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
79         <input type="hidden" name="tagfield" value="<!-- TMPL_VAR NAME="tagfield" -->" />
80         <input type="submit" class="submit" value="OK" />
81     </form>
82 <!-- /TMPL_IF -->
83
84
85 <!-- TMPL_IF NAME="else" -->
86 <h1>Authority MARC subfield structure admin for <!-- TMPL_VAR NAME="tagfield" --> (authority: <!--TMPL_VAR NAME="authtypecode" -->)</h1>
87 <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>
88 <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>
89
90 <table>
91     <tr>
92         <th>Subfield</th>
93         <th>Text</th>
94         <th>Constraints</th>
95         <th>Delete</th>
96     </tr>
97     <!-- TMPL_LOOP NAME="loop" -->
98     <!-- TMPL_IF NAME="toggle" --><tr class="highlighted"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
99         <td><!-- TMPL_VAR NAME="tagsubfield" --></td>
100         <td>
101             <!-- TMPL_IF NAME="subfield_ignored" -->
102                     <i><!-- TMPL_VAR NAME="liblibrarian" --></i>
103             <!-- TMPL_ELSE -->
104                     <!-- TMPL_VAR NAME="liblibrarian" -->
105             <!-- /TMPL_IF -->
106         </td>
107         <td>
108             <!-- TMPL_IF NAME="subfield_ignored" -->
109                     <i>subfield ignored</i>
110             <!-- TMPL_ELSE -->
111                 <strong>Tab:</strong><!-- TMPL_VAR NAME="tab" -->,
112                 <!-- TMPL_IF NAME="kohafield" --> | <strong>Koha field:</strong> <!-- TMPL_VAR NAME="kohafield" -->, <!--/TMPL_IF -->
113                 <!-- TMPL_IF NAME="repeatable" -->Repeatable, <!-- TMPL_ELSE -->Not repeatable,
114                 <!-- /TMPL_IF -->
115                         <!-- TMPL_IF NAME="mandatory" -->Mandatory, <!-- TMPL_ELSE -->Not mandatory,
116                 <!-- /TMPL_IF -->
117                         <!-- TMPL_IF NAME="hidden" -->hidden,
118                 <!-- /TMPL_IF -->
119                         <!-- TMPL_IF NAME="isurl" -->is an url,
120                 <!-- /TMPL_IF -->
121                         <!-- TMPL_IF NAME="authorised_value" --> | <strong>Auth value:</strong><!-- TMPL_VAR NAME="authorised_value" -->,
122                 <!-- /TMPL_IF -->
123                         <!-- TMPL_IF NAME="frameworkcode" --> | <strong>Authority:</strong><!-- TMPL_VAR NAME="frameworkcode" -->,
124                 <!-- /TMPL_IF -->
125                 <!-- TMPL_IF NAME="value_builder" --> | <strong>Plugin:</strong><!-- TMPL_VAR NAME="value_builder" -->,<!-- /TMPL_IF -->
126             <!--/TMPL_IF-->
127         </td>
128         <td><a href="<!-- TMPL_VAR NAME="delete" -->">Delete</a></td>
129     </tr>
130     <!-- /TMPL_LOOP -->
131 </table>
132
133         <form action="<!-- TMPL_VAR NAME="script_name" -->" method="get">
134         <fieldset class="action"><input type="hidden" name="op" value="add_form" />
135         <input type="hidden" name="tagfield" value="<!-- TMPL_VAR name="edit_tagfield" -->" />
136         <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR name="edit_authtypecode" -->" />
137         <input type="submit" value="Edit subfields" />
138         <a class="cancel" href="auth_tag_structure.pl?searchfield=<!-- TMPl_VAR name="tagfield" -->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode"-->">Cancel</a></fieldset>
139         </form>
140
141     <!-- TMPL_IF NAME="previous" -->
142     <input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/1leftarrow.png" title="previous" alt="previous" border="0" >
143     </a>
144     <!-- /TMPL_IF -->
145     <!-- TMPL_IF NAME="next" -->
146         <!-- TMPL_VAR NAME="next" -->
147     <input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/1rightarrow.png" title="next" alt="next" border="0" />
148     </a>
149     <!-- /TMPL_IF -->
150
151 <!-- /TMPL_IF -->
152
153 </div>
154 </div>
155 <div class="yui-b">
156 <!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
157 </div>
158 </div>
159 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->