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 authorised value<!-- /TMPL_IF -->
3 <!-- TMPL_IF name="action_add_value" --> › New authorised 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" -->
10 <!-- TMPL_INCLUDE NAME="header.inc" -->
11 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
13 <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 authorised value<!-- /TMPL_IF -->
14 <!-- TMPL_IF name="action_add_value" -->New authorised value<!-- /TMPL_IF -->
15 <!-- TMPL_IF name="action_add_category" -->New category<!-- /TMPL_IF --><!-- /TMPL_IF -->
16 <!-- TMPL_IF name="delete_confirm" --> <a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized Values</a> › Confirm Deletion<!-- /TMPL_IF -->
17 <!-- TMPL_IF name="else" -->Authorized values<!-- /TMPL_IF --></div>
19 <div id="doc3" class="yui-t2">
25 <!-- TMPL_IF name="add_form" -->
27 <!-- TMPL_IF name="action_modify" -->Modify authorised value<!-- /TMPL_IF -->
28 <!-- TMPL_IF name="action_add_value" -->New authorised value<!-- /TMPL_IF -->
29 <!-- TMPL_IF name="action_add_category" -->New category<!-- /TMPL_IF -->
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>
35 <!-- TMPL_IF name="action_add_category" --><label for="category">Category</label>
36 <input type="text" name="category" id="category" size="16" maxlength="16" />
37 <!-- TMPL_ELSE --><span class="label">Category</span>
38 <input type="hidden" name="category" value="<!-- TMPL_VAR NAME='category' -->" /> <!-- TMPL_VAR NAME='category' -->
42 <label for="authorised_value">Authorized value</label>
43 <input type="text" id="authorised_value" name="authorised_value" value="<!-- TMPL_VAR name="authorised_value" -->" />
46 <label for="lib">Description</label>
47 <input type="text" name="lib" id="lib" value="<!-- TMPL_VAR name="lib" -->" />
50 <label for="lib">Icon</label>
52 <!-- TMPL_LOOP NAME="imagesets" -->
53 <li>Icons from collection <b><!-- TMPL_VAR name="imagesetname" --></b>:</li>
54 <!-- TMPL_LOOP NAME="images" -->
55 <li style="float: none; display: inline; clear : none; width: auto;">
56 <label> <!-- TMPL_IF NAME="StaffImageUrl" -->
57 <img src="<!-- TMPL_VAR name="StaffImageUrl" -->" alt="<!-- TMPL_VAR name="StaffImageUrl" -->" title="<!-- TMPL_VAR name="StaffImageUrl" -->" />
60 <!-- TMPL_IF name="checked" -->
61 <input type="radio" name="imageurl" value="<!-- TMPL_VAR name="KohaImage" -->" checked="checked" />
63 <!-- TMPL_IF NAME="KohaImage" --> <!-- to delete the radio button if there is no image after -->
64 <input type="radio" name="imageurl" value="<!-- TMPL_VAR name="KohaImage" -->" />
75 <fieldset class="action"> <input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
76 <input type="submit" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=<!-- TMPL_VAR NAME="category" -->">Cancel</a></fieldset>
81 <!-- TMPL_IF name="delete_confirm" -->
82 <div class="dialog alert">
83 <h3>Confirm Deletion</h3>
91 <td><!-- TMPL_VAR name="searchfield" --></td>
92 <td><!-- TMPL_VAR name="Tvalue" --></td>
93 <td><!-- TMPL_VAR name="Tlib" --></td></tr>
95 <form action="<!-- TMPL_VAR name=" script_name " -->" method="post">
96 <input type="hidden" name="op" value="delete_confirmed" />
97 <input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
98 <input type="hidden" name="searchfield" value="<!-- TMPL_VAR name="searchfield" -->" /><fieldset class="action"><input type="submit" value="Yes, Delete" class="approve" /></form>
99 <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>
103 <!-- TMPL_IF name="else" -->
106 <script type="text/javascript">
109 // prepare DOM for YUI Toolbar
111 $(document).ready(function() {
113 $('#category').find("input:submit").hide();
114 $('#searchfield').change(function() {
115 $('#category').submit();
119 // YUI Toolbar Functions
121 function yuiToolbar() {
122 new YAHOO.widget.Button("addauth");
123 new YAHOO.widget.Button("addcat");
129 <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>
130 <li><a id="addcat" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form">New Category</a></li>
133 <h1>Authorized values</h1>
134 <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>
135 <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,
136 the subfield is not entered through a free field, but though a list of authorized values</p>
137 <!-- TMPL_IF name="duplicate_category" -->
139 <span class="problem">Could not add value "<!-- TMPL_VAR name="duplicate_value" -->" for category
140 "<!-- TMPL_VAR name="duplicate_category" -->" — value already present.
144 <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>
145 <!-- TMPL_IF EXPR="category eq 'Bsort1'" -->
146 <p>Bsort1 is an authorised value attached to patrons, that can be used for stats purposes</p>
148 <!-- TMPL_IF EXPR="category eq 'Bsort2'" -->
149 <p>Bsort2 is an authorised value attached to patrons, that can be used for stats purposes</p>
151 <!-- TMPL_IF EXPR="category eq 'Asort1'" -->
152 <p>Asort1 is an authorised value attached to acquisitions, that can be used for stats purposes</p>
154 <!-- TMPL_IF EXPR="category eq 'Asort2'" -->
155 <p>Asort2 is an authorised value attached to acquisitions, that can be used for stats purposes</p>
157 <!-- TMPL_IF EXPR="category eq 'SUGGEST'" -->
158 <p>The list of patron suggestion reject or accept reasons</p>
160 <!-- TMPL_IF EXPR="category eq 'DAMAGED'" -->
161 <p>The list of status to describe a damaged item</p>
163 <!-- TMPL_IF EXPR="category eq 'LOST'" -->
164 <p>The list of status to describe a lost item</p>
169 <th>Authorized value</th>
175 <!-- TMPL_LOOP name="loop" -->
177 <td><!-- TMPL_VAR name="category" --></td>
178 <td><!-- TMPL_VAR name="authorised_value" --></td>
179 <td><!-- TMPL_VAR name="lib" --></td>
180 <td><img src="<!-- TMPL_VAR name="imageurl" -->" alt=""/></td>
181 <td><a href="<!-- TMPL_VAR name="edit" -->">Edit</a></td>
182 <td><a href="<!-- TMPL_VAR name="delete" -->">Delete</a></td>
187 <!-- TMPL_IF NAME="isprevpage" -->
188 <form class="inline" action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
189 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="prevpage" -->" /><input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
190 <input type="submit" value="<< Previous" /></form>
193 <!-- TMPL_IF NAME="nextpage" -->
194 <form class="inline" action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
195 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="nextpage" -->" /><input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
196 <input type="submit" value="Next Page >>" /></form>
204 <!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
207 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->