]> git.koha-community.org Git - koha.git/blob - koha-tmpl/intranet-tmpl/default/en/parameters/authorised_values.tmpl
synch'ing 2.0.0 branch (RC4 tag) and head
[koha.git] / koha-tmpl / intranet-tmpl / default / en / parameters / authorised_values.tmpl
1 <!-- TMPL_INCLUDE NAME="parameters-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>
10                 <td>Category</td>
11                 <td><!-- TMPL_VAR name="category" --></td>
12         </tr>
13         <tr>
14                 <td>Authorised value</td>
15                 <td><input type=text name="authorised_value" value='<!-- TMPL_VAR name="authorised_value" escape=HTML -->'></td>
16         </tr>
17         <tr>
18                 <td>Lib</td>
19                 <td><input type=text name="lib" value='<!-- TMPL_VAR name="lib" -->'></td>
20         </tr>
21         <tr>
22                 <td>&nbsp;</td>
23                 <td><input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->">
24                         <INPUT type="submit" value='OK'></td>
25         </tr>
26         </table>
27         </form>
28 <!-- /TMPL_IF -->
29
30
31 <!-- TMPL_IF name="delete_confirm" -->
32 <!-------------------------------------------------------------------------------------------------->
33 <table border=0 cellspacing=0 cellpadding=2>
34         <tr valign=top bgcolor=#99cc33>
35                 <td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif"><b>Variable</b></td>
36                 <td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif"><b>Lib</b></td>
37                 <td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif"><b><!-- TMPL_VAR name="searchfield" --></b></td>
38         </tr>
39         <tr><td>Value</td><td><!-- TMPL_VAR name="Tvalue" --></td></tr>
40         <form action='<!-- TMPL_VAR name="script_name" -->' method=post>
41                 <input type=hidden name=op value=delete_confirmed>
42                 <input type=hidden name=id value='<!-- TMPL_VAR name="id" -->'>
43                 <input type="hidden" name="searchfield" value="<!-- TMPL_VAR name="searchfield" -->">
44         <tr><td colspan=2 align=center>CONFIRM DELETION</td></tr>
45         <tr><td><INPUT type=submit value='YES'></form></td>
46                 <td><form action='<!-- TMPL_VAR name="script_name" -->' method=post><input type=submit value=NO></form></td></tr>
47 <!-- /TMPL_IF -->
48
49 <!-------------------------------------------------------------------------------------------------->
50 <!-- TMPL_IF name="else" -->
51 <h1>Authorised values admin</h1>
52 <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>
53 <p>When you define the MARC subfield structure, you can link a subfield to an authorised-value category. When the user adds or modifies a biblio, the subfield is not entered through a free field, but though a list of authorised values.</p>
54 <form action=/cgi-bin/koha/admin/authorised_values.pl method=post>
55         <!-- TMPL_VAR name="tab_list" --><input type="submit" value="OK">   <a href="authorised_values.pl?op=add_form">New category...</a>
56 </form>
57 <!-- TMPL_VAR name="searchfield" -->
58 <table border=0 cellspacing=0 cellpadding=2 width="80%">
59 <tr valign=top bgcolor=#99cc33>
60         <td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif"><b>Category</b></td>
61         <td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif"><b>Authorised value</b></td>
62         <td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif"><b>Lib</b></td>
63         <td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif"><b>Edit</b></td>
64         <td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif"><b>Delete</b></td>
65 <!-- TMPL_LOOP name="loop" -->
66 </tr valign=top bgcolor='<!-- TMPL_VAR name="bgcolor" -->'>
67         <td><!-- TMPL_VAR name="category" --></td>
68         <td><!-- TMPL_VAR name="authorised_value" --></td>
69         <td><!-- TMPL_VAR name="lib" --></td>
70         <td><a href="<!-- TMPL_VAR name="edit" -->"><img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png"  width=32 hspace=0 vspace=0 border=0></a></td>
71         <td><a href="<!-- TMPL_VAR name="delete" -->"><img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/edittrash.png" width=32 hspace=0 vspace=0 border=0></a></td>
72 </tr>
73 <!-- /TMPL_LOOP -->
74 <form action='<!-- TMPL_VAR name="script_name" -->' method=post>
75 <input type=hidden name=op value=add_form>
76 </table>
77
78 <table width=40%>
79         <tr>
80                 <td width=50%>
81                         <!-- TMPL_IF name="isprevpage" -->
82                                 <a href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="prevpage" -->&searchfield=<!-- TMPL_VAR name="searchfield" -->">
83                                 <input type=image src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/1leftarrow.png" title="previous" ALT="previous" BORDER=0>
84                                 </a>
85                         <!-- /TMPL_IF -->
86                 </td>
87                 <td width=50%>
88                         <!-- TMPL_IF name="nextpage" -->
89                                 <a href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="nextpage" -->&searchfield=<!-- TMPL_VAR name="searchfield" -->">
90                                         <input type=image src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/1rightarrow.png" title="next" ALT="next" BORDER=0>
91                                 </a>
92                         <!-- /TMPL_IF -->
93                 </td>
94         </tr>
95 </table>
96 <form action='<!-- TMPL_VAR name="script_name" -->' method=post>
97 <input type="hidden" name="op" value="add_form">
98 <input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->">
99 <br><input type=submit class="button" value="Add Authorised value" title="Add authorised Value" ALT="Add Authorised value"><br>
100 </form>
101 <!-- /TMPL_IF -->
102
103
104 <!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->