Use "post" instead of "put" for the Edit screen, to avoid the URL being so
[koha.git] / koha-tmpl / intranet-tmpl / default / es / 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=post>
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         <a href="marc_subfields_structure.pl?op=add_form&tagfield=<TMPL_VAR name="more_tag">&more_subfields=<TMPL_VAR name="more_subfields">">More</a>
33         <INPUT type=submit value='OK'>
34         <p>Note : in the last column, you can choose :
35         <ul><li>An "authorised value" : it refers to a list of authorised value for this subfield. See the corresponding admin table</li>
36         <li>A "thesaurus category" : it refers to a thesaurus category. See the corresponding admin table</li>
37         <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>
38         </ul>
39         </p>
40         </form>
41 </TMPL_IF>
42
43 <TMPL_IF name="delete_confirm">
44 <!-------------------------------------------------------------------------------------------------->
45 <table border=0 cellspacing=0 cellpadding=5>
46         <tr valign=top bgcolor=#99cc33>
47                 <td background="/images/background-mem.gif"><b>Subfield</b></td>
48                 <td background="/images/background-mem.gif"><b><TMPL_VAR name="searchfield"></b></td>
49         </tr>
50         <tr><td>&nbsp;</td><td><TMPL_VAR name="liblibrarian"></td></tr>
51         <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">'>
52         <input type=hidden name=tagfield value='<TMPL_VAR name="tagfield">'>
53         <input type=hidden name=tagsubfield value='<TMPL_VAR name="tagsubfield">'>
54         <tr><td colspan=2 align=center>CONFIRM DELETION</td></tr>
55         <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>
56 </TMPL_IF>
57
58 <TMPL_IF name="delete_confirmed">
59 <!-------------------------------------------------------------------------------------------------->
60         data deleted
61         <form action='<TMPL_VAR name="script_name"> method=post><input type="hidden" name="tagfield" value="<TMPL_VAR name="tagfield">">
62         <input type=submit value=OK>
63         </form>
64 </TMPL_IF>
65
66 <!-------------------------------------------------------------------------------------------------->
67 <TMPL_IF name="else">
68 <font SIZE=6><em>MARC subfield structure admin for <TMPL_VAR name="tagfield"></em></font>
69 <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>
70 <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
71 ensure that both DB are synchronized, thus you can change from MARC to KOHA interface easily.</p>
72 <table border=0 cellspacing=0 cellpadding=5>
73 <tr valign=top bgcolor=#99cc33>
74         <td background="/images/background-mem.gif" width=5%><b>Subfield</b></td>
75         <td background="/images/background-mem.gif" width=30%><b>Lib</b></td>
76         <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>
77         <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>
78         <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>
79         <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>
80         <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>
81         <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>
82         <td background="/images/background-mem.gif" width=8%><b>Val build</b> <span style="font-size:8;color:red" title="Value builder">?</span></td>
83         <td background="/images/background-mem.gif" width=8%>&nbsp;</td>
84 <TMPL_LOOP name="loop">
85 <tr valign=top bgcolor='<TMPL_VAR name="bgcolor">'>
86         <td><TMPL_VAR name="tagsubfield"></td>
87         <td><TMPL_VAR name="liblibrarian"></td>
88         <td><TMPL_VAR name="kohafield"></td>
89         <td><TMPL_IF name="repeatable">Yes<TMPL_ELSE>No</TMPL_IF></td>
90         <td><TMPL_IF name="mandatory">Yes<TMPL_ELSE>No</TMPL_IF></td>
91         <td><TMPL_VAR name="tab"></td>
92         <td><TMPL_VAR name="authorised_value"></td>
93         <td><TMPL_VAR name="thesaurus_category"></td>
94         <td><TMPL_VAR name="value_builder"></td>
95         <td><a href="<TMPL_VAR name="delete">">delete</a></td>
96 </tr>
97 </TMPL_LOOP>
98 </table>
99 <TMPL_VAR name="edit">
100 <table width=60%>
101         <tr>
102                 <td width=33%><TMPL_VAR name="previous"></td>
103                 <td width=33%><TMPL_VAR name="next"></td>
104                 <td width=33%><a href="marctagstructure.pl">Back to Tags</a></td>
105         </tr>
106 </table>
107 </TMPL_IF>
108
109 <TMPL_INCLUDE NAME="cat-bottom.inc">