MARC authority management (continued)
[koha.git] / koha-tmpl / intranet-tmpl / default / en / parameters / auth_subfields_structure.tmpl
1 <!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
2
3 <div id="mainbloc">
4 <!-- TMPL_IF name="add_form" -->
5 <!---------------------------------------------------------------------------->
6         <H1>
7         <!-- TMPL_IF NAME="use-heading-flags-p" -->
8         <!-- TMPL_IF NAME="heading-edit-subfields-p" -->Edit subfields<!-- /TMPL_IF -->
9         <!-- TMPL_ELSE --><!-- TMPL_VAR name="action" --><!-- /TMPL_IF -->
10         </H1>
11         <form action='<!-- TMPL_VAR name="script_name" -->' name=Aform method=post>
12         <input type=hidden name=op value='add_validate'>
13         <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR name="authtypecode" -->">
14         <table>
15         <!-- TMPL_LOOP name="loop" -->
16                 <tr bgcolor='<!-- TMPL_VAR name="bgcolor" -->'>
17                 <td>
18                         <h2 class="parameters">Tag <!-- TMPL_VAR name="tagfield" -->, Subfield <!-- TMPL_VAR name="tagsubfield" --></h2>
19                         <h3>MARC constraints</h3>
20                         <p>
21                                 <label>&nbsp;</label><!-- TMPL_VAR name="repeatable" --> repeatable 
22                                 <!-- TMPL_VAR name="mandatory" --> mandatory
23                         </p>
24                         <p>
25                                 <label>&nbsp;</label>
26                                 <label>Search also</label><input type="text" name="seealso" value="<!-- TMPL_VAR name="seealso" -->" size=20 maxlength=80> (example for 200a : '700a','701a','702a')
27                         </p>
28                         <h3>Editor constaints</h3>
29                         <p> <label>&nbsp;</label>
30                                 <label>Text for librarian</label>
31                                 <input type=text name="liblibrarian" value="<!-- TMPL_VAR name="liblibrarian" -->" size=40 maxlength=80>
32                         </p>
33                         <p>
34                                 <label>&nbsp;</label>
35                                 <label>Text for OPAC</label> <input type=text name="libopac" value="<!-- TMPL_VAR name="libopac" -->" size=40 maxlength=80>
36                         </p>
37                         <p><label>&nbsp;</label><label>Managed</label> <!-- TMPL_VAR name="tab" --></p>
38                         <p><label>&nbsp;</label><!-- TMPL_VAR name="hidden" --> hidden (subfield is managed, but hidden. -should be filled by a plugin or thesaurus-)</p>
39                         <p><label>&nbsp;</label><!-- TMPL_VAR name="isurl" --> URL (if checked, it means that the subfield is an URL and can be clicked</p>
40                         <p>
41                                 <label>&nbsp;</label><label>Auth value:</label> <!-- TMPL_VAR name="authorised_value" -->
42                                 or thesaurus: <!-- TMPL_VAR name="thesaurus_category" -->
43                                 or plugin: <!-- TMPL_VAR name="value_builder" -->
44                         </p>
45                 </td>
46                 </tr>
47         <!-- /TMPL_LOOP -->
48         </table>
49         <INPUT type=submit value='OK' class="button parameters">
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 "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>
53         </ul>
54         </p>
55         </form>
56 <!-- /TMPL_IF -->
57
58 <!-- TMPL_IF name="delete_confirm" -->
59 <!---------------------------------------------------------------------------->
60 <div id="bloc25">
61         <h2 class="parameters">
62                 Subfield <!-- TMPL_VAR name="tagsubfield" -->
63                 <!-- TMPL_VAR name="liblibrarian" -->
64         </h2>
65         <form action='<!-- TMPL_VAR name="delete_link" -->' method=post>
66                 <input type=hidden name=op value=delete_confirmed>
67                 <input type=hidden name=searchfield value='<!-- TMPL_VAR name="searchfield" -->'>
68                 <input type=hidden name=tagfield value='<!-- TMPL_VAR name="tagfield" -->'>
69                 <input type=hidden name=tagsubfield value='<!-- TMPL_VAR name="tagsubfield" -->'>
70                 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR name="authtypecode" -->">
71                 <p>CONFIRM DELETION</p>
72                 <input type=submit value='YES' class="button parameters">
73         </form>
74         <form action='<!-- TMPL_VAR name="script_name" -->' method=post>
75                 <input type="hidden" name="tagfield" value="<!-- TMPL_VAR name="tagfield" -->">
76                 <input type=submit value="NO" class="button parameters">
77         </form>
78 </div>
79 <!-- /TMPL_IF -->
80
81 <!---------------------------------------------------------------------------->
82 <!-- TMPL_IF name="else" -->
83 <h1>Authority MARC subfield structure admin for tag <!-- TMPL_VAR name="tagfield" --> <!-- TMPL_IF name="authtypecode" -->(framework <!--TMPL_VAR name="authtypecode" -->)<!-- TMPL_ELSE -->(default framework)<!-- /TMPL_IF --></h1>
84 <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>
85
86 <table>
87 <tr>
88         <th>Subfield</th>
89         <th>Text</th>
90         <th>Constraints</th>
91         <th>Delete</th>
92 <!-- TMPL_LOOP name="loop" -->
93 <tr bgcolor='<!-- TMPL_VAR name="bgcolor" -->'>
94         <td><!-- TMPL_VAR name="tagsubfield" --></td>
95         <td>
96                 <!-- TMPL_IF name="subfield_ignored" -->
97                         <i><!-- TMPL_VAR name="liblibrarian" --></i>
98                 <!-- TMPL_ELSE -->
99                         <!-- TMPL_VAR name="liblibrarian" -->
100                 <!-- /TMPL_IF -->
101         </td>
102         <td>
103                 <!-- TMPL_IF name="subfield_ignored" -->
104                         <i>subfield ignored</i>
105                 <!-- TMPL_ELSE -->
106                         Managed, <!-- TMPL_IF name="repeatable" -->Repeatable, <!-- TMPL_ELSE -->Not repeatable,<!-- /TMPL_IF -->
107                         <!-- TMPL_IF name="mandatory" -->Mandatory, <!-- TMPL_ELSE -->Not mandatory,<!-- /TMPL_IF -->
108                         <!-- TMPL_IF name="seealso" -->see also : <!-- TMPL_VAR name="seealso" -->,<!-- /TMPL_IF -->
109                         <!-- TMPL_IF name="hidden" -->hidden,<!-- /TMPL_IF -->
110                         <!-- TMPL_IF name="isurl" -->is an url,<!-- /TMPL_IF -->
111                         <!-- TMPL_IF name="authorised_value" --> Auth value :<!-- TMPL_VAR name="authorised_value" -->,<!-- /TMPL_IF -->
112                         <!-- TMPL_IF name="value_builder" -->Plugin :<!-- TMPL_VAR name="value_builder" -->,<!-- /TMPL_IF -->
113                 <!-- /TMPL_IF -->
114         </td>
115         <td>
116                 <a href="<!-- TMPL_VAR name="delete" -->">
117                         <img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/edittrash.png" width=32 hspace=0 vspace=0 border=0>
118                 </a>
119         </td>
120 </tr>
121 <!-- /TMPL_LOOP -->
122 </table>
123 <!-- TMPL_VAR name="edit" -->
124         <img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png"  width=32 hspace=0 vspace=0 border=0>
125 </a>
126 <a href="auth_tag_structure.pl?searchfield=<!-- TMPL_VAR name="tagfield" -->&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
127         <img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/2uparrow.png" width=32 hspace=0 vspace=0 border=0>
128 </a>
129 <!-- TMPL_IF name="previous" -->
130         <input type=image src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/1leftarrow.png" title="previous" ALT="previous" BORDER=0 >
131         </a><!-- /TMPL_IF -->
132 <!-- TMPL_IF name="next" -->
133         <!-- TMPL_VAR name="next" -->
134                 <input type=image src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/1rightarrow.png" title="next" ALT="next" BORDER=0>
135         </a>
136 <!-- /TMPL_IF -->
137 <!-- /TMPL_IF -->
138
139 </div>
140
141 <!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->