Switching one of the include files in the header to fix javascript error
[koha.git] / koha-tmpl / intranet-tmpl / npl / en / parameters / authorised_values.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- System Administration: <!-- TMPL_IF name="add_form" --><!-- TMPL_VAR name="action" --><!-- /TMPL_IF -->
2 <!-- TMPL_IF name="delete_confirm" -->Confirm Deletion<!-- /TMPL_IF -->
3 <!-- TMPL_IF name="else" --><!-- TMPL_VAR name="searchfield" -->Authorised values admin<!-- /TMPL_IF -->
4 <!-- TMPL_INCLUDE NAME="doc-head-close-addbiblio.inc" -->
5 <!-- TMPL_INCLUDE NAME="masthead.inc" -->
6 <!-- TMPL_INCLUDE NAME="admin-topmenu.inc" -->
7 <!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
8
9 <div id="main">
10 <!-- TMPL_IF name="add_form" -->
11 <!-- -->
12         
13         <form action="<!-- TMPL_VAR name="script_name" -->" name="Aform" method="post">
14         <input type="hidden" name="op" value="add_validate" />
15         <h1><!-- TMPL_VAR name="action" --></h1>
16         <table>
17         <tr>
18                 <td>Category</td>
19                 <td><!-- TMPL_VAR name="category" --></td>
20         </tr>
21         <tr>
22                 <td>Authorised value</td>
23                 <td><input type="text" name="authorised_value" value="<!-- TMPL_VAR name=" authorised_value" -->" /></td>
24         </tr>
25         <tr>
26                 <td>Lib</td>
27                 <td><input type="text" name="lib" value="<!-- TMPL_VAR name="lib" -->" /></td>
28         </tr>
29         </table><p><input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
30                         <input type="submit" value="OK" class="submit" /></p>
31         </form>
32 <!-- /TMPL_IF -->
33
34
35 <!-- TMPL_IF name="delete_confirm" -->
36 <!-- -->
37 <h3>Confirm Deletion</h3>
38 <table>
39         <tr>
40                 <td><b>Variable</b></td>
41                 <td><b>Lib</b></td>
42                 <td><b><!-- TMPL_VAR name="searchfield" --></b></td>
43         </tr>
44         <tr><td>Value</td><td><!-- TMPL_VAR name="Tvalue" --></td></tr>
45         </table>
46 <div class="tabitem">   <form action="<!-- TMPL_VAR name=" script_name " -->" method="post">
47                 <input type="hidden" name="op" value="delete_confirmed" />
48                 <input type="hidden" name="id" value="<!-- TMPL_VAR name=" id " -->" />
49                 <input type="hidden" name="searchfield" value="<!-- TMPL_VAR name="searchfield" -->" /><input type="submit" class="cancel" value="Confirm Deletion" /></form> <form action="<!-- TMPL_VAR name="script_name" -->" method="post"><input type="submit" class="submit" value="Do Not Delete" /></form>
50 </div><!-- /TMPL_IF -->
51
52 <!-- -->
53 <!-- TMPL_IF name="else" -->
54
55
56 <!-- TMPL_VAR name="searchfield" -->
57 <h1>Authorised values admin</h1>
58 <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>
59 <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,
60 the subfield is not entered through a free field, but though a list of authorised values</p>
61 <div class="tabitem"><form action="/cgi-bin/koha/admin/authorised_values.pl" method="post">
62         <!-- TMPL_VAR name="tab_list" --><input type="submit" value="Search" class="submit" /></form>
63 <form action="/cgi-bin/koha/admin/authorised_values.pl" method="get"><input type="hidden" value="add_form" name="op" /><input type="submit" class="submit" value="New Category" /></form></div>
64 <table>
65 <tr>
66         <th>Category</th>
67         <th>Authorised value</th>
68         <th>Lib</th>
69         <th>Edit</th>
70         <th>Delete</th>
71         </tr>
72 <!-- TMPL_LOOP name="loop" -->
73 <tr>
74         <td><a href="<!-- TMPL_VAR name="edit " -->"><!-- TMPL_VAR name="category" --></a></td>
75         <td><!-- TMPL_VAR name="authorised_value" --></td>
76         <td><!-- TMPL_VAR name="lib" --></td>
77         <td><a href="<!-- TMPL_VAR name="edit" -->">Edit</a></td>
78         <td><a href="<!-- TMPL_VAR name="delete" -->">Delete</a></td>
79 </tr>
80 <!-- /TMPL_LOOP -->
81
82 <tr><td><!-- TMPL_VAR name="previous" --></td><td colspan="3"><form action="<!-- TMPL_VAR name=" script_name " -->" method="post">
83 <input type="hidden" name="op" value="add_form" />
84 <input type="hidden" name="category" value="<!-- TMPL_VAR name=" category " -->" />
85 <input type="submit" value="Add Category" class="submit" />
86 </form></td><td><!-- TMPL_VAR name="next" --></td></tr>
87 </table>
88
89 <!-- /TMPL_IF -->
90 </div>
91 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->