|
Lines 1-8
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 ( totalgtzero ) %]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 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
7 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
| 8 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script> |
8 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script> |
|
Lines 93-103
Link Here
|
| 93 |
[% INCLUDE 'header.inc' %] |
93 |
[% INCLUDE 'header.inc' %] |
| 94 |
[% INCLUDE 'patrons-admin-search.inc' %] |
94 |
[% INCLUDE 'patrons-admin-search.inc' %] |
| 95 |
|
95 |
|
| 96 |
<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 %] |
96 |
<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 %] |
| 97 |
[% IF ( add_validate ) %] <a href="/cgi-bin/koha/admin/categorie.pl">Patron Categories</a> › Data recorded[% END %] |
97 |
[% IF ( add_validate ) %] <a href="/cgi-bin/koha/admin/categorie.pl">Patron categories</a> › Data recorded[% END %] |
| 98 |
[% 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 %] |
98 |
[% 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 %] |
| 99 |
[% IF ( delete_confirmed ) %] <a href="/cgi-bin/koha/admin/categorie.pl">Patron Categories</a> › Category Deleted[% END %] |
99 |
[% IF ( delete_confirmed ) %] <a href="/cgi-bin/koha/admin/categorie.pl">Patron categories</a> › Category deleted[% END %] |
| 100 |
[% IF ( else ) %]Patron Categories[% END %]</div> |
100 |
[% IF ( else ) %]Patron categories[% END %]</div> |
| 101 |
|
101 |
|
| 102 |
<div id="doc3" class="yui-t2"> |
102 |
<div id="doc3" class="yui-t2"> |
| 103 |
|
103 |
|
|
Lines 171-177
Link Here
|
| 171 |
</select></li> |
171 |
</select></li> |
| 172 |
<li><label for="reservefee">Hold fee: </label><input type="text" name="reservefee" id="reservefee" size="6" value="[% reservefee %]" /></li> |
172 |
<li><label for="reservefee">Hold fee: </label><input type="text" name="reservefee" id="reservefee" size="6" value="[% reservefee %]" /></li> |
| 173 |
<li><label for="category_type">Category type: </label> <select name="category_type" id="category_type"> |
173 |
<li><label for="category_type">Category type: </label> <select name="category_type" id="category_type"> |
| 174 |
[% IF ( type_n ) %]<option value="" selected="selected">Select a Category type</option>[% ELSE %]<option value="">Select a Category type</option>[% END %] |
174 |
[% IF ( type_n ) %]<option value="" selected="selected">Select a category type</option>[% ELSE %]<option value="">Select a category type</option>[% END %] |
| 175 |
[% IF ( type_A ) %]<option value="A" selected="selected">Adult</option>[% ELSE %]<option value="A">Adult</option>[% END %] |
175 |
[% IF ( type_A ) %]<option value="A" selected="selected">Adult</option>[% ELSE %]<option value="A">Adult</option>[% END %] |
| 176 |
[% IF ( type_C ) %]<option value="C" selected="selected">Child</option>[% ELSE %]<option value="C">Child</option>[% END %] |
176 |
[% IF ( type_C ) %]<option value="C" selected="selected">Child</option>[% ELSE %]<option value="C">Child</option>[% END %] |
| 177 |
[% IF ( type_S ) %]<option value="S" selected="selected">Staff</option>[% ELSE %]<option value="S">Staff</option>[% END %] |
177 |
[% IF ( type_S ) %]<option value="S" selected="selected">Staff</option>[% ELSE %]<option value="S">Staff</option>[% END %] |
|
Lines 207-213
Link Here
|
| 207 |
<fieldset><legend> |
207 |
<fieldset><legend> |
| 208 |
[% IF ( totalgtzero ) %] |
208 |
[% IF ( totalgtzero ) %] |
| 209 |
Category [% categorycode |html %] is in use. Deletion not possible![% ELSE %] |
209 |
Category [% categorycode |html %] is in use. Deletion not possible![% ELSE %] |
| 210 |
Confirm Deletion of Category [% categorycode |html %][% END %]</legend> |
210 |
Confirm deletion of category [% categorycode |html %][% END %]</legend> |
| 211 |
|
211 |
|
| 212 |
[% IF ( totalgtzero ) %]<div class="dialog alert"><strong>This category is used [% total %] times</strong>. Deletion not possible</div>[% END %] |
212 |
[% IF ( totalgtzero ) %]<div class="dialog alert"><strong>This category is used [% total %] times</strong>. Deletion not possible</div>[% END %] |
| 213 |
<table> |
213 |
<table> |
|
Lines 233-244
Confirm Deletion of Category [% categorycode |html %][% END %]</legend>
Link Here
|
| 233 |
<input type="submit" value="OK" /></form> |
233 |
<input type="submit" value="OK" /></form> |
| 234 |
[% ELSE %] |
234 |
[% ELSE %] |
| 235 |
<input type="hidden" name="op" value="delete_confirmed" /> |
235 |
<input type="hidden" name="op" value="delete_confirmed" /> |
| 236 |
<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> |
236 |
<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> |
| 237 |
[% END %]</fieldset></fieldset></form> |
237 |
[% END %]</fieldset></fieldset></form> |
| 238 |
[% END %] |
238 |
[% END %] |
| 239 |
|
239 |
|
| 240 |
[% IF ( delete_confirmed ) %] |
240 |
[% IF ( delete_confirmed ) %] |
| 241 |
<h3>Category Deleted</h3> |
241 |
<h3>Category deleted</h3> |
| 242 |
|
242 |
|
| 243 |
<form action="[% script_name %]" method="post"> |
243 |
<form action="[% script_name %]" method="post"> |
| 244 |
<input type="submit" value="OK" /> |
244 |
<input type="submit" value="OK" /> |
|
Lines 266-275
Confirm Deletion of Category [% categorycode |html %][% END %]</legend>
Link Here
|
| 266 |
//]]> |
266 |
//]]> |
| 267 |
</script> |
267 |
</script> |
| 268 |
<ul class="toolbar"> |
268 |
<ul class="toolbar"> |
| 269 |
<li><a id="newcategory" href="/cgi-bin/koha/admin/categorie.pl?op=add_form">New Category</a></li> |
269 |
<li><a id="newcategory" href="/cgi-bin/koha/admin/categorie.pl?op=add_form">New category</a></li> |
| 270 |
</ul></div> |
270 |
</ul></div> |
| 271 |
|
271 |
|
| 272 |
<h2>Patron Category Administration</h2> |
272 |
<h2>Patron category administration</h2> |
| 273 |
[% IF ( searchfield ) %] |
273 |
[% IF ( searchfield ) %] |
| 274 |
You Searched for [% searchfield %]</span> |
274 |
You Searched for [% searchfield %]</span> |
| 275 |
[% END %] |
275 |
[% END %] |
|
Lines 287-293
Confirm Deletion of Category [% categorycode |html %][% END %]</legend>
Link Here
|
| 287 |
<th scope="col">Upper age limit</th> |
287 |
<th scope="col">Upper age limit</th> |
| 288 |
<th scope="col">Enrollment fee</th> |
288 |
<th scope="col">Enrollment fee</th> |
| 289 |
<th scope="col">Overdue</th> |
289 |
<th scope="col">Overdue</th> |
| 290 |
<th scope="col">Lost Items</th> |
290 |
<th scope="col">Lost items</th> |
| 291 |
<th scope="col">Hold fee</th> |
291 |
<th scope="col">Hold fee</th> |
| 292 |
[% IF ( EnhancedMessagingPreferences ) %] |
292 |
[% IF ( EnhancedMessagingPreferences ) %] |
| 293 |
<th scope="col">Messaging</th> |
293 |
<th scope="col">Messaging</th> |
|
Lines 328-339
Confirm Deletion of Category [% categorycode |html %][% END %]</legend>
Link Here
|
| 328 |
[% FOREACH prefs IN loo.messaging_prefs %] |
328 |
[% FOREACH prefs IN loo.messaging_prefs %] |
| 329 |
[% FOREACH transport IN prefs.transports %] |
329 |
[% FOREACH transport IN prefs.transports %] |
| 330 |
[% IF ( transport.transport ) %] |
330 |
[% IF ( transport.transport ) %] |
| 331 |
[% IF ( prefs.Item_Due ) %]Item Due |
331 |
[% IF ( prefs.Item_Due ) %]Item due |
| 332 |
[% ELSIF ( prefs.Advance_Notice ) %]Advance Notice |
332 |
[% ELSIF ( prefs.Advance_Notice ) %]Advance notice |
| 333 |
[% ELSIF ( prefs.Upcoming_Events ) %]Upcoming Events |
333 |
[% ELSIF ( prefs.Upcoming_Events ) %]Upcoming events |
| 334 |
[% ELSIF ( prefs.Hold_Filled ) %]Hold Filled |
334 |
[% ELSIF ( prefs.Hold_Filled ) %]Hold filled |
| 335 |
[% ELSIF ( prefs.Item_Check_in ) %]Item Check-in |
335 |
[% ELSIF ( prefs.Item_Check_in ) %]Item check-in |
| 336 |
[% ELSIF ( prefs.Item_Checkout ) %]Item Checkout |
336 |
[% ELSIF ( prefs.Item_Checkout ) %]Item checkout |
| 337 |
[% ELSE %]Unknown |
337 |
[% ELSE %]Unknown |
| 338 |
[% END %]: |
338 |
[% END %]: |
| 339 |
<strong>[% transport.transport %]</strong><br /> |
339 |
<strong>[% transport.transport %]</strong><br /> |