small gui fixes
[koha.git] / koha-tmpl / intranet-tmpl / default / en / parameters / authorised_values.tmpl
1 <TMPL_INCLUDE NAME="parameters-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=post>
12         <input type=hidden name=op value='add_validate'>
13         <table>
14         <tr>
15                 <td>Category</td>
16                 <td><TMPL_VAR name="category"></td>
17         </tr>
18         <tr>
19                 <td>Authorised value</td>
20                 <td><input type=text name="authorised_value" value='<TMPL_VAR name="authorised_value">'></td>
21         </tr>
22         <tr>
23                 <td>Lib</td>
24                 <td><input type=text name="lib" value='<TMPL_VAR name="lib">'></td>
25         </tr>
26         <tr>
27                 <td>&nbsp;</td>
28                 <td><input type="hidden" name="id" value="<TMPL_VAR name="id">">
29                         <INPUT type="submit" value='OK'></td>
30         </tr>
31         </table>
32         </form>
33 </TMPL_IF>
34
35
36 <TMPL_IF name="delete_confirm">
37 <!-------------------------------------------------------------------------------------------------->
38 <table border=0 cellspacing=0 cellpadding=2>
39         <tr valign=top bgcolor=#99cc33>
40                 <td background="/images/background-mem.gif"><b>Variable</b></td>
41                 <td background="/images/background-mem.gif"><b>Lib</b></td>
42                 <td background="/images/background-mem.gif"><b><TMPL_VAR name="searchfield"></b></td>
43         </tr>
44         <tr><td>Value</td><td><TMPL_VAR name="Tvalue"></td></tr>
45         <form action='<TMPL_VAR name="script_name">' method=post>
46                 <input type=hidden name=op value=delete_confirmed>
47                 <input type=hidden name=id value='<TMPL_VAR name="id">'>
48                 <input type="hidden" name="searchfield" value="<TMPL_VAR name="searchfield">">
49         <tr><td colspan=2 align=center>CONFIRM DELETION</td></tr>
50         <tr><td><INPUT type=submit value='YES'></form></td>
51                 <td><form action='<TMPL_VAR name="script_name">' method=post><input type=submit value=NO></form></td></tr>
52 </TMPL_IF>
53
54 <!-------------------------------------------------------------------------------------------------->
55 <TMPL_IF name="else">
56 <font SIZE=6><em>Authorised values admin</em></font>
57 <p>This table is used in MARC definition. You can define as many categories as you want, and as many authorised values as you want in each category.</p>
58 <p>When you define the MARC subfield structure, you can link a subfield to a authorised-value category. When the user ask for adding of modifying a biblio,
59 the subfield is not entered through a free field, but though a list of authorised values</p>
60 <form action=/cgi-bin/koha/admin/authorised_values.pl method=post>
61         <TMPL_VAR name="tab_list"><input type="submit" value="OK">   <a href="authorised_values.pl?op=add_form">New category...</a>
62 </form>
63 <TMPL_VAR name="searchfield">
64 <table border=0 cellspacing=0 cellpadding=2>
65 <tr valign=top bgcolor=#99cc33>
66         <td background="/images/background-mem.gif"><b>Category</b></td>
67         <td background="/images/background-mem.gif"><b>Authorised value</b></td>
68         <td background="/images/background-mem.gif"><b>Lib</b></td>
69         <td background="/images/background-mem.gif">&nbsp;</td>
70         <td background="/images/background-mem.gif">&nbsp;</td>
71 <TMPL_LOOP name="loop">
72 </tr valign=top bgcolor='<TMPL_VAR name="bgcolor">'>
73         <td><TMPL_VAR name="category"></td>
74         <td><TMPL_VAR name="authorised_value"></td>
75         <td><TMPL_VAR name="lib"></td>
76         <td><a href="<TMPL_VAR name="edit">">Edit</a></td>
77         <td><a href="<TMPL_VAR name="delete">">Delete</a></td>
78 </tr>
79 </TMPL_LOOP>
80 <form action='<TMPL_VAR name="script_name">' method=post>
81 <input type=hidden name=op value=add_form>
82 </table>
83 <table width=40%>
84         <tr>
85                 <td width=50%><TMPL_VAR name="previous"></td>
86                 <td width=50%><TMPL_VAR name="next"></td>
87         </tr>
88 </table>
89 <form action='<TMPL_VAR name="script_name">' method=post>
90 <input type="hidden" name="op" value="add_form">
91 <input type="hidden" name="category" value="<TMPL_VAR name="category">">
92 <br><input type=image src="/images/button-add-new.gif"  WIDTH=188  HEIGHT=44  ALT="Add budget" BORDER=0 ></a><br>
93 </form>
94 </TMPL_IF>
95
96 <TMPL_INCLUDE NAME="parameters-bottom.inc">