call number work part 2 -- added framework for call number filing routines
[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; Administration &rsaquo; Authorized Values <!-- TMPL_IF name="add_form" --> &rsaquo; <!-- TMPL_IF name="action_modify" -->Modify authorised value<!-- /TMPL_IF -->
3            <!-- TMPL_IF name="action_add_value" -->Add authorised value<!-- /TMPL_IF -->
4            <!-- TMPL_IF name="action_add_category" -->Add category<!-- /TMPL_IF --><!-- /TMPL_IF -->
5 <!-- TMPL_IF name="delete_confirm" -->Confirm Deletion<!-- /TMPL_IF -->
6 <!-- TMPL_IF name="else" -->Authorized values<!-- /TMPL_IF --></title>
7 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
8 </head>
9 <body>
10 <!-- TMPL_INCLUDE NAME="header.inc" -->
11 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
12
13 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; <!-- TMPL_IF name="add_form" --> <a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized Values</a> &rsaquo; <!-- TMPL_IF name="action_modify" -->Modify authorised value<!-- /TMPL_IF -->
14            <!-- TMPL_IF name="action_add_value" -->Add authorised value<!-- /TMPL_IF -->
15            <!-- TMPL_IF name="action_add_category" -->Add category<!-- /TMPL_IF --><!-- /TMPL_IF -->
16 <!-- TMPL_IF name="delete_confirm" --> <a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized Values</a> &rsaquo; Confirm Deletion<!-- /TMPL_IF -->
17 <!-- TMPL_IF name="else" -->Authorized values<!-- /TMPL_IF --></div>
18
19 <div id="doc3" class="yui-t2">
20    
21    <div id="bd">
22         <div id="yui-main">
23         <div class="yui-b">
24
25 <!-- TMPL_IF name="add_form" -->
26         <h1>
27            <!-- TMPL_IF name="action_modify" -->Modify authorised value<!-- /TMPL_IF -->
28            <!-- TMPL_IF name="action_add_value" -->Add authorised value<!-- /TMPL_IF -->
29            <!-- TMPL_IF name="action_add_category" -->Add category<!-- /TMPL_IF -->
30         </h1>
31         <form action="<!-- TMPL_VAR name="script_name" -->" name="Aform" method="post">
32         <input type="hidden" name="op" value="add_validate" />
33         <fieldset class="rows"><ol>
34         <li>
35                          <!-- TMPL_IF name="action_add_category" --><label for="category">Category</label><!-- TMPL_ELSE --><span class="label">Category</span><!-- /TMPL_IF -->
36             
37             <!-- TMPL_VAR name="category" -->
38         </li>
39         <li>
40             <label for="authorised_value">Authorized value</label>
41             <input type="text" id="authorised_value" name="authorised_value" value="<!-- TMPL_VAR name="authorised_value" -->" />
42         </li>
43         <li>
44             <label for="lib">Description</label>
45             <input type="text" name="lib" id="lib" value="<!-- TMPL_VAR name="lib" -->" />
46         </li>
47         </ol></fieldset>
48         <input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
49         <input type="submit" value="Save" />
50     </form>
51 <!-- /TMPL_IF -->
52
53
54 <!-- TMPL_IF name="delete_confirm" -->
55 <!-- -->
56 <h3>Confirm Deletion</h3>
57 <table>
58         <tr>
59                 <td>Variable</td>
60                 <td>Description</td>
61                 <td><!-- TMPL_VAR name="searchfield" --></td>
62         </tr>
63         <tr><td>Value</td><td><!-- TMPL_VAR name="Tvalue" --></td><td>&nbsp;</td></tr>
64         </table>
65         <form action="<!-- TMPL_VAR name=" script_name " -->" method="post">
66                 <input type="hidden" name="op" value="delete_confirmed" />
67                 <input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
68                 <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>
69 <!-- /TMPL_IF -->
70
71 <!-- TMPL_IF name="else" -->
72
73 <h1>Authorized values</h1>
74 <p>This table is used in MARC definition. You can define as many categories as you want, and as many authorized values as you want in each category.</p>
75 <p>When you define the MARC subfield structure, you can link a subfield to a authorized-value category. When the user ask for adding of modifying a biblio,
76 the subfield is not entered through a free field, but though a list of authorized values</p>
77 <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>
78 <table>
79 <tr>
80         <th>Category</th>
81         <th>Authorized value</th>
82         <th>Description</th>
83         <th>Edit</th>
84         <th>Delete</th>
85         </tr>
86 <!-- TMPL_LOOP name="loop" -->
87 <tr>
88         <td><!-- TMPL_VAR name="category" --></td>
89         <td><!-- TMPL_VAR name="authorised_value" --></td>
90         <td><!-- TMPL_VAR name="lib" --></td>
91         <td><a href="<!-- TMPL_VAR name="edit" -->">Edit</a></td>
92         <td><a href="<!-- TMPL_VAR name="delete" -->">Delete</a></td>
93 </tr>
94 <!-- /TMPL_LOOP -->
95 </table>
96
97 <!-- TMPL_IF NAME="isprevpage" -->
98 <form class="inline" action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
99 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="prevpage" -->" /><input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
100         <input type="submit" value="&lt;&lt; Previous Page" /></form>
101 <!-- /TMPL_IF --> 
102
103 <div id="action">
104     <a href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form&amp;category=<!-- TMPL_VAR NAME="category" -->">Add Authorized value for <!-- TMPL_VAR name="category" --></a>
105     <a href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form">Add New Category</a>
106 </div>
107
108 <!-- TMPL_IF NAME="nextpage" -->
109 <form class="inline" action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
110 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="nextpage" -->" /><input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
111         <input type="submit" value="Next Page &gt;&gt;" /></form>
112 <!-- /TMPL_IF -->
113
114 <!-- /TMPL_IF -->
115
116 </div>
117 </div>
118 <div class="yui-b">
119 <!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
120 </div>
121 </div>
122 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->