1 [% IF ( opduplicate ) %][% SET focusAction = "clearDupe" %][% END %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Patrons ›
4 [% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] [% IF ( categoryname ) %] [% categoryname %] patron[% ELSE %][% IF ( I ) %] Organization patron[% END %][% IF ( A ) %] Adult patron[% END %][% IF ( C ) %] Child patron[% END %][% IF ( P ) %] Professional patron[% END %][% IF ( S ) %] Staff patron[% END %][% END %][% UNLESS ( opadd ) %] [% surname %], [% firstname %][% END %]</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 [% INCLUDE 'calendar.inc' %]
7 <script type="text/javascript">
9 $(document).ready(function() {
10 $("fieldset.rows input").addClass("noEnterSubmit");
11 $("#guarantordelete").click(function() {
12 $("#contact-details").hide().find('a').remove();
13 $("#guarantorid, #contactname, #contactfirstname").each(function () { this.value = "" });
14 $("#contactname, #contactfirstname")
15 .each(function () { this.type = 'text' })
16 .parent().find('span').remove();
17 $("#guarantorsearch").val("Set to Patron");
19 $("#select_city").change(function(){
20 var myRegEx=new RegExp(/(.*)\|(.*)\|(.*)\|(.*)/);
21 document.form.select_city.value.match(myRegEx);
22 document.form.zipcode.value=RegExp.$1;
23 document.form.city.value=RegExp.$2;
24 document.form.state.value=RegExp.$3;
25 document.form.country.value=RegExp.$4;
27 $(".clearDupe").on("focus",function(){
32 update_category_code( "[% categorycode %]" );
34 if ( $("#categorycode").length > 0 ){
35 var category_code = $("#categorycode").find("option:selected").val();
36 update_category_code( category_code );
39 $("#dateofbirth").datepicker({ maxDate: "-1D" });
40 $("#entryform").preventDoubleFormSubmit();
43 function clear_entry(node) {
44 var original = $(node).parent();
45 $("textarea", original).attr('value', '');
46 $("select", original).attr('value', '');
49 function clone_entry(node) {
50 var original = $(node).parent();
51 var clone = original.clone();
53 var newId = 50 + parseInt(Math.random() * 100000);
54 $("input,select,textarea", clone).attr('id', function() {
55 return this.id.replace(/patron_attr_\d+/, 'patron_attr_' + newId);
57 $("input,select,textarea", clone).attr('name', function() {
58 return this.name.replace(/patron_attr_\d+/, 'patron_attr_' + newId);
60 $("label", clone).attr('for', function() {
61 return $(this).attr("for").replace(/patron_attr_\d+/, 'patron_attr_' + newId);
63 $("input#patron_attr_" + newId, clone).attr('value','');
64 $("select#patron_attr_" + newId, clone).attr('value','');
65 $(original).after(clone);
69 function update_category_code(category_code) {
70 if ( $(category_code).is("select") ) {
71 category_code = $("#categorycode").find("option:selected").val();
73 var mytables = $(".attributes_table");
74 $(mytables).find("li").hide();
75 $(mytables).find(" li[data-category_code="+category_code+"]").show();
76 $(mytables).find(" li[data-category_code='']").show();
79 var MSG_SEPARATOR = _("Separator must be / in field ");
80 var MSG_INCORRECT_DAY = _("Invalid day entered in field ");
81 var MSG_INCORRECT_MONTH = _("Invalid month entered in field ");
82 var MSG_INCORRECT_YEAR = _("Invalid year entered in field ");
83 var MSG_DUPLICATE_PATRON = _("Warning: Duplicate patron");
84 var MSG_DUPLICATE_ORGANIZATION = _("Warning: Duplicate organization");
85 var MSG_LATE_EXPIRY = _("Warning: Expiration date falls before enrollment date");
86 var MSG_MISSING_MANDATORY = _("The following fields are mandatory:");
87 var MSG_DUPLICATE_SUSPICION = _("Please confirm whether this is a duplicate patron");
88 var MSG_PASSWORD_MISMATCH = _("The passwords entered do not match");
91 <script type="text/javascript" src="[% themelang %]/js/members.js"></script>
93 <body id="pat_memberentrygen" class="pat">
94 [% INCLUDE 'header.inc' %]
95 [% INCLUDE 'patron-search.inc' %]
97 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> ›
99 Add[% IF ( categoryname ) %] [% categoryname %] patron[% ELSE %][% IF ( I ) %] Organization patron[% END %][% IF ( A ) %] Adult patron[% END %][% IF ( C ) %] Child patron[% END %][% IF ( P ) %] Professional patron[% END %][% IF ( S ) %] Staff patron[% END %][% END %]
100 [% surname %] [% firstname %]
102 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% firstname %] [% surname %]</a> › <strong>[% IF ( opduplicate ) %]Duplicate[% ELSE %]Modify[% END %][% IF ( categoryname ) %] [% categoryname %] patron[% ELSE %][% IF ( I ) %] Organization patron[% END %][% IF ( A ) %] Adult patron[% END %][% IF ( C ) %] Child patron[% END %][% IF ( P ) %] Professional patron[% END %][% IF ( S ) %] Staff patron[% END %][% END %]
103 </strong>[% END %]</div>
104 [% IF ( opadd ) %]<div id="doc" class="yui-t7">[% ELSE %]<div id="doc3" class="yui-t2">[% END %]
110 [% IF ( error_alert == "no_email" ) %]
111 <div class="error">This member has no email</div>
113 <div class="error">[% error_alert %]</div>
117 <div class="dialog message">Email has been sent.</div>
120 [% IF ( no_add ) %]<div class="dialog alert"><h3>Cannot add patron</h3>
121 [% IF ( no_branches ) %]<p>There are <strong>no libraries defined</strong>. [% IF ( CAN_user_parameters ) %]Please <a href="/cgi-bin/koha/admin/branches.pl">add a library</a>.[% ELSE %]An administrator must define at least one library.[% END %]</p>[% END %]
122 [% IF ( no_categories ) %]<p>There are <strong>no patron categories defined</strong>. [% IF ( CAN_user_parameters ) %]Please <a href="/cgi-bin/koha/admin/categorie.pl">add a patron category</a>.[% ELSE %]An administrator must define at least one patron category.</p>[% END %][% END %]</div>[% END %]
124 [% UNLESS ( no_add ) %]
127 Add[% IF ( categoryname ) %] [% categoryname %] patron[% ELSE %][% IF ( I ) %] Organization patron[% END %][% IF ( A ) %] Adult patron[% END %][% IF ( C ) %] Child patron[% END %][% IF ( P ) %] Professional patron[% END %][% IF ( S ) %] Staff patron[% END %][% END %] [% firstname %] [% surname %]
131 [% IF ( opduplicate ) %]Duplicate[% ELSE %]Modify[% END %][% IF ( categoryname ) %] [% categoryname %] patron[% ELSE %][% IF ( I ) %] Organization patron[% END %][% IF ( A ) %] Adult patron[% END %][% IF ( C ) %] Child patron[% END %][% IF ( P ) %] Professional patron[% END %][% IF ( S ) %] Staff patron[% END %][% END %]
132 [% firstname %] [% surname %]
136 [% IF ( check_member ) %]
137 <div class="dialog alert">
138 <h3>Duplicate patron record?</h3>
139 <p><a class="popup" href="javascript:Dopop('moremember.pl?print=brief&borrowernumber=[% check_member %]');" >View existing record</a></p>
140 <form action="/cgi-bin/koha/members/memberentry.pl" method="get"><input type="hidden" name="op" value="modify" /><input type="hidden" name="borrowernumber" value="[% check_member %]" /><input type="hidden" name="category_type" value="[% check_categorytype %]" /><input class="edit" type="submit" value="It is a duplicate. Edit existing record" /></form>
142 <form name="form_double" action="/cgi-bin/koha/members/memberentry.pl" method="post" autocomplete="off">
143 <input type="hidden" name="nodouble" value="1" />
144 <input class="new" type="submit" value="Not a duplicate. Save as new record" />
149 <div class="dialog alert">
150 <p>The following fields are wrong. Please fix them.</p>
152 [% IF ( ERROR_login_exist ) %]
153 <li id="ERROR_login_exist">Username/password already exists.</li>
155 [% IF ( ERROR_cardnumber ) %]
156 <li id="ERROR_cardnumber">Cardnumber already in use.</li>
158 [% IF ( ERROR_age_limitations ) %]
159 <li id="ERROR_age_limitations">Patron's age is incorrect for their category.
160 Ages allowed are [% age_low %]-[% age_high %].</li>
162 [% IF ( ERROR_branch ) %]
163 <li id="ERROR_branch">Library is invalid.</li>
165 [% IF ( ERROR_dateofbirth ) %]
166 <li id="ERROR_dateofbirth">Date of birth is invalid.</li>
168 [% IF ( ERROR_dateenrolled ) %]
169 <li id="ERROR_dateenrolled">Date of enrollment is invalid.</li>
171 [% IF ( ERROR_dateexpiry ) %]
172 <li id="ERROR_dateexpiry">Date of expiration is invalid.</li>
174 [% IF ( ERROR_short_password ) %]
175 <li id="ERROR_short_password">Password must be at least [% minPasswordLength %] characters long.</li>
177 [% IF ( ERROR_password_mismatch ) %]
178 <li id="ERROR_password_mismatch">Passwords do not match.</li>
180 [% IF ( ERROR_extended_unique_id_failed ) %]
181 <li id="ERROR_extended_unique_id_failed">The attribute value
182 [% ERROR_extended_unique_id_failed_value %] is already in use by another patron record.</li>
189 [% UNLESS ( check_member ) %]<form name="form" id="entryform" action="/cgi-bin/koha/members/memberentry.pl" method="post" autocomplete="off">
190 <input type="hidden" name="nodouble" value="[% nodouble %]" /> [% END %]
191 <!-- field always hidden in different form (1,2,3) -->
192 <input type="hidden" name="BorrowerMandatoryField" value="[% BorrowerMandatoryField %]" />
193 <input type="hidden" name="category_type" value="[% category_type %]" />
194 <input type="hidden" name="updtype" value="[% updtype %]" />
195 <input type="hidden" name="select_roadtype" value="[% select_roadtype %]" />
196 <input type="hidden" name="destination" value="[% destination %]" />
197 <input type="hidden" name="check_member" value="[% check_member %]" />
198 <input type="hidden" name="borrowernumber" value="[% IF ( opduplicate ) %][% ELSE %][% borrowernumber %][% END %]" />
199 <input type="hidden" name="nodouble" value="[% IF ( opduplicate ) %][% ELSE %][% nodouble %][% END %]" />
200 [% IF ( step ) %]<input type="hidden" name="step" value="[% step %]" />[% END %]
201 [% IF ( opadd ) %]<input type="hidden" name="op" value="insert" />
202 [% ELSIF ( opduplicate ) %]
203 <input type="hidden" name="op" value="insert" />
205 <input type="hidden" name="op" value="save" />
206 [% IF step == 4 || step == 5 || step == 6 || step == 2 || step == 1 %]
207 [%# Only put the cardnumber if we arent showing it in the form later %]
209 <input type="hidden" name="cardnumber" value="[% cardnumber %]" />
215 [%UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %]
216 <fieldset class="rows" id="memberentry_identity">
217 <legend id="identity_lgd">[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend>
221 [% IF ( title_cgipopup ) %]
223 [% IF ( mandatorytitle ) %]
224 <label for="btitle" class="required">
229 [% borrotitlepopup %]
230 [% IF ( mandatorytitle ) %]<span class="required">Required</span>[% END %]
235 [% UNLESS nosurname %]
237 [% IF ( mandatorysurname ) %]
238 <label for="surname" class="required">
240 <label for="surname">
243 [% IF ( uppercasesurnames ) %]
244 <input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20" value="[% surname %]" class="[% focusAction %]" />
246 <input type="text" id="surname" name="surname" size="20" value="[% surname %]" class="[% focusAction %]" />
248 [% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %]
252 [% UNLESS nofirstname %]
254 [% IF ( mandatoryfirstname ) %]
255 <label for="firstname" class="required">
257 <label for="firstname">
260 <input type="text" id="firstname" name="firstname" size="20" value="[% IF ( opduplicate ) %][% ELSE %][% firstname %][% END %]" />
261 [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
264 [% UNLESS nodateofbirth %]
266 [% IF ( mandatorydateofbirth ) %]
267 <label for="dateofbirth" class="required">
269 <label for="dateofbirth">
271 Date of birth: </label>
273 [% IF ( dateformat == "metric" ) %]
274 <input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="CheckDate(document.form.dateofbirth);" value="[% IF ( opduplicate ) %][% ELSE %][% dateofbirth %][% END %]" />
276 <input type="text" id="dateofbirth" name="dateofbirth" size="20" value="[% IF ( opduplicate ) %][% ELSE %][% dateofbirth %][% END %]" />
279 [% IF ( mandatorydateofbirth ) %]<span class="required">Required</span>[% END %]
280 [% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %]
281 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
284 [% UNLESS noinitials %]
286 [% IF ( mandatoryinitials ) %]
287 <label for="initials" class="required">
289 <label for="initials">
292 <input type="text" id="initials" name="initials" size="20" value="[% initials %]" class="[% focusAction %]" />
293 [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
297 [% UNLESS noothernames %]
299 [% IF ( mandatoryothernames ) %]
300 <label for="othernames" class="required">
302 <label for="othernames">
305 <input type="text" id="othernames" name="othernames" size="20" value="[% othernames %]" class="[% focusAction %]" />
306 [% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
307 [% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
315 <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" checked="checked" />
317 <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" />
320 <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" checked="checked" />
322 <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" />
325 <label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" checked="checked" />
327 <label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" />
334 [% END # hide fieldset %]
336 [% IF ( showguarantor ) %]<input type="hidden" id="guarantorid" name="guarantorid" value="[% guarantorid %]" />
337 <fieldset class="rows">
338 <legend>Guarantor information</legend>
341 [% IF ( guarantorid ) %]
342 <li id="contact-details">
344 <li id="contact-details" style="display: none">
346 <span class="label">Organization #:</span> [% IF ( guarantorid ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid %]" target="blank">[% guarantorid %]</a>[% END %]
349 <label for="contactname">Organization name: </label>
350 [% IF ( guarantorid ) %]
351 <span>[% contactname %]</span>
352 <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" />
354 <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" class="[% focusAction %]" />
359 [% IF ( guarantorid ) %]
360 <li id="contact-details">
362 <li id="contact-details" style="display: none">
364 <span class="label">Patron #:</span> [% IF ( guarantorid ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid %]" target="blank">[% guarantorid %]</a>[% END %]
366 [% UNLESS nocontactname %]
368 <label for="contactname">Surname: </label>
369 [% IF ( guarantorid ) %]
370 <span>[% contactname %]</span>
371 <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" />
373 <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" class="[% focusAction %]" />
377 [% UNLESS nocontactfirstname %]
379 <label for="contactfirstname">First name: </label>
380 [% IF ( guarantorid ) %]
381 <span>[% contactfirstname %]</span>
382 <input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="[% contactfirstname %]" />
384 <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]" class="[% focusAction %]" />
388 [% IF ( relshiploop ) %]
390 <label for="relationship">Relationship: </label>
391 <select name="relationship" id="relationship" >
392 [% FOREACH relshiploo IN relshiploop %]
393 [% IF ( relshiploo.selected ) %]
394 <option value="[% relshiploo.relationship %]" selected="selected" >[% relshiploo.relationship %]</option>
396 <option value="[% relshiploo.relationship %]">[% relshiploo.relationship %]</option>
405 <span class="label"> </span>
406 [% IF ( guarantorid ) %]
407 <input id="guarantorsearch" type="button" value="Change" onclick="Dopopguarantor('guarantor_search.pl?category_type=[% category_type %]');" />
409 <input id="guarantorsearch" type="button" value="Set to patron" onclick="Dopopguarantor('guarantor_search.pl?category_type=[% category_type %]');" />
411 <input id="guarantordelete" type="button" value="Delete" />
417 [% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %]
418 <fieldset class="rows">
419 <legend id="main_address_lgd">Main address</legend><ol>
420 [% UNLESS nostreetnumber %]
422 [% IF ( mandatorystreetnumber ) %]
423 <label for="streetnumber" class="required">
425 <label for="streetnumber">
427 Street number: </label>
428 <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" class="[% focusAction %]" />
429 [% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
432 [% UNLESS nostreettype %]
433 [% IF ( road_cgipopup ) %]
435 [% IF ( mandatorystreettype ) %]
436 <label for="streettype" class="required">
438 <label for="streettype">
440 Street type: </label>
442 [% IF ( mandatorystreettype ) %]<span class="required">Required</span>[% END %]
446 [% UNLESS noaddress %]
448 [% IF ( mandatoryaddress ) %]
449 <label for="address" class="required">
451 <label for="address">
454 <input type="text" id="address" name="address" size="35" value="[% address %]" class="[% focusAction %]" />
455 [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
458 [% UNLESS noaddress2 %]
460 [% IF ( mandatoryaddress2 ) %]
461 <label for="address2" class="required">
463 <label for="address2">
466 <input type="text" id="address2" name="address2" size="35" value="[% address2 %]" class="[% focusAction %]" />
467 [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
472 [% IF ( mandatorycity ) %]
473 <label for="city" class="required">
478 <input type="text" id="city" name="city" size="20" value="[% city %]" class="[% focusAction %]" />
479 [% IF ( city_cgipopup ) %]or <strong>choose</strong>
480 <select id="select_city" name="select_city">
481 [% FOREACH city_loo IN city_loop %]
482 [% IF ( city_loo.selected ) %]
483 <option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]" selected="selected">
485 <option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]">
487 [% city_loo.city_name %] [% city_loo.city_state %] [% city_loo.city_zipcode %]
492 [% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %]
497 [% IF ( mandatorystate ) %]
498 <label for="state" class="required">
503 <input type="text" name="state" id="state" size="20" value="[% state %]" class="[% focusAction %]" />
504 [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
507 [% UNLESS nozipcode %]
509 [% IF ( mandatoryzipcode ) %]
510 <label for="zipcode" class="required">
512 <label for="zipcode">
514 Zip/Postal code: </label>
515 <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" class="[% focusAction %]" />
516 [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
519 [% UNLESS nocountry %]
521 [% IF ( mandatorycountry ) %]
522 <label for="country" class="required">
524 <label for="country">
527 <input type="text" name="country" id="country" size="20" value="[% country %]" class="[% focusAction %]" />
528 [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
533 [% END # nostreet && nocity etc group%]
535 [% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %]
536 <fieldset class="rows" id="memberentry_contact">
537 <legend id="contact_lgd">Contact</legend><ol>
540 [% IF ( mandatoryphone ) %]
541 <label for="phone" class="required">
545 Primary phone: </label>
546 <input type="text" id="phone" name="phone" value="[% phone %]" class="[% focusAction %]" />
547 [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
551 [% UNLESS nophonepro %]
553 [% IF ( mandatoryphonepro ) %]
554 <label for="phonepro" class="required">
556 <label for="phonepro">
558 Secondary phone: </label>
559 <input type="text" id="phonepro" name="phonepro" value="[% phonepro %]" class="[% focusAction %]" />
560 [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
563 [% UNLESS nomobile %]
565 [% IF ( mandatorymobile ) %]
566 <label for="mobile" class="required">
570 Other phone: </label>
571 <input type="text" id="mobile" name="mobile" value="[% mobile %]" class="[% focusAction %]" />
572 [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
577 [% IF ( mandatoryemail ) %]
578 <label for="email" class="required">
582 Primary email: </label>
583 <input type="text" id="email" name="email" size="45" value="[% email %]" class="[% focusAction %]" />
584 [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
588 [% UNLESS noemailpro %]
590 [% IF ( mandatoryemailpro ) %]
591 <label for="emailpro" class="required">
593 <label for="emailpro">
595 Secondary email: </label>
596 <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]" class="[% focusAction %]" />
597 [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
602 [% IF ( mandatoryfax ) %]
603 <label for="fax" class="required">
608 <input type="text" id="fax" name="fax" value="[% fax %]" class="[% focusAction %]" />
609 [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
614 [%END # hide fieldset %]
616 <!-- ************************ STEP_1 *********************** -->
620 [% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %]
621 <fieldset class="rows" id="memberentry_address">
622 <legend id="alt_address_lgd">Alternate address</legend><ol>
623 [% UNLESS noB_address %]
625 [% IF ( mandatoryB_address ) %]
626 <label for="B_address" class="required">
628 <label for="B_address">
631 <input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" class="[% focusAction %]" />
632 [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
635 [% UNLESS noB_address2 %]
637 [% IF ( mandatoryB_address2 ) %]
638 <label for="B_address2" class="required">
640 <label for="B_address2">
643 <input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]" class="[% focusAction %]" />
644 [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
647 [% UNLESS noB_city %]
649 [% IF ( mandatoryB_city ) %]
650 <label for="B_city" class="required" >
655 <input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" class="[% focusAction %]" />
656 [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
659 [% UNLESS noB_state %]
661 [% IF ( mandatoryB_state ) %]
662 <label for="B_state" class="required" >
664 <label for="B_state">
667 <input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" class="[% focusAction %]" />
668 [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
671 [% UNLESS noB_zipcode %]
673 [% IF ( mandatoryB_zipcode ) %]
674 <label for="B_zipcode" class="required">
676 <label for="B_zipcode">
678 Zip/Postal code: </label>
679 <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]" class="[% focusAction %]" />
680 [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
683 [% UNLESS noB_country %]
685 [% IF ( mandatoryB_country ) %]
686 <label for="B_country" class="required">
688 <label for="B_country">
691 <input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]" class="[% focusAction %]" />
692 [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
695 [% UNLESS noB_phone %]
697 [% IF ( mandatoryB_phone ) %]
698 <label for="B_phone" class="required">
700 <label for="B_phone">
703 <input type="text" id="B_phone" name="B_phone" value="[% B_phone %]" class="[% focusAction %]" />
704 [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
707 [% UNLESS noB_email %]
709 [% IF ( mandatoryB_email ) %]
710 <label for="B_email" class="required">
712 <label for="B_email">
715 <input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]" class="[% focusAction %]" />
716 [% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
718 [% UNLESS nocontactnote %]
720 [% IF ( mandatorycontactnote ) %]
721 <label for="contactnote" class="required">
723 <label for="contactnote">
725 Contact note: </label>
726 <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea>
727 [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
732 [% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %]
735 [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %]
736 <fieldset class="rows" id="memberentry_altaddress">
737 <legend id="alt_contact_lgd">Alternate contact</legend><ol>
738 [% UNLESS noaltcontactsurname %]
740 [% IF ( mandatoryaltcontactsurname ) %]
741 <label for="altcontactsurname" class="required">
743 <label for="altcontactsurname">
746 <input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]" class="[% focusAction %]" />
747 [% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
750 [% UNLESS noaltcontactfirstname %]
752 [% IF ( mandatoryaltcontactfirstname ) %]
753 <label for="altcontactfirstname" class="required">
755 <label for="altcontactfirstname">
758 <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]" class="[% focusAction %]" />
759 [% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
762 [% UNLESS noaltcontactaddress1 %]
764 [% IF ( mandatoryaltcontactaddress1 ) %]
765 <label for="altcontactaddress1" class="required">
767 <label for="altcontactaddress1">
770 <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" size="40" class="[% focusAction %]" />
771 [% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
774 [% UNLESS noaltcontactaddress2 %]
776 [% IF ( mandatoryaltcontactaddress2 ) %]
777 <label for="altcontactaddress2" class="required">
779 <label for="altcontactaddress2">
782 <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]" size="40" class="[% focusAction %]" />
783 [% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
786 [% UNLESS noaltcontactaddress3 %]
788 [% IF ( mandatoryaltcontactaddress3 ) %]
789 <label for="altcontactaddress3" class="required">
791 <label for="altcontactaddress3">
794 <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" class="[% focusAction %]" />
795 [% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
798 [% UNLESS noaltcontactstate %]
800 [% IF ( mandatoryaltcontactstate ) %]
801 <label for="altcontactstate" class="required">
803 <label for="altcontactstate">
806 <input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" class="[% focusAction %]" />
807 [% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
810 [% UNLESS noaltcontactzipcode %]
812 [% IF ( mandatoryaltcontactzipcode ) %]
813 <label for="altcontactzipcode" class="required">
815 <label for="altcontactzipcode">
817 Zip/Postal code:</label>
818 <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5" class="[% focusAction %]" />
819 [% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
822 [% UNLESS noaltcontactcountry %]
824 [% IF ( mandatoryaltcontactcountry ) %]
825 <label for="altcontactcountry" class="required">
827 <label for="altcontactcountry">
830 <input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]" size="20" class="[% focusAction %]" />
831 [% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
834 [% UNLESS noaltcontactphone %]
836 [% IF ( mandatoryaltcontactphone ) %]
837 <label for="altcontactphone" class="required">
839 <label for="altcontactphone">
842 <input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]" class="[% focusAction %]" />
843 [% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
848 [% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %]
853 <fieldset class="rows" id="memberentry_library_management">
854 <legend id="library_management_lgd">Library management</legend><ol>
855 [% UNLESS nocardnumber %]
856 <li> [% IF ( mandatorycardnumber ) %]
857 <label for="cardnumber" class="required">
859 <label for="cardnumber">
861 Card number: </label>
862 <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber %]" />
863 [% IF ( mandatorycardnumber ) %]<span class="required">Required</span>[% END %]</li>
865 [% UNLESS nobranchcode %]
867 <label for="libraries" class="required">Library:</label>
868 <select name="branchcode" size="1" id="libraries">
869 [%- FOREACH branchloo IN branchloop %]
870 [% IF ( branchloo.selected ) -%]
871 <option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option>
873 <option value="[% branchloo.branchcode %]">[% branchloo.branchname %]</option>
877 <span class="required">Required</span>
881 <label for="categorycode" class="required">Category: </label>
882 <select id="categorycode" name="categorycode" onchange="update_category_code(this);">
883 [% FOREACH typeloo IN typeloop %]
884 [% FOREACH categoryloo IN typeloo.categoryloop %]
885 [% IF ( loop.first ) %]
886 [% IF ( typeloo.typename_C ) %]<optgroup label="Child">[% END %]
887 [% IF ( typeloo.typename_A ) %]<optgroup label="Adult">[% END %]
888 [% IF ( typeloo.typename_S ) %]<optgroup label="Staff">[% END %]
889 [% IF ( typeloo.typename_I ) %]<optgroup label="Organization">[% END %]
890 [% IF ( typeloo.typename_P ) %]<optgroup label="Professional">[% END %]
891 [% IF ( typeloo.typename_X ) %]<optgroup label="Statistical">[% END %]
893 [% IF ( categoryloo.categorycodeselected ) %]
894 <option value="[% categoryloo.categorycode %]" selected="selected" data-typename="[% typeloo.typename %]">[% categoryloo.categoryname %]</option>
896 <option value="[% categoryloo.categorycode %]" data-typename="[% typeloo.typename %]">[% categoryloo.categoryname %]</option>
898 [% IF ( loop.last ) %]
904 <span class="required">Required</span>
908 [% IF ( mandatorysort1 ) %]
909 <label for="sort1" class="required">
914 [% IF ( CGIsort1 ) %]
917 <input type="text" id="sort1" name="sort1" size="20" value="[% sort1 %]" class="[% focusAction %]" />
918 [% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %]
924 [% IF ( mandatorysort2 ) %]
925 <label for="sort2" class="required">
930 [% IF ( CGIsort2 ) %]
933 <input type="text" id="sort2" name="sort2" size="20" value="[% sort2 %]" class="[% focusAction %]" />
934 [% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %]
940 [% UNLESS nodateenrolled && noopacnote && noborrowernotes %]
941 <fieldset class="rows" id="memberentry_subscription">
942 <legend id="library_setup_lgd">Library set-up</legend><ol>
943 [% UNLESS nodateenrolled %]
945 [% IF ( mandatorydateenrolled ) %]
946 <label for="from" class="required">
950 Registration date: </label>
951 [% IF ( dateformat == "metric" ) %]
952 <input type="text" id="from" name="dateenrolled" maxlength="10" size="10" onchange="CheckDate(document.form.dateenrolled);check_manip_date('verify');" value="[% dateenrolled %]" class="datepickerfrom" />
954 <input type="text" id="from" name="dateenrolled" maxlength="10" size="10" value="[% dateenrolled %]" class="datepickerfrom" />
956 [% IF ( mandatorydateenrolled ) %]<span class="required">Required</span>[% END %]
957 [% IF ( ERROR_dateenrolled ) %]<span class="required">(Error)</span>[% END %]
958 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
961 [% UNLESS nodateexpiry %]
964 <li style="display:none">
966 [% IF ( mandatorydateexpiry ) %]
967 <label for="to" class="required">
971 Expiry date (leave blank for auto calc) </label>
972 [% IF ( dateformat == "metric" ) %]
973 [% UNLESS ( opadd ) %]
974 <input type="text" id="to" name="dateexpiry" maxlength="10" size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" value="[% dateexpiry %]" class="datepickerto" />
976 <input type="text" id="to" name="dateexpiry" maxlength="10" size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" class="datepickerto" />
979 [% UNLESS ( opadd ) %]
980 <input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% dateexpiry %]" class="datepickerto" />
982 <input type="text" id="to" name="dateexpiry" maxlength="10" size="10" class="datepickerto" />
985 [% IF ( mandatorydateexpiry ) %]<span class="required">Required</span>[% END %]
986 [% IF ( ERROR_dateexpiry ) %]<span class="required">(Error)</span>[% END %]
987 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
989 [% UNLESS noopacnote %]
991 [% IF ( mandatoryopacnote ) %]
992 <label for="opacnote" class="required">
994 <label for="opacnote">
997 <textarea id="opacnote" name="opacnote" cols="55" rows="5">[% opacnote %]</textarea>
998 <div class="hint">This message appears on this patron's user page in the OPAC</div>
999 [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
1002 [% UNLESS noborrowernotes %]
1004 [% IF ( mandatoryborrowernotes ) %]
1005 <label for="borrowernotes" class="required">
1007 <label for="borrowernotes">
1009 Circulation note: </label>
1010 <textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[% borrowernotes %]</textarea>
1011 <div class="hint">This message displays when checking out to this patron</div>
1012 [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
1017 [% END # hide fieldset %]
1019 [% UNLESS nouserid && nopassword %]
1020 <fieldset class="rows" id="memberentry_userid">
1021 <legend id="opac_staff_login_lgd">OPAC/Staff login</legend><ol>
1022 [% UNLESS nouserid %]
1024 [% IF ( mandatoryuserid ) %]
1025 <label for="userid" class="required">
1027 <label for="userid">
1031 [% IF ( NoUpdateLogin ) %]
1032 [% IF ( opduplicate ) %]
1033 <input type="text" id="userid" name="userid" size="20" disabled="disabled" />
1035 <input type="text" id="userid" name="userid" size="20" disabled="disabled" value="[% userid %]" />
1038 [% IF ( opduplicate ) %]
1039 <input type="text" id="userid" name="userid" size="20" value="" />
1041 <input type="text" id="userid" name="userid" size="20" value="[% userid %]" />
1045 [% IF ( mandatoryuserid ) %]<span class="required">Required</span>[% END %]
1048 [% UNLESS nopassword %]
1050 [% IF ( mandatorypassword ) %]
1051 <label for="password" class="required">
1053 <label for="password">
1057 [% IF ( NoUpdateLogin ) %]
1058 [% IF ( opduplicate ) %]
1059 <input type="password" id="password" name="password" size="20" disabled="disabled" />
1061 <input type="password" id="password" name="password" size="20" disabled="disabled" value="[% password %]" />
1064 [% IF ( opduplicate ) %]
1065 <input type="password" id="password" name="password" size="20" />
1067 <input type="password" id="password" name="password" size="20" value="[% password %]" />
1071 [% IF ( password ) %]
1072 [% IF ( NoUpdateLogin ) %]
1073 <input type="password" id="password" name="password" size="20" disabled="disabled" value="****" />
1075 [% IF ( opduplicate ) %]
1076 <input type="password" id="password" name="password" size="20" />
1078 <input type="password" id="password" name="password" size="20" value="****" />
1082 [% IF ( NoUpdateLogin ) %]
1083 <input type="password" id="password" name="password" size="20" disabled="disabled" value="" />
1085 <input type="password" id="password" name="password" size="20" value="" />
1089 [% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %][% IF ( ERROR_short_password ) %]<span class="required">Password is too short</span>[% END %]
1090 [% IF ( minPasswordLength ) %]<div class="hint">Minimum password length: [% minPasswordLength %]</div>[% END %]
1093 [% IF ( mandatorypassword ) %]
1094 <label for="password2" class="required">
1096 <label for="password2">
1098 Confirm password: </label>
1100 [% IF ( NoUpdateLogin ) %]
1101 [% IF ( opduplicate ) %]
1102 <input type="password" id="password2" name="password2" size="20" disabled="disabled" />
1104 <input type="password" id="password2" name="password2" size="20" disabled="disabled" value="[% password %]" />
1107 [% IF ( opduplicate ) %]
1108 <input type="password" id="password2" name="password2" size="20" />
1110 <input type="password" id="password2" name="password2" size="20" value="[% password %]" />
1114 [% IF ( password ) %]
1115 [% IF ( NoUpdateLogin ) %]
1116 <input type="password" id="password2" name="password2" size="20" disabled="disabled" value="****" />
1118 [% IF ( opduplicate ) %]
1119 <input type="password" id="password2" name="password2" size="20" />
1121 <input type="password" id="password2" name="password2" size="20" value="****" />
1125 [% IF ( NoUpdateLogin ) %]
1126 <input type="password" id="password2" name="password2" size="20" disabled="disabled" value="" />
1128 <input type="password" id="password2" name="password2" size="20" value="" />
1132 [% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %][% IF ( ERROR_password_mismatch ) %]<span class="required">Passwords do not match</span>[% END %]
1136 [% END # hide fieldset %][% END %]
1137 <!--this zones are not necessary in modif mode -->
1138 [% UNLESS ( opadd ) %]
1139 <fieldset class="rows">
1140 <legend>Patron account flags</legend>
1142 [% FOREACH flagloo IN flagloop %]
1143 <li><label class="radio" for="yes[% flagloo.name %]">
1144 [% IF ( flagloo.key == 'gonenoaddress' ) %]Gone no address:[% END %]
1145 [% IF ( flagloo.key == 'debarred' ) %]Restricted:[% END %]
1146 [% IF ( flagloo.key == 'lost' ) %]Lost card:[% END %]
1148 <label for="yes[% flagloo.name %]">Yes </label>
1149 [% IF ( flagloo.yes ) %]
1150 <input type="radio" id="yes[% flagloo.name %]" name="[% flagloo.name %]" value="1" checked="checked" />
1152 <input type="radio" id="yes[% flagloo.name %]" name="[% flagloo.name %]" value="1" />
1154 <label for="no[% flagloo.name %]">No </label>
1155 [% IF ( flagloo.no ) %]
1156 <input type="radio" id="no[% flagloo.name %]" name="[% flagloo.name %]" value="0" checked="checked"/>
1158 <input type="radio" id="no[% flagloo.name %]" name="[% flagloo.name %]" value="0" />
1164 <label for="yesdebarred" class="radio">Restricted: </label>
1165 [% IF ( debarred ) %]
1166 <label for="yesdebarred">Yes </label>
1167 <input type="radio" id="yesdebarred" name="debarred" value="1" checked="checked"/>
1168 <label for="nodebarred">No </label>
1169 <input type="radio" id="nodebarred" name="debarred" value="0"/>
1171 <label for="yesdebarred">Yes </label>
1172 <input type="radio" id="yesdebarred" name="debarred" value="1" />
1173 <label for="nodebarred">No </label>
1174 <input type="radio" id="nodebarred" name="debarred" value="0" checked="checked"/>
1177 <span id="debarreduntil"><label for="datedebarred" class="inline">Until:</label>
1178 <input type="text" name="datedebarred" id="datedebarred" class="debarred datepicker [% focusAction %]" value="[% datedebarred %]" />
1179 <span class="hint">(optional)</span> </span>
1182 <label for="debarredcomment" class="radio">Comment:</label>
1183 <textarea id="debarredcomment" name="debarredcomment" cols="55" rows="3">[% debarredcomment %]</textarea>
1193 [% IF ( step_4 ) %][% IF ( ExtendedPatronAttributes ) %][% UNLESS ( no_patron_attribute_types ) %]
1194 <fieldset class="rows" id="memberentry_patron_attributes">
1195 <legend>Additional attributes and identifiers</legend>
1196 <input type="hidden" name="setting_extended_patron_attributes" value="1" />
1197 [% FOREACH pa_loo IN patron_attributes %]
1198 [% IF pa_loo.class %]
1199 <fieldset id="aai_[% pa_loo.class %]">
1200 <legend>[% pa_loo.lib %]</legend>
1202 <ol class="attributes_table">
1203 [% FOREACH patron_attribute IN pa_loo.items %]
1204 <li data-category_code="[% patron_attribute.category_code %]">
1205 <label for="[% patron_attribute.form_id %]">[% patron_attribute.description %]: </label>
1206 <input type="hidden" id="[% patron_attribute.form_id %]_code" name="[% patron_attribute.form_id %]_code" value="[% patron_attribute.code |html %]" />
1207 [% IF ( patron_attribute.use_dropdown ) %]
1208 <select id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]">
1209 <option value=""></option>
1210 [% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %]
1211 [% IF ( auth_val_loo.selected ) %]
1212 <option value="[% auth_val_loo.authorised_value %]" selected="selected">
1213 [% auth_val_loo.lib %]
1216 <option value="[% auth_val_loo.authorised_value %]" >
1217 [% auth_val_loo.lib %]
1223 <textarea rows="2" cols="30" id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]">[% patron_attribute.value %]</textarea>
1225 [% IF ( patron_attribute.password_allowed ) %]
1226 (<label class="yesno" for="[% patron_attribute.form_id %]_password">Password:</label> <input type="password" maxlength="64" value="[% patron_attribute.password %]"
1227 id="[% patron_attribute.form_id %]_password" name="[% patron_attribute.form_id %]_password" />)
1229 <a href="#" class="clear-field" onclick="clear_entry(this); return false;">Clear</a>
1230 [% IF ( patron_attribute.repeatable ) %]
1231 <a href="#" class="clone-field" onclick="clone_entry(this); return false;">New</a>
1236 [% IF pa_loo.class %]</fieldset>[% END %]
1239 [% END %][% END %][% END %]
1241 [% IF ( step_5 ) %][% IF ( EnhancedMessagingPreferences ) %]
1242 <fieldset class="rows" id="memberentry_messaging_prefs">
1243 <legend id="patron_messaging_prefs_lgd">Patron messaging preferences</legend>
1245 <!-- handle changing prefs if creating new patron and changing
1248 <script type="text/javascript">//<![CDATA[
1249 $(document).ready(function(){
1250 var message_prefs_dirty = false;
1251 $('#memberentry_messaging_prefs > *').change(function() {
1252 message_prefs_dirty = true;
1254 $('#categorycode').change(function() {
1255 var categorycode = $(this).val();
1256 if (message_prefs_dirty) {
1257 if (!confirm('Change messaging preferences to default for this category?')) {
1261 $.getJSON('/cgi-bin/koha/members/default_messageprefs.pl?categorycode=' + categorycode,
1263 $.each(data.messaging_preferences, function(i, item) {
1264 var attrid = item.message_attribute_id;
1265 var transports = ['email', 'rss', 'sms'];
1266 $.each(transports, function(j, transport) {
1267 if (item['transports_' + transport] == 1) {
1268 $('#' + transport + attrid).attr('checked', 'checked');
1270 $('#' + transport + attrid).removeAttr('checked');
1273 if (item.digest && item.digest != ' ') {
1274 $('#digest' + attrid).attr('checked', item.digest);
1276 $('#digest' + attrid).removeAttr('checked');
1278 if (item.takes_days == '1') {
1279 $('[name=' + attrid + '-DAYS]').val('' + item.days_in_advance);
1282 message_prefs_dirty = false;
1290 <input type="hidden" name="setting_messaging_prefs" value="1" />
1292 <p>If no preferences are selected, the default preferences for the category chosen will be applied on save, otherwise your selection here is saved</p>
1294 [% INCLUDE 'messaging-preference-form.inc' %]
1295 [% IF ( SMSSendDriver ) %]
1296 <p><label for="SMSnumber">SMS number:</label>
1297 <input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber %]" class="[% focusAction %]" />
1303 [% UNLESS ( check_member ) %]
1304 <fieldset class="action">
1305 <input type="submit" name="save" onclick="return check_form_borrowers();" value="Save" />
1307 <a class="cancel" href="/cgi-bin/koha/members/member.pl">Cancel</a>
1309 <a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">Cancel</a>
1318 [% UNLESS ( opadd ) %]<div class="yui-b">
1319 [% INCLUDE 'members-menu.inc' %]
1323 [% INCLUDE 'intranet-bottom.inc' %]