minor presentation modifs
[koha.git] / koha-tmpl / intranet-tmpl / default / en / parameters / marc_subfields_structure.tmpl
1 <TMPL_INCLUDE NAME="cat-top.inc">
2         
3 <TMPL_IF name="add_form">
4 <!-------------------------------------------------------------------------------------------------->
5         <H1><TMPL_VAR name="action"></H1>
6         <form action='<TMPL_VAR name="script_name">' name=Aform method=put>
7         <input type=hidden name=op value='add_validate'>
8         <table>
9         <tr><th>Field</th>
10                 <th>Lib for librarians / for opac</th>
11                 <th>Repet</th>
12                 <th>Mand</th>
13                 <th>Koha field</th>
14                 <th>Tab</th>
15                 <th>Authorised value or<br/>
16                                 Thesaurus category</th>
17         </tr>
18         <TMPL_LOOP name="loop">
19                 <tr valign=top bgcolor='<TMPL_VAR name="bgcolor">'>
20                 <td><TMPL_VAR name="tagfield"> - <TMPL_VAR name="tagsubfield"></td>
21                 <td><input type=text name="liblibrarian" value='<TMPL_VAR name="liblibrarian">' size=40 maxlength=80><br/>
22                                 <input type=text name="libopac" value='<TMPL_VAR name="libopac">' size=40 maxlength=80></td>
23                 <td><TMPL_VAR name="repeatable"></td>
24                 <td><TMPL_VAR name="mandatory"></td>
25                 <td><TMPL_VAR name="kohafield"></td>
26                 <td><TMPL_VAR name="tab"></td>
27                 <td><TMPL_VAR name="authorised_value"><br/>
28                                 or <TMPL_VAR name="thesaurus_category"><br/>
29                                 or <TMPL_VAR name="value_builder"></td>
30         </TMPL_LOOP>
31         </table>
32         <INPUT type=submit value='OK'>
33         <p>Note : in the last column, you can choose :
34         <ul><li>An "authorised value" : it refers to a list of authorised value for this subfield. See the corresponding admin table</li>
35         <li>A "thesaurus category" : it refers to a thesaurus category. See the corresponding admin table</li>
36         <li>A "value builder" : values builders are perl programm that helps you select the value of the field. They are MARC-flavor dependant and sometimes fills an other subfield automaticaly</li>
37         </ul>
38         </p>
39         </form>
40 </TMPL_IF>
41
42 <TMPL_IF name="delete_confirm">
43 <!-------------------------------------------------------------------------------------------------->
44 <table border=0 cellspacing=0 cellpadding=2>
45         <tr valign=top bgcolor=#99cc33>
46                 <td background="/images/background-mem.gif"><b>Subfield</b></td>
47                 <td background="/images/background-mem.gif"><b><TMPL_VAR name="searchfield"></b></td>
48         </tr>
49         <tr><td>&nbsp;</td><td><TMPL_VAR name="liblibrarian"></td></tr>
50         <form action='<TMPL_VAR name="delete_link">' method=post><input type=hidden name=op value=delete_confirmed><input type=hidden name=searchfield value='<TMPL_VAR name="searchfield">'>
51         <input type=hidden name=tagfield value='<TMPL_VAR name="tagfield">'>
52         <input type=hidden name=tagsubfield value='<TMPL_VAR name="tagsubfield">'>
53         <tr><td colspan=2 align=center>CONFIRM DELETION</td></tr>
54         <tr><td><INPUT type=submit value='YES'></form></td><td><form action='<TMPL_VAR name="script_name">' method=post><input type="hidden" name="tagfield" value="<TMPL_VAR name="tagfield">"><input type=submit value=NO></form></td></tr>
55 </TMPL_IF>
56
57 <TMPL_IF name="delete_confirmed">
58 <!-------------------------------------------------------------------------------------------------->
59         data deleted
60         <form action='<TMPL_VAR name="script_name"> method=post><input type="hidden" name="tagfield" value="<TMPL_VAR name="tagfield">">
61         <input type=submit value=OK>
62         </form>
63 </TMPL_IF>
64
65 <!-------------------------------------------------------------------------------------------------->
66 <TMPL_IF name="else">
67 <font SIZE=6><em>MARC subfield structure admin for <TMPL_VAR name="tagfield"></em></font>
68 <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>
69 <p>The column <b>koha field</b> shows that the subfield is linked with a "koha field". Koha can manage a marc interface, or a koha interface. This link
70 ensure that both DB are synchronized, thus you can change from MARC to KOHA interface easily.</p>
71 <table border=0 cellspacing=0 cellpadding=2>
72 <tr valign=top bgcolor=#99cc33>
73         <td background="/images/background-mem.gif" width=5%><b>Subfield</b></td>
74         <td background="/images/background-mem.gif" width=30%><b>Lib</b></td>
75         <td background="/images/background-mem.gif" width=10%><b>koha field</b> <span style="font-size:8;color:red" title="the koha-DB field linked to this subfield">?</span></td>
76         <td background="/images/background-mem.gif" width=8%><b>Rep</b> <span style="font-size:8;color:red" title="subfield may be repeated (1=yes, 0=no)">?</span></td>
77         <td background="/images/background-mem.gif" width=8%><b>Mand</b> <span style="font-size:8;color:red" title="subfield is mandatory (1=yes, 0=no)">?</span></td>
78         <td background="/images/background-mem.gif" width=8%><b>Tab</b> <span style="font-size:8;color:red" title="subfield is shown in which tab (0-9 or item)">?</span></td>
79         <td background="/images/background-mem.gif" width=8%><b>Auth value</b> <span style="font-size:8;color:red" title="values authorised for this subfield">?</span></td>
80         <td background="/images/background-mem.gif" width=8%><b>Thesaurus</b> <span style="font-size:8;color:red" title="Thesaurus linked to this subfield">?</span></td>
81         <td background="/images/background-mem.gif" width=8%><b>Val build</b> <span style="font-size:8;color:red" title="Value builder">?</span></td>
82         <td background="/images/background-mem.gif" width=8%>&nbsp;</td>
83 <TMPL_LOOP name="loop">
84 <tr valign=top bgcolor='<TMPL_VAR name="bgcolor">'>
85         <td><TMPL_VAR name="tagsubfield"></td>
86         <td><TMPL_VAR name="liblibrarian"></td>
87         <td><TMPL_VAR name="kohafield"></td>
88         <td><TMPL_IF name="repeatable">Yes<TMPL_ELSE>No</TMPL_IF></td>
89         <td><TMPL_IF name="mandatory">Yes<TMPL_ELSE>No</TMPL_IF></td>
90         <td><TMPL_VAR name="tab"></td>
91         <td><TMPL_VAR name="authorised_value"></td>
92         <td><TMPL_VAR name="thesaurus_category"></td>
93         <td><TMPL_VAR name="value_builder"></td>
94         <td><a href="<TMPL_VAR name="delete">">delete</a></td>
95 </tr>
96 </TMPL_LOOP>
97 </table>
98 <TMPL_VAR name="edit">
99 <table width=60%>
100         <tr>
101                 <td width=33%><TMPL_VAR name="previous"></td>
102                 <td width=33%><TMPL_VAR name="next"></td>
103                 <td width=33%><a href="marctagstructure.pl">Back to Tags</a></td>
104         </tr>
105 </table>
106 </TMPL_IF>
107
108 <TMPL_INCLUDE NAME="cat-bottom.inc">