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