1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Administration › Authorized Values <!-- TMPL_IF name="add_form" --> › <!-- TMPL_IF name="action_modify" -->Modify authorized value<!-- /TMPL_IF -->
3 <!-- TMPL_IF name="action_add_value" --> › New authorized value<!-- /TMPL_IF -->
4 <!-- TMPL_IF name="action_add_category" --> › New 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 <script type="text/JavaScript" language="JavaScript">
10 $(document).ready(function() {
11 $('#icons > ul').tabs();
15 <style type="text/css">
16 fieldset.rows div.toptabs li { clear:none;margin-right:.5em;padding-bottom:0;width:auto; }
17 fieldset.rows div.toptabs .ui-tabs-nav li.ui-tabs-selected {background-color : transparent; }
18 fieldset.rows .ui-tabs-panel { margin-right : 10px; margin-left : 10px;margin-bottom:10px;}
22 <!-- TMPL_INCLUDE NAME="header.inc" -->
23 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
25 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › <!-- TMPL_IF name="add_form" --> <a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized Values</a> › <!-- TMPL_IF name="action_modify" -->Modify authorized value<!-- /TMPL_IF -->
26 <!-- TMPL_IF name="action_add_value" -->New authorized value<!-- /TMPL_IF -->
27 <!-- TMPL_IF name="action_add_category" -->New category<!-- /TMPL_IF --><!-- /TMPL_IF -->
28 <!-- TMPL_IF name="delete_confirm" --> <a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized Values</a> › Confirm Deletion<!-- /TMPL_IF -->
29 <!-- TMPL_IF name="else" -->Authorized values<!-- /TMPL_IF --></div>
31 <div id="doc3" class="yui-t2">
37 <!-- TMPL_IF name="add_form" -->
39 <!-- TMPL_IF name="action_modify" -->Modify authorized value<!-- /TMPL_IF -->
40 <!-- TMPL_IF name="action_add_value" -->New authorized value<!-- /TMPL_IF -->
41 <!-- TMPL_IF name="action_add_category" -->New category<!-- /TMPL_IF -->
43 <form action="<!-- TMPL_VAR name="script_name" -->" name="Aform" method="post">
44 <input type="hidden" name="op" value="add_validate" />
45 <input type="hidden" name="offset" value="<!-- TMPL_VAR name="offset" -->" />
46 <fieldset class="rows"><ol>
48 <!-- TMPL_IF name="action_add_category" --><label for="category">Category</label>
49 <input type="text" name="category" id="category" size="16" maxlength="16" />
50 <!-- TMPL_ELSE --><span class="label">Category</span>
51 <input type="hidden" name="category" value="<!-- TMPL_VAR NAME='category' -->" /> <!-- TMPL_VAR NAME='category' -->
55 <label for="authorised_value">Authorized value</label>
56 <!-- TMPL_IF name="action_modify" --><input type="hidden" id="id" name="id" value="<!-- TMPL_VAR name="id" -->" /><!-- /TMPL_IF -->
57 <input type="text" id="authorised_value" name="authorised_value" value="<!-- TMPL_VAR name="authorised_value" -->" />
60 <label for="lib">Description</label>
61 <input type="text" name="lib" id="lib" value="<!-- TMPL_VAR name="lib" -->" />
64 <label for="lib_opac">Description (OPAC)</label>
65 <input type="text" name="lib_opac" id="lib_opac" value="<!-- TMPL_VAR name="lib_opac" -->" />
68 <div id="icons" class="toptabs">
69 <h5 style="margin-left:10px;">Choose an Icon:</h5>
71 <li><a href="/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=<!-- TMPL_VAR NAME="category" -->#none">None</a></li>
72 <!-- TMPL_LOOP NAME="imagesets" -->
73 <li><a href="/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=<!-- TMPL_VAR NAME="category" -->#<!-- TMPL_VAR NAME="imagesetname" -->"><!-- TMPL_VAR name="imagesetname" --></a></li>
78 <li><label for="noimage">No image: </label><input type="radio" name="imageurl" id="noimage" value="removeImage" /></li>
80 <br class="clear" /></div>
81 <!-- TMPL_LOOP NAME="imagesets" -->
82 <div id="<!-- TMPL_VAR NAME="imagesetname" -->"><ul>
83 <!-- TMPL_LOOP NAME="images" -->
84 <li style="float: none; display: inline; clear : none; width: auto;">
85 <label> <!-- TMPL_IF NAME="StaffImageUrl" -->
86 <img src="<!-- TMPL_VAR name="StaffImageUrl" -->" alt="<!-- TMPL_VAR name="StaffImageUrl" -->" title="<!-- TMPL_VAR name="StaffImageUrl" -->" />
89 <!-- TMPL_IF name="checked" -->
90 <input type="radio" name="imageurl" value="<!-- TMPL_VAR name="KohaImage" -->" checked="checked" />
92 <!-- TMPL_IF NAME="KohaImage" --> <!-- to delete the radio button if there is no image after -->
93 <input type="radio" name="imageurl" value="<!-- TMPL_VAR name="KohaImage" -->" />
98 <!-- /TMPL_LOOP --></ul>
104 <fieldset class="action"> <input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
105 <input type="submit" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=<!-- TMPL_VAR NAME="category" -->">Cancel</a></fieldset>
110 <!-- TMPL_IF name="delete_confirm" -->
111 <div class="dialog alert">
112 <h3>Confirm Deletion</h3>
118 <th>Description (OPAC)</th>
121 <td><!-- TMPL_VAR name="searchfield" --></td>
122 <td><!-- TMPL_VAR name="Tvalue" --></td>
123 <td><!-- TMPL_VAR name="Tlib" --></td>
124 <td><!-- TMPL_VAR name="Tlib_opac" --></td>
127 <form action="<!-- TMPL_VAR name=" script_name " -->" method="post">
128 <input type="hidden" name="op" value="delete_confirmed" />
129 <input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
130 <input type="hidden" name="searchfield" value="<!-- TMPL_VAR name="searchfield" -->" /><fieldset class="action"><input type="submit" value="Yes, Delete" class="approve" /></form>
131 <form action="<!-- TMPL_VAR name=" script_name " -->" method="get"><input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" /><input type="submit" value="No, Do Not Delete" class="deny" /></form>
135 <!-- TMPL_IF name="else" -->
138 <script type="text/javascript">
141 // prepare DOM for YUI Toolbar
143 $(document).ready(function() {
145 $('#category').find("input:submit").hide();
146 $('#searchfield').change(function() {
147 $('#category').submit();
151 // YUI Toolbar Functions
153 function yuiToolbar() {
154 new YAHOO.widget.Button("addauth");
155 new YAHOO.widget.Button("addcat");
161 <li><a id="addauth" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=<!-- TMPL_VAR NAME="category" -->">New Authorized value for <!-- TMPL_VAR name="category" --></a></li>
162 <li><a id="addcat" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form">New Category</a></li>
165 <h1>Authorized values</h1>
166 <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>
167 <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,
168 the subfield is not entered through a free field, but though a list of authorized values</p>
169 <!-- TMPL_IF name="duplicate_category" -->
171 <span class="problem">Could not add value "<!-- TMPL_VAR name="duplicate_value" -->" for category
172 "<!-- TMPL_VAR name="duplicate_category" -->" — value already present.
176 <form action="/cgi-bin/koha/admin/authorised_values.pl" method="post" id="category"><label for="searchfield">Show Category: </label><!-- TMPL_VAR name="tab_list" --> <input type="submit" value="Submit" /></form>
177 <!-- TMPL_IF EXPR="category eq 'Bsort1'" -->
178 <p>Bsort1 is an authorized value attached to patrons, that can be used for stats purposes</p>
180 <!-- TMPL_IF EXPR="category eq 'Bsort2'" -->
181 <p>Bsort2 is an authorized value attached to patrons, that can be used for stats purposes</p>
183 <!-- TMPL_IF EXPR="category eq 'Asort1'" -->
184 <p>Asort1 is an authorized value attached to acquisitions, that can be used for stats purposes</p>
186 <!-- TMPL_IF EXPR="category eq 'Asort2'" -->
187 <p>Asort2 is an authorized value attached to acquisitions, that can be used for stats purposes</p>
189 <!-- TMPL_IF EXPR="category eq 'SUGGEST'" -->
190 <p>The list of patron suggestion reject or accept reasons</p>
192 <!-- TMPL_IF EXPR="category eq 'DAMAGED'" -->
193 <p>The list of status to describe a damaged item</p>
195 <!-- TMPL_IF EXPR="category eq 'LOST'" -->
196 <p>The list of status to describe a lost item</p>
199 <caption>Authorised values for category <!-- TMPL_VAR name="category" --> :</caption>
201 <th>Authorized value</th>
203 <th>Description (OPAC)</th>
208 <!-- TMPL_LOOP name="loop" -->
209 <!-- TMPL_UNLESS name="__odd__" -->
210 <tr class="highlight">
213 <!-- /TMPL_UNLESS -->
214 <td><!-- TMPL_VAR name="authorised_value" --></td>
215 <td><!-- TMPL_VAR name="lib" --></td>
216 <td><!-- TMPL_VAR name="lib_opac" --></td>
217 <td><!-- TMPL_IF NAME="imageurl" --><img src="<!-- TMPL_VAR name="imageurl" -->" alt=""/><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td>
218 <td><a href="<!-- TMPL_VAR name="edit" -->">Edit</a></td>
219 <td><a href="<!-- TMPL_VAR name="delete" -->">Delete</a></td>
224 <!-- TMPL_IF NAME="isprevpage" -->
225 <form class="inline" action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
226 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="prevpage" -->" /><input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
227 <input type="submit" value="<< Previous" /></form>
230 <!-- TMPL_IF NAME="nextpage" -->
231 <form class="inline" action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
232 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="nextpage" -->" /><input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
233 <input type="submit" value="Next Page >>" /></form>
241 <!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
244 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->