first go at moving templates to a modules/ dir
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / authorised_values.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; System Administration &rsaquo; <!-- TMPL_IF name="add_form" --><!-- TMPL_VAR name="action" --><!-- /TMPL_IF -->
3 <!-- TMPL_IF name="delete_confirm" -->Confirm Deletion<!-- /TMPL_IF -->
4 <!-- TMPL_IF name="else" -->Authorised values admin<!-- /TMPL_IF --></title>
5 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
6
7 <!-- TMPL_INCLUDE NAME="menus.inc" -->
8 <!-- TMPL_INCLUDE NAME="menu-admin.inc" -->
9
10 <!-- TMPL_IF name="add_form" -->
11         <h1>
12            <!-- TMPL_IF name="action_modify" -->Modify authorised value<!-- /TMPL_IF -->
13            <!-- TMPL_IF name="action_add_value" -->Add authorised value<!-- /TMPL_IF -->
14            <!-- TMPL_IF name="action_add_category" -->Add category<!-- /TMPL_IF -->
15         </h1>
16         <form class="inline" action="<!-- TMPL_VAR name="script_name" -->" name="Aform" method="post">
17         <input type="hidden" name="op" value="add_validate" />
18         <table>
19         <tr>
20             <th><label for="category">Category</label></th>
21             <td><!-- TMPL_VAR name="category" --></td>
22         </tr>
23         <tr>
24             <th><label for="authorised_value">Authorised value</label></th>
25             <td><input type="text" id="authorised_value" name="authorised_value" value="<!-- TMPL_VAR name="authorised_value" -->" /></td>
26         </tr>
27         <tr>
28             <th><label for="lib">Description</label></th>
29             <td><input type="text" name="lib" id="lib" value="<!-- TMPL_VAR name="lib" -->" /></td>
30         </tr>
31         </table>
32         <input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
33         <input type="submit" value="Save" />
34     </form>
35     <form class="inline" action="/cgi-bin/koha/admin/authorised_values.pl" method="get"><input type="submit" value="Cancel and Return to Authorized Values" /></form>
36 <!-- /TMPL_IF -->
37
38
39 <!-- TMPL_IF name="delete_confirm" -->
40 <!-- -->
41 <h3>Confirm Deletion</h3>
42 <table>
43         <tr>
44                 <td>Variable</td>
45                 <td>Description</td>
46                 <td><!-- TMPL_VAR name="searchfield" --></td>
47         </tr>
48         <tr><td>Value</td><td><!-- TMPL_VAR name="Tvalue" --></td></tr>
49         </table>
50         <form action="<!-- TMPL_VAR name=" script_name " -->" method="post">
51                 <input type="hidden" name="op" value="delete_confirmed" />
52                 <input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
53                 <input type="hidden" name="searchfield" value="<!-- TMPL_VAR name="searchfield" -->" /><input type="submit" value="Confirm Deletion" /></form> <form class="inline" action="<!-- TMPL_VAR name="script_name" -->" method="post"><input type="submit" value="Do Not Delete" /></form>
54 <!-- /TMPL_IF -->
55
56 <!-- -->
57 <!-- TMPL_IF name="else" -->
58
59 <h1>Authorised values admin</h1>
60 <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>
61 <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,
62 the subfield is not entered through a free field, but though a list of authorised values</p>
63 <form action="/cgi-bin/koha/admin/authorised_values.pl" method="post"><label for="searchfield">Show Category: </label><!-- TMPL_VAR name="tab_list" --> <input type="submit" value="Submit" /></form>
64 <table>
65 <tr>
66         <th>Category</th>
67         <th>Authorised value</th>
68         <th>Description</th>
69         <th>Edit</th>
70         <th>Delete</th>
71         </tr>
72 <!-- TMPL_LOOP name="loop" -->
73 <tr>
74         <td><!-- TMPL_VAR name="category" --></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 </table>
82
83 <!-- TMPL_IF NAME="isprevpage" -->
84 <form class="inline" action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
85 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="prevpage" -->" /><input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
86         <input type="submit" value="&lt;&lt; Previous Page" /></form>
87 <!-- /TMPL_IF --> 
88
89 <div id="action">
90     <a href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=<!-- TMPL_VAR NAME="category" -->">Add Authorised value for <!-- TMPL_VAR name="category" --></a>
91     <a href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form">Add New Category</a>
92 </div>
93
94 <!-- TMPL_IF NAME="nextpage" -->
95 <form class="inline" action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
96 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="nextpage" -->" /><input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
97         <input type="submit" value="Next Page &gt;&gt;" /></form>
98 <!-- /TMPL_IF -->
99
100 <!-- /TMPL_IF -->
101
102 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->