Lines 1-7
Link Here
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Administration › Patron categories › [% IF ( add_form ) %][% IF ( categorycode ) %]Modify category '[% categorycode |html %]'[% ELSE %]New category[% END %][% END %] |
2 |
<title>Koha › Administration › Patron categories › [% IF ( add_form ) %][% IF ( categorycode ) %]Modify category '[% categorycode |html %]'[% ELSE %]New category[% END %][% END %] |
3 |
[% IF ( add_validate ) %]Data recorded[% END %] |
3 |
[% IF ( add_validate ) %]Data recorded[% END %] |
4 |
[% IF ( delete_confirm ) %][% IF ( totalgtzero ) %]Cannot delete: category [% categorycode |html %] in use[% ELSE %]Confirm deletion of category '[% categorycode |html %]'[% END %][% END %] |
4 |
[% IF ( delete_confirm ) %][% IF ( patrons_in_category > 0 ) %]Cannot delete: category [% categorycode |html %] in use[% ELSE %]Confirm deletion of category '[% categorycode |html %]'[% END %][% END %] |
5 |
[% IF ( delete_confirmed ) %]Category deleted[% END %]</title> |
5 |
[% IF ( delete_confirmed ) %]Category deleted[% END %]</title> |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% INCLUDE 'calendar.inc' %] |
7 |
[% INCLUDE 'calendar.inc' %] |
Lines 113-119
Link Here
|
113 |
|
113 |
|
114 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › [% IF ( add_form ) %] <a href="/cgi-bin/koha/admin/categorie.pl">Patron categories</a> › [% IF ( categorycode ) %]Modify category '[% categorycode |html %]'[% ELSE %]New category[% END %][% END %] |
114 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › [% IF ( add_form ) %] <a href="/cgi-bin/koha/admin/categorie.pl">Patron categories</a> › [% IF ( categorycode ) %]Modify category '[% categorycode |html %]'[% ELSE %]New category[% END %][% END %] |
115 |
[% IF ( add_validate ) %] <a href="/cgi-bin/koha/admin/categorie.pl">Patron categories</a> › Data recorded[% END %] |
115 |
[% IF ( add_validate ) %] <a href="/cgi-bin/koha/admin/categorie.pl">Patron categories</a> › Data recorded[% END %] |
116 |
[% IF ( delete_confirm ) %] <a href="/cgi-bin/koha/admin/categorie.pl">Patron categories</a> › [% IF ( totalgtzero ) %]Cannot delete: Category [% categorycode |html %] in use[% ELSE %]Confirm deletion of category '[% categorycode |html %]'[% END %][% END %] |
116 |
[% IF ( delete_confirm ) %] <a href="/cgi-bin/koha/admin/categorie.pl">Patron categories</a> › [% IF ( patrons_in_category > 0 ) %]Cannot delete: Category [% categorycode |html %] in use[% ELSE %]Confirm deletion of category '[% categorycode |html %]'[% END %][% END %] |
117 |
[% IF ( delete_confirmed ) %] <a href="/cgi-bin/koha/admin/categorie.pl">Patron categories</a> › Category deleted[% END %] |
117 |
[% IF ( delete_confirmed ) %] <a href="/cgi-bin/koha/admin/categorie.pl">Patron categories</a> › Category deleted[% END %] |
118 |
[% IF ( else ) %]Patron categories[% END %]</div> |
118 |
[% IF ( else ) %]Patron categories[% END %]</div> |
119 |
|
119 |
|
Lines 200-206
Link Here
|
200 |
[% END %] |
200 |
[% END %] |
201 |
[% END %] |
201 |
[% END %] |
202 |
</select> |
202 |
</select> |
203 |
<span>Select All if this category type must to be displayed all the time. Otherwise select librairies you want to associate with this value. |
203 |
<span>Select <i>All branches</i> if this category type must to be displayed all the time. Otherwise select libraries you want to associate with this value. |
204 |
</span> |
204 |
</span> |
205 |
</li> |
205 |
</li> |
206 |
<li> |
206 |
<li> |
Lines 221-227
Link Here
|
221 |
<option value="forever">Forever</option> |
221 |
<option value="forever">Forever</option> |
222 |
[% END %] |
222 |
[% END %] |
223 |
</select> |
223 |
</select> |
224 |
<span>Controls how long a patrons checkout history is kept for new patrons of this category. "Default" lets the library decide, "Never" anonymizes checkouts on return, and "Forever" keeps a patron's checkout history indefinitely.</span> |
224 |
<span>Controls how long a patrons checkout history is kept for new patrons of this category. "Never" anonymizes checkouts on return, and "Forever" keeps a patron's checkout history indefinitely. When set to "Default", the amount of history kept is controlled by the cronjob <i>batch_anonymise.pl</i> which should be set up by your system administrator.</span> |
225 |
</li> |
225 |
</li> |
226 |
</ol> |
226 |
</ol> |
227 |
</fieldset> |
227 |
</fieldset> |
Lines 242-284
Link Here
|
242 |
<form action="[% script_name %]" method="post"> |
242 |
<form action="[% script_name %]" method="post"> |
243 |
<input type="submit" value="OK" /> |
243 |
<input type="submit" value="OK" /> |
244 |
</form> |
244 |
</form> |
245 |
|
|
|
246 |
[% END %] |
245 |
[% END %] |
247 |
|
246 |
|
248 |
[% IF ( delete_confirm ) %] |
247 |
[% IF ( delete_confirm ) %] |
249 |
|
248 |
<form action="[% script_name %]" method="post"> |
250 |
<form action="[% script_name %]" method="post"> |
249 |
<fieldset> |
251 |
<fieldset><legend> |
250 |
<legend> |
252 |
[% IF ( totalgtzero ) %] |
251 |
[% IF ( patrons_in_category > 0 ) %] |
253 |
Category [% categorycode |html %] is in use. Deletion not possible![% ELSE %] |
252 |
Category [% categorycode |html %] is in use. Deletion not possible! |
254 |
Confirm deletion of category [% categorycode |html %][% END %]</legend> |
253 |
[% ELSE %] |
|
|
254 |
Confirm deletion of category [% categorycode |html %] |
255 |
[% END %] |
256 |
</legend> |
255 |
|
257 |
|
256 |
[% IF ( totalgtzero ) %]<div class="dialog alert"><strong>This category is used [% total %] times</strong>. Deletion not possible</div>[% END %] |
258 |
[% IF ( patrons_in_category > 0 ) %] |
257 |
<table> |
259 |
<div class="dialog alert"><strong>This category is used [% patrons_in_category %] times</strong>. Deletion not possible</div> |
258 |
<tr><th scope="row">Category code: </th><td>[% categorycode |html %]</td></tr> |
260 |
[% END %] |
259 |
<tr><th scope="row">Description: </th><td>[% description |html %]</td></tr> |
261 |
|
260 |
<tr><th scope="row">Enrollment period: </th> |
262 |
<table> |
261 |
<td> |
263 |
<tr><th scope="row">Category code: </th><td>[% categorycode |html %]</td></tr> |
262 |
[% IF ( enrolmentperiod ) %] |
264 |
<tr><th scope="row">Description: </th><td>[% description |html %]</td></tr> |
263 |
[% enrolmentperiod %] months |
265 |
<tr><th scope="row">Enrollment period: </th> |
264 |
[% ELSE %] |
266 |
<td> |
265 |
until [% enrolmentperioddate %] |
267 |
[% IF ( enrolmentperiod ) %] |
266 |
[% END %] |
268 |
[% enrolmentperiod %] months |
267 |
</td> |
269 |
[% ELSE %] |
268 |
</tr> |
270 |
until [% enrolmentperioddate %] |
269 |
<tr><th scope="row">Age required: </th><td>[% dateofbirthrequired %] years</td></tr> |
271 |
[% END %] |
270 |
<tr><th scope="row">Upperage limit: </th><td>[% upperagelimit %] years</td></tr> |
272 |
</td> |
271 |
<tr><th scope="row">Enrollment fee: </th><td>[% enrolmentfee %]</td></tr> |
273 |
</tr> |
272 |
<tr><th scope="row">Receives overdue notices: </th><td>[% IF ( overduenoticerequired ) %]Yes[% ELSE %]No[% END %]</td></tr> |
274 |
<tr><th scope="row">Age required: </th><td>[% category.dateofbirthrequired %] years</td></tr> |
273 |
<tr><th scope="row">Lost items in staff client</th><td>[% IF ( hidelostitems ) %]Hidden by default[% ELSE %]Shown[% END %]</td></tr> |
275 |
<tr><th scope="row">Upperage limit: </th><td>[% category.upperagelimit %] years</td></tr> |
274 |
<tr><th scope="row">Hold fee: </th><td>[% reservefee %]</td></tr> |
276 |
<tr><th scope="row">Enrollment fee: </th><td>[% category.enrolmentfee | format('%.02f') %]</td></tr> |
275 |
</table> |
277 |
<tr><th scope="row">Receives overdue notices: </th><td>[% IF ( category.overduenoticerequired ) %]Yes[% ELSE %]No[% END %]</td></tr> |
276 |
<fieldset class="action">[% IF ( totalgtzero ) %] |
278 |
<tr><th scope="row">Lost items in staff client</th><td>[% IF ( category.hidelostitems ) %]Hidden by default[% ELSE %]Shown[% END %]</td></tr> |
277 |
<input type="submit" value="OK" /></form> |
279 |
<tr><th scope="row">Hold fee: </th><td>[% category.reservefee | format('%.02f') %]</td></tr> |
278 |
[% ELSE %] |
280 |
<tr><th scope="row">Default privacy: </th><td>[% category.default_privacy %]</td></tr> |
279 |
<input type="hidden" name="op" value="delete_confirmed" /> |
281 |
</table> |
280 |
<input type="hidden" name="categorycode" value="[% categorycode |html %]" /> <input type="submit" value="Delete this category" /> <a class="cancel" href="/cgi-bin/koha/admin/categorie.pl">Cancel</a> |
282 |
|
281 |
[% END %]</fieldset></fieldset></form> |
283 |
<fieldset class="action"> |
|
|
284 |
[% IF ( patrons_in_category > 0 ) %] |
285 |
<input type="submit" value="OK" /></form> |
286 |
[% ELSE %] |
287 |
<input type="hidden" name="op" value="delete_confirmed" /> |
288 |
<input type="hidden" name="categorycode" value="[% categorycode |html %]" /> <input type="submit" value="Delete this category" /> <a class="cancel" href="/cgi-bin/koha/admin/categorie.pl">Cancel</a> |
289 |
[% END %] |
290 |
</fieldset> |
291 |
</fieldset> |
292 |
</form> |
282 |
[% END %] |
293 |
[% END %] |
283 |
|
294 |
|
284 |
[% IF ( delete_confirmed ) %] |
295 |
[% IF ( delete_confirmed ) %] |
Lines 319-324
Confirm deletion of category [% categorycode |html %][% END %]</legend>
Link Here
|
319 |
<th scope="col">Messaging</th> |
330 |
<th scope="col">Messaging</th> |
320 |
[% END %] |
331 |
[% END %] |
321 |
<th scope="col">Branches limitations</th> |
332 |
<th scope="col">Branches limitations</th> |
|
|
333 |
<th scope="col">Default privacy</th> |
322 |
<th scope="col"> </th> |
334 |
<th scope="col"> </th> |
323 |
<th scope="col"> </th> |
335 |
<th scope="col"> </th> |
324 |
</tr> |
336 |
</tr> |
Lines 392-397
Confirm deletion of category [% categorycode |html %][% END %]</legend>
Link Here
|
392 |
No limitation |
404 |
No limitation |
393 |
[% END %] |
405 |
[% END %] |
394 |
</td> |
406 |
</td> |
|
|
407 |
<td> |
408 |
[% loo.default_privacy %] |
409 |
</td> |
395 |
<td><a href="[% loo.script_name %]?op=add_form&categorycode=[% loo.categorycode |uri %]">Edit</a></td> |
410 |
<td><a href="[% loo.script_name %]?op=add_form&categorycode=[% loo.categorycode |uri %]">Edit</a></td> |
396 |
<td><a href="[% loo.script_name %]?op=delete_confirm&categorycode=[% loo.categorycode |uri %]">Delete</a></td> |
411 |
<td><a href="[% loo.script_name %]?op=delete_confirm&categorycode=[% loo.categorycode |uri %]">Delete</a></td> |
397 |
</tr> |
412 |
</tr> |