4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha › Patrons › [% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname %] [% END %][% IF (surname) %][% surname %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
8 [% INCLUDE 'calendar.inc' %]
9 <script type="text/javascript">
11 $(document).ready(function() {
13 $("#saverecord").css({ 'margin-left': 0 });
14 var original_offset = $("#toolbar").position().top;
15 var additional_height = $("#filters").height();
16 $('#toolbar').fixFloat({ 'originalOffset': original_offset });
17 $("#filteraction_on").on("click", function(){
18 $(window).off('scroll');
19 $("#toolbar").css({ top: original_offset + additional_height });
20 $('#toolbar').fixFloat({ 'originalOffset': original_offset + additional_height });
22 $("#filteraction_off").on("click", function(){
23 $(window).off('scroll');
24 $("#toolbar").css({ top: original_offset });
25 $('#toolbar').fixFloat({ 'originalOffset': original_offset });
29 update_category_code( "[% categorycode %]" );
31 if ( $("#categorycode_entry").length > 0 ){
32 var category_code = $("#categorycode_entry").find("option:selected").val();
33 update_category_code( category_code );
38 $(document).ready(function() {
40 var max_len = [% maxlength_cardnumber %];
41 $("#cardnumber").change(function(){
42 if ( $("#cardnumber").val().length >= max_len ) {
48 var toggle_quick_add = $(".toggle_quick_add");
49 $(toggle_quick_add).click(function(e){
50 toggle_quick_add.toggle();
54 if( $("#entryform:visible").length ) {
55 toggle_to = "#quick_add_form label";
56 toggle_from = "#entryform label";
58 toggle_to="#entryform label";
59 toggle_from = "#quick_add_form label";
61 $(toggle_from).each(function() {
62 var input_label = $(this).attr('for');
63 if ( input_label == 'sex-male' || input_label == 'sex-none' || input_label == 'sex-female' ) {
64 $(toggle_to+"[for='"+input_label+"']").next().prop('checked', $(this).next().prop('checked') );
67 $(toggle_to+"[for='"+input_label+"']").next().val( $(this).next().val() );
70 $(".toggler").toggle();
73 $("#save_quick_add").click(function(){
74 $("#quick_add_form").validate();
75 if( $("#quick_add_form").valid()){
76 $('.toggle_quick_add').click();
77 $('#saverecord').click();
82 $("#entryform").validate({
86 password_strong: true,
87 password_no_spaces: true
96 $("#saverecord").click(function(){
97 if( check_form_borrowers() ){
98 $("#entryform").submit();
102 $('#duplicate').on('click', function() {
103 $("input[name='op']").val('modify');
104 $("input[name='borrowernumber']").val('[% check_member %]');
105 $("input[name='check_member']").val('');
106 $('#entryform').submit();
109 $('#not-duplicate').on('click', function() {
110 $("input[name='nodouble']").val('1');
111 $('#entryform').submit();
115 var MSG_SEPARATOR = _("Separator must be / in field %s");
116 var MSG_INCORRECT_DAY = _("Invalid day entered in field %s");
117 var MSG_INCORRECT_MONTH = _("Invalid month entered in field %s");
118 var MSG_INCORRECT_YEAR = _("Invalid year entered in field %s");
119 var MSG_DUPLICATE_PATRON = _("Warning: Duplicate patron");
120 var MSG_DUPLICATE_ORGANIZATION = _("Warning: Duplicate organization");
121 var MSG_LATE_EXPIRY = _("Warning: Expiration date falls before enrollment date");
122 var MSG_DUPLICATE_SUSPICION = _("Please confirm whether this is a duplicate patron");
123 var MSG_MONTH = _("%s month")
124 var MSG_MONTHS = _("%s months")
125 var MSG_YEAR = _("%s year")
126 var MSG_YEARS = _("%s years")
127 var LABEL_CHANGE = _("Change");
128 var LABEL_SET_TO_PATRON = _("Set to patron");
129 var LABEL_AGE = _("Age");
133 <script type="text/javascript" src="[% interface %]/[% theme %]/js/members.js"></script>
135 <body id="pat_memberentrygen" class="pat">
136 [% INCLUDE 'header.inc' %]
137 [% INCLUDE 'patron-search.inc' %]
139 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> ›
140 [% IF (firstname || surname ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% IF (firstname) %][% firstname | html %] [% END %][% IF (surname) %][% surname | html %] [% END %]</a> ›[% END %]
141 <strong>[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron ([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])</strong>
143 [% IF ( opadd ) %]<div id="doc" class="yui-t7">[% ELSE %]<div id="doc3" class="yui-t2">[% END %]
149 [% IF ( error_alert == "no_email" ) %]
150 <div class="error">This member has no email</div>
152 <div class="error">[% error_alert %]</div>
156 <div class="dialog message">Email has been sent.</div>
159 [% INCLUDE 'noadd-warnings.inc' %]
161 [% UNLESS ( no_add ) %]
162 <h1>[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname | html %] [% END %][% IF (surname) %][% surname | html %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])</h1>
164 [% IF quickadd && opadd && !check_member %]
165 <a href="#" class="toggle_quick_add"><i class="fa fa-plus-square"></i> Show full form</a>
166 <a href="#" class="toggle_quick_add" style="display:none"><i class="fa fa-minus-square"></i> Show brief form</a>
169 [% IF ( check_member ) %]
170 <div class="dialog alert">
171 <h3>Duplicate patron record?</h3>
172 <p><a class="popup" href="#" onclick="Dopop('moremember.pl?print=brief&borrowernumber=[% check_member %]');return false;" >View existing record</a></p>
173 <button id="duplicate" type="submit" class="new"><i class="fa fa-pencil"></i> It is a duplicate.
174 Edit existing record</button>
176 <button type="submit" id="not-duplicate" class="new"><i class="fa fa-plus"></i> Not a duplicate.
177 Save as new record</button>
182 <div class="dialog alert">
183 <p>The following fields are wrong. Please fix them.</p>
185 [% IF ( ERROR_login_exist ) %]
186 <li id="ERROR_login_exist">Username/password already exists.</li>
188 [% IF ERROR_cardnumber_already_exists %]
189 <li id="ERROR_cardnumber">Cardnumber already in use.</li>
191 [% IF ERROR_cardnumber_length %]
192 <li id="ERROR_cardnumber">Cardnumber length is incorrect.</li>
194 [% IF ( ERROR_age_limitations ) %]
195 <li id="ERROR_age_limitations">Patron's age is incorrect for their category.
196 Ages allowed are [% age_low %]-[% age_high %].</li>
198 [% IF ( ERROR_branch ) %]
199 <li id="ERROR_branch">Library is invalid.</li>
201 [% IF ( ERROR_dateofbirth ) %]
202 <li id="ERROR_dateofbirth">Date of birth is invalid.</li>
204 [% IF ( ERROR_dateenrolled ) %]
205 <li id="ERROR_dateenrolled">Date of enrollment is invalid.</li>
207 [% IF ( ERROR_dateexpiry ) %]
208 <li id="ERROR_dateexpiry">Date of expiration is invalid.</li>
210 [% IF ( ERROR_password_too_short ) %]
211 <li id="ERROR_short_password">Password must be at least [% minPasswordLength %] characters long.</li>
213 [% IF ( ERROR_password_too_weak ) %]
214 <li id="ERROR_weak_password">Password must contain at least one digit, one lowercase and one uppercase.</li>
216 [% IF ( ERROR_password_has_whitespaces ) %]
217 <li id="ERROR_weak_password">Password must not contain leading or trailing whitespaces.</li>
219 [% IF ( ERROR_password_mismatch ) %]
220 <li id="ERROR_password_mismatch">Passwords do not match.</li>
222 [% IF ( ERROR_extended_unique_id_failed ) %]
223 <li id="ERROR_extended_unique_id_failed"><strong>[% ERROR_extended_unique_id_failed_description %]:</strong> Attribute value "[% ERROR_extended_unique_id_failed_value %]" is already in use by another patron record.</li>
225 [% IF ERROR_bad_email %]
226 <li id="ERROR_bad_email">The primary email is invalid.</li>
228 [% IF ERROR_bad_email_secondary %]
229 <li id="ERROR_bad_email_secondary">The secondary email is invalid.</li>
231 [% IF ERROR_bad_email_alternative %]
232 <li id="ERROR_bad_email_alternative">The alternative email is invalid.</li>
239 <div id="toolbar" class="btn-toolbar">
240 [% UNLESS ( check_member ) %]
241 [% IF quickadd && opadd %]
242 <button class="btn btn-default btn-sm toggler" id="save_quick_add" name="save"><i class="fa fa-save"></i> Save</button>
244 <button class="btn btn-default btn-sm toggler" id="saverecord" name="save" ><i class="fa fa-save"></i> Save</button>
246 <a class="btn btn-default btn-sm" href="/cgi-bin/koha/members/member.pl" class="toggler save_entryform">
248 <a class="btn btn-default btn-sm" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">
250 <i class="fa fa-times"></i> Cancel
255 <form name="form" id="entryform" action="/cgi-bin/koha/members/memberentry.pl" method="post" autocomplete="off" class="toggler" >
256 [% UNLESS ( check_member ) %]
257 <input type="hidden" name="nodouble" value="[% nodouble %]" />
259 <!-- field always hidden in different form (1,2,3) -->
260 <input type="hidden" name="BorrowerMandatoryField" value="[% BorrowerMandatoryField %]" />
261 <input type="hidden" name="category_type" value="[% category_type %]" />
262 <input type="hidden" name="updtype" value="[% updtype %]" />
263 <input type="hidden" name="destination" value="[% destination %]" />
264 <input type="hidden" name="check_member" value="[% check_member %]" />
265 <input type="hidden" name="borrowernumber" value="[% borrowernumber UNLESS opduplicate %]" />
266 <input type="hidden" name="nodouble" value="[% nodouble UNLESS opduplicate %]" />
267 <input type="hidden" name="csrf_token" value="[% csrf_token %]" />
268 [% IF ( step ) %]<input type="hidden" name="step" value="[% step %]" />[% END %]
269 [% IF ( opadd ) %]<input type="hidden" name="op" value="insert" />
270 [% ELSIF ( opduplicate ) %]
271 <input type="hidden" name="op" value="insert" />
273 <input type="hidden" name="op" value="save" />
274 [% IF step == 4 || step == 5 || step == 6 || step == 2 || step == 1 %]
275 [%# Only put the cardnumber if we arent showing it in the form later %]
277 <input type="hidden" name="cardnumber" value="[% cardnumber %]" />
283 [%UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %]
284 <fieldset class="rows" id="memberentry_identity">
285 <legend id="identity_lgd">[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend>
289 [% IF Koha.Preference('BorrowersTitles') %]
291 [% IF ( mandatorytitle ) %]
292 <label for="btitle" class="required">
297 <select id="btitle" name="title">
298 <option value=""></option>
299 [% FOREACH t IN Koha.Preference('BorrowersTitles').split('\|') %]
301 <option value="[% t %]" selected="selected">[% t %]</option>
303 <option value="[% t %]">[% t %]</option>
307 [% IF ( mandatorytitle ) %]<span class="required">Required</span>[% END %]
312 [% UNLESS nosurname %]
314 [% IF ( mandatorysurname ) %]
315 <label for="surname" class="required">
317 <label for="surname">
320 [% IF ( uppercasesurnames ) %]
321 <input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20" value="[% surname %]" />
323 <input type="text" id="surname" name="surname" size="20" value="[% surname %]" />
325 [% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %]
329 [% UNLESS nofirstname %]
331 [% IF ( mandatoryfirstname ) %]
332 <label for="firstname" class="required">
334 <label for="firstname">
337 <input type="text" id="firstname" name="firstname" size="20" value="[% firstname | html UNLESS opduplicate %]" />
338 [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
341 [% UNLESS nodateofbirth %]
343 [% IF ( mandatorydateofbirth ) %]
344 <label for="dateofbirth" class="required">
346 <label for="dateofbirth">
348 Date of birth: </label>
350 <input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="write_age();" value="[% dateofbirth UNLESS opduplicate %]" class="datepicker" />
352 [% IF ( mandatorydateofbirth ) %]<span class="required">Required</span>[% END %]
353 [% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %]
354 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
357 [% UNLESS noinitials %]
359 [% IF ( mandatoryinitials ) %]
360 <label for="initials" class="required">
362 <label for="initials">
365 <input type="text" id="initials" name="initials" size="20" value="[% initials | html UNLESS opduplicate %]" />
366 [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
370 [% UNLESS noothernames %]
372 [% IF ( mandatoryothernames ) %]
373 <label for="othernames" class="required">
375 <label for="othernames">
378 <input type="text" id="othernames" name="othernames" size="20" value="[% othernames | html UNLESS opduplicate %]" />
379 [% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
380 [% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
387 [% UNLESS ( opduplicate ) %]
389 <label for="sex-female"><input type="radio" name="sex" id="sex-female" value="F" checked="checked" /> Female</label>
391 <label for="sex-female"><input type="radio" name="sex" id="sex-female" value="F" /> Female</label>
394 <label for="sex-male"><input type="radio" name="sex" id="sex-male" value="M" checked="checked" /> Male</label>
396 <label for="sex-male"><input type="radio" name="sex" id="sex-male" value="M" /> Male</label>
399 <label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" checked="checked" /> None specified</label>
401 <label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" /> None specified</label>
404 <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" />
405 <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" />
406 <label for="sex-none">None specified </label><input type="radio" name="sex" id="sex-none" value="" checked="checked" />
414 [% END # hide fieldset %]
416 [% IF ( showguarantor ) %]
417 <input type="hidden" id="guarantorid" name="guarantorid" value="[% guarantorid %]" />
419 <input type="hidden" name="branchcode" value="[% branchcode %]" />
421 <fieldset id="memberentry_guarantor" class="rows">
422 <legend id="guarantor_lgd">Guarantor information</legend>
425 [% IF ( guarantorid ) %]
426 <li id="contact-details">
428 <li id="contact-details" style="display: none">
430 <span class="label">Organization #:</span> [% IF ( guarantorid ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid %]" target="blank">[% guarantorid %]</a>[% END %]
433 <label for="contactname">Organization name: </label>
434 [% IF ( guarantorid ) %]
435 <span>[% contactname %]</span>
436 <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname | html %]" />
438 <input name="contactname" id="contactname" type="text" size="20" value="[% contactname | html %]" />
443 [% IF ( guarantorid ) %]
444 <li id="contact-details">
446 <li id="contact-details" style="display: none">
448 <span class="label">Patron #:</span> [% IF ( guarantorid ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid %]" target="blank">[% guarantorid |html %]</a>[% END %]
450 [% UNLESS nocontactname %]
452 <label for="contactname">Surname: </label>
453 [% IF ( guarantorid ) %]
454 <span>[% contactname %]</span>
455 <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname | html %]" />
457 <input name="contactname" id="contactname" type="text" size="20" value="[% contactname | html %]" />
461 [% UNLESS nocontactfirstname %]
463 <label for="contactfirstname">First name: </label>
464 [% IF ( guarantorid ) %]
465 <span>[% contactfirstname %]</span>
466 <input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="[% contactfirstname | html %]" />
468 <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname | html %]" />
472 [% IF ( relshiploop ) %]
474 <label for="relationship">Relationship: </label>
475 <select name="relationship" id="relationship" >
476 [% FOREACH relshiploo IN relshiploop %]
477 [% IF ( relshiploo.selected ) %]
478 <option value="[% relshiploo.relationship %]" selected="selected" >[% relshiploo.relationship %]</option>
480 <option value="[% relshiploo.relationship %]">[% relshiploo.relationship %]</option>
489 <span class="label"> </span>
490 [% IF ( guarantorid ) %]
491 <input id="guarantorsearch" type="button" value="Change" onclick="Dopopguarantor('guarantor_search.pl');" />
493 <input id="guarantorsearch" type="button" value="Set to patron" onclick="Dopopguarantor('guarantor_search.pl');" />
495 <input id="guarantordelete" type="button" value="Delete" />
497 [% IF guarantorid && Koha.Preference('AllowStaffToSetCheckoutsVisibilityForGuarantor') %]
499 <label for="privacy_guarantor_checkouts">Show checkouts to guarantor</label>
500 <select name="privacy_guarantor_checkouts" id="privacy_guarantor_checkouts">
501 [% IF privacy_guarantor_checkouts %]
502 <option value="0">No</option>
503 <option value="1" selected>Yes</option>
505 <option value="0" selected>No</option>
506 <option value="1">Yes</option>
509 <div class="hint">Allow guarantor of this patron to view this patron's checkouts from the OPAC</div>
516 [% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %]
517 [% IF Koha.Preference( 'AddressFormat' ) %]
518 [% INCLUDE "member-main-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
520 [% INCLUDE 'member-main-address-style-us.inc' %]
522 [% END # nostreet && nocity etc group%]
524 [% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %]
525 <fieldset class="rows" id="memberentry_contact">
526 <legend id="contact_lgd">Contact</legend><ol>
529 [% IF ( mandatoryphone ) %]
530 <label for="phone" class="required">
534 Primary phone: </label>
535 <input type="text" id="phone" name="phone" value="[% phone | html %]" />
536 [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
540 [% UNLESS nophonepro %]
542 [% IF ( mandatoryphonepro ) %]
543 <label for="phonepro" class="required">
545 <label for="phonepro">
547 Secondary phone: </label>
548 <input type="text" id="phonepro" name="phonepro" value="[% phonepro | html %]" />
549 [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
552 [% UNLESS nomobile %]
554 [% IF ( mandatorymobile ) %]
555 <label for="mobile" class="required">
559 Other phone: </label>
560 <input type="text" id="mobile" name="mobile" value="[% mobile | html %]" />
561 [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
566 [% IF ( mandatoryemail ) %]
567 <label for="email" class="required">
571 Primary email: </label>
572 <input type="text" id="email" name="email" size="45" value="[% email | html %]" />
573 [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
577 [% UNLESS noemailpro %]
579 [% IF ( mandatoryemailpro ) %]
580 <label for="emailpro" class="required">
582 <label for="emailpro">
584 Secondary email: </label>
585 <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro | html %]" />
586 [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
591 [% IF ( mandatoryfax ) %]
592 <label for="fax" class="required">
597 <input type="text" id="fax" name="fax" value="[% fax | html %]" />
598 [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
603 [%END # hide fieldset %]
605 <!-- ************************ STEP_1 *********************** -->
609 [% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %]
610 [% IF Koha.Preference( 'AddressFormat' ) %]
611 [% INCLUDE "member-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
613 [% INCLUDE 'member-alt-address-style-us.inc' %]
615 [% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %]
618 [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %]
619 [% IF Koha.Preference( 'AddressFormat' ) %]
620 [% INCLUDE "member-alt-contact-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
622 [% INCLUDE 'member-alt-contact-style-us.inc' %]
624 [% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %]
629 [% SET autoMemberNum = Koha.Preference('autoMemberNum') %]
630 <fieldset class="rows" id="memberentry_library_management">
631 <legend id="library_management_lgd">Library management</legend><ol>
632 [% UNLESS nocardnumber %]
634 [% IF mandatorycardnumber and not autoMemberNum %]
635 <label for="cardnumber" class="required">
637 <label for="cardnumber" class="validated">
639 [% IF autoMemberNum %]
640 Card number<br>(<u>leave blank for auto calc during registration</u>): </label>
642 Card number: </label>
644 [% IF minlength_cardnumber == maxlength_cardnumber %]
645 <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" minlength="[% minlength_cardnumber %]" maxlength="[% maxlength_cardnumber %]" />
646 [% IF mandatorycardnumber and not autoMemberNum %]<span class="required">Required</span>[% END %]<span id="cn_max" class="required">Card number must not be more than [% maxlength_cardnumber %] characters.</span>
647 <div class="hint">Card number must be exactly [% minlength_cardnumber %] characters.</div>
648 [% ELSIF minlength_cardnumber && maxlength_cardnumber %]
649 <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" minlength="[% minlength_cardnumber %]" maxlength="[% maxlength_cardnumber %]" />
650 [% IF mandatorycardnumber and not autoMemberNum %]<span class="required">Required</span>[% END %]<span id="cn_max" class="required">Card number must not be more than [% maxlength_cardnumber %] characters.</span>
651 <div class="hint">Card number must be between [% minlength_cardnumber %] and [% maxlength_cardnumber %] characters.</div>
652 [% ELSIF maxlength_cardnumber %]
653 <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" maxlength="[% maxlength_cardnumber %]" />
654 [% IF mandatorycardnumber and not autoMemberNum %]<span class="required">Required</span>[% END %]<span id="cn_max" class="required">Card number must not be more than [% maxlength_cardnumber %] characters.</span>
655 <div class="hint">Card number can be up to [% maxlength_cardnumber %] characters.</div>
657 <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" />
658 [% IF mandatorycardnumber and not autoMemberNum %]<span class="required">Required</span>[% END %]
659 <div class="hint">There is no minimum or maximum character length.</div>
663 [% UNLESS nobranchcode %]
665 <label for="libraries" class="required">Library:</label>
666 <select name="branchcode" size="1" id="libraries">
667 [% PROCESS options_for_libraries libraries => Branches.all( selected => userbranch ) %]
669 <span class="required">Required</span>
673 <label for="categorycode_entry" class="required">Category: </label>
674 <select id="categorycode_entry" name="categorycode" onchange="update_category_code(this);">
675 [% FOREACH typeloo IN typeloop %]
676 [% FOREACH categoryloo IN typeloo.categoryloop %]
677 [% IF ( loop.first ) %]
678 [% IF ( typeloo.typename_C ) %]<optgroup label="Child">[% END %]
679 [% IF ( typeloo.typename_A ) %]<optgroup label="Adult">[% END %]
680 [% IF ( typeloo.typename_S ) %]<optgroup label="Staff">[% END %]
681 [% IF ( typeloo.typename_I ) %]<optgroup label="Organization">[% END %]
682 [% IF ( typeloo.typename_P ) %]<optgroup label="Professional">[% END %]
683 [% IF ( typeloo.typename_X ) %]<optgroup label="Statistical">[% END %]
685 [% IF ( categoryloo.categorycodeselected ) %]
686 <option value="[% categoryloo.categorycode %]" selected="selected" data-typename="[% typeloo.typename %]">[% categoryloo.categoryname %]</option>
688 <option value="[% categoryloo.categorycode %]" data-typename="[% typeloo.typename %]">[% categoryloo.categoryname %]</option>
690 [% IF ( loop.last ) %]
696 <span class="required">Required</span>
700 [% IF ( mandatorysort1 ) %]
701 <label for="sort1" class="required">
706 [% PROCESS 'av-build-dropbox.inc' name="sort1", category="Bsort1", default=sort1, size = 20 %]
707 [% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %]
712 [% IF ( mandatorysort2 ) %]
713 <label for="sort2" class="required">
718 [% PROCESS 'av-build-dropbox.inc' name="sort2", category="Bsort2", default=sort2, size = 20 %]
719 [% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %]
722 [% IF ( Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 ) %]
724 <label for="sort2">Sync with the Norwegian national patron database:</label>
725 [% IF ( sync == 0 ) %]
726 <input type="radio" id="sync" name="sync" value="1"> Yes
727 <input type="radio" id="sync" name="sync" value="0" checked> No
729 <input type="radio" id="sync" name="sync" value="1" checked> Yes
730 <input type="radio" id="sync" name="sync" value="0"> No
734 [% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %]
735 <li><label for="checkprevcheckout">Check for previous checkouts: </label>
736 <select name="checkprevcheckout" id="checkprevcheckout">
737 [% IF ( checkprevcheckout == 'yes' ) %]
738 <option value="yes" selected="selected">Yes if settings allow it</option>
739 <option value="no">No if settings allow it</option>
740 <option value="inherit">Inherit from settings</option>
741 [% ELSIF ( checkprevcheckout == 'no' ) %]
742 <option value="yes">Yes if settings allow it</option>
743 <option value="no" selected="selected">No if settings allow it</option>
744 <option value="inherit">Inherit from settings</option>
746 <option value="yes">Yes if settings allow it</option>
747 <option value="no">No if settings allow it</option>
748 <option value="inherit" selected="selected">Inherit from settings</option>
753 [% IF Koha.Preference('TranslateNotices') %]
755 <label for="lang">Preferred language for notices: </label>
756 <select id="lang" name="lang">
757 <option value="default">Default</option>
758 [% FOR language IN languages %]
759 [% FOR sublanguage IN language.sublanguages_loop %]
760 [% IF language.plural %]
761 [% IF sublanguage.rfc4646_subtag == lang %]
762 <option value="[% sublanguage.rfc4646_subtag %]" selected="selected">[% sublanguage.native_description %] [% sublanguage.region_description %] ([% sublanguage.rfc4646_subtag %])</option>
764 <option value="[% sublanguage.rfc4646_subtag %]">[% sublanguage.native_description %] [% sublanguage.region_description %] ([% sublanguage.rfc4646_subtag %])</option>
767 [% IF sublanguage.rfc4646_subtag == lang %]
768 <option value="[% sublanguage.rfc4646_subtag %]" selected="selected">[% sublanguage.native_description %] ([% sublanguage.rfc4646_subtag %])</option>
770 <option value="[% sublanguage.rfc4646_subtag %]">[% sublanguage.native_description %] ([% sublanguage.rfc4646_subtag %])</option>
780 [% UNLESS nodateenrolled && noopacnote && noborrowernotes %]
781 <fieldset class="rows" id="memberentry_subscription">
782 <legend id="library_setup_lgd">Library set-up</legend><ol>
783 [% UNLESS nodateenrolled %]
785 [% IF ( mandatorydateenrolled ) %]
786 <label for="from" class="required">
790 Registration date: </label>
791 [% IF ( dateformat == "metric" ) %]
792 <input type="text" id="from" name="dateenrolled" maxlength="10" size="10" onchange="CheckDate(document.form.dateenrolled);check_manip_date('verify');" value="[% dateenrolled %]" class="datepickerfrom" />
794 <input type="text" id="from" name="dateenrolled" maxlength="10" size="10" value="[% dateenrolled %]" class="datepickerfrom" />
796 [% IF ( mandatorydateenrolled ) %]<span class="required">Required</span>[% END %]
797 [% IF ( ERROR_dateenrolled ) %]<span class="required">(Error)</span>[% END %]
798 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
801 [% UNLESS nodateexpiry %]
804 <li style="display:none">
806 [% IF ( mandatorydateexpiry ) %]
807 <label for="to" class="required">
811 Expiry date (leave blank for auto calc): </label>
812 [% IF ( dateformat == "metric" ) %]
813 [% UNLESS ( opadd ) %]
814 <input type="text" id="to" name="dateexpiry" maxlength="10" size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" value="[% dateexpiry UNLESS opduplicate %]" class="datepickerto" />
816 <input type="text" id="to" name="dateexpiry" maxlength="10" size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" class="datepickerto" />
819 [% UNLESS ( opadd ) %]
820 <input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% dateexpiry UNLESS opduplicate %]" class="datepickerto" />
822 <input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% dateexpiry %]" class="datepickerto" />
825 [% IF ( mandatorydateexpiry ) %]<span class="required">Required</span>[% END %]
826 [% IF ( ERROR_dateexpiry ) %]<span class="required">(Error)</span>[% END %]
827 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
829 [% UNLESS noopacnote %]
831 [% IF ( mandatoryopacnote ) %]
832 <label for="opacnote" class="required">
834 <label for="opacnote">
837 <textarea id="opacnote" name="opacnote" cols="55" rows="5">[% opacnote | html UNLESS opduplicate %]</textarea>
838 <div class="hint">This message appears on this patron's user page in the OPAC</div>
839 [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
842 [% UNLESS noborrowernotes %]
844 [% IF ( mandatoryborrowernotes ) %]
845 <label for="borrowernotes" class="required">
847 <label for="borrowernotes">
849 Circulation note: </label>
850 <textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[% borrowernotes | html UNLESS opduplicate %]</textarea>
851 <div class="hint">This message displays when checking out to this patron</div>
852 [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
857 [% END # hide fieldset %]
859 [% UNLESS nouserid && nopassword %]
860 <fieldset class="rows" id="memberentry_userid">
861 <legend id="opac_staff_login_lgd">OPAC/Staff login</legend><ol>
862 [% UNLESS nouserid %]
864 [% IF ( mandatoryuserid ) %]
865 <label for="userid" class="required">
871 [% IF ( NoUpdateLogin ) %]
872 [% IF ( opduplicate ) %]
873 <input type="text" id="userid" name="userid" size="20" disabled="disabled" />
875 <input type="text" id="userid" name="userid" size="20" disabled="disabled" value="[% userid %]" />
878 [% IF ( opduplicate ) %]
879 <input type="text" id="userid" name="userid" size="20" value="" />
881 <input type="text" id="userid" name="userid" size="20" value="[% userid %]" />
885 [%# Dummy input to avoid Firefox from using userid/password saved for authentication %]
886 <input type="text" disabled="disabled" style="display:none" />
888 [% IF ( mandatoryuserid ) %]<span class="required">Required</span>[% END %]
891 [% UNLESS nopassword %]
893 [% IF ( mandatorypassword ) %]
894 <label for="password" class="required">
896 <label for="password">
900 [% IF ( NoUpdateLogin ) %]
901 [% IF ( opduplicate ) %]
902 <input type="password" id="password" name="password" size="20" disabled="disabled" />
904 <input type="password" id="password" name="password" size="20" disabled="disabled" value="[% password %]" />
907 [% IF ( opduplicate ) %]
908 <input type="password" id="password" name="password" size="20" />
910 <input type="password" id="password" name="password" size="20" value="[% password %]" />
914 [% IF ( password ) %]
915 [% IF ( NoUpdateLogin ) %]
916 <input type="password" id="password" name="password" size="20" disabled="disabled" value="****" />
918 [% IF ( opduplicate ) %]
919 <input type="password" id="password" name="password" size="20" />
921 <input type="password" id="password" name="password" size="20" value="****" />
925 [% IF ( NoUpdateLogin ) %]
926 <input type="password" id="password" name="password" size="20" disabled="disabled" value="" />
928 <input type="password" id="password" name="password" size="20" value="" />
932 [% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %]
933 [% IF ( ERROR_password_too_short ) %]<span class="required">Password is too short</span>[% END %]
934 [% IF ( ERROR_password_too_weak ) %]<span class="required">Password is too weak</span>[% END %]
935 [% IF ( ERROR_password_has_whitespaces ) %]<span class="required">Password has leading or trailing whitespaces</span>[% END %]
936 <div class="hint">Minimum password length: [% minPasswordLength %]</div>
939 [% IF ( mandatorypassword ) %]
940 <label for="password2" class="required">
942 <label for="password2">
944 Confirm password: </label>
946 [% IF ( NoUpdateLogin ) %]
947 [% IF ( opduplicate ) %]
948 <input type="password" id="password2" name="password2" size="20" disabled="disabled" />
950 <input type="password" id="password2" name="password2" size="20" disabled="disabled" value="[% password %]" />
953 [% IF ( opduplicate ) %]
954 <input type="password" id="password2" name="password2" size="20" />
956 <input type="password" id="password2" name="password2" size="20" value="[% password %]" />
960 [% IF ( password ) %]
961 [% IF ( NoUpdateLogin ) %]
962 <input type="password" id="password2" name="password2" size="20" disabled="disabled" value="****" />
964 [% IF ( opduplicate ) %]
965 <input type="password" id="password2" name="password2" size="20" />
967 <input type="password" id="password2" name="password2" size="20" value="****" />
971 [% IF ( NoUpdateLogin ) %]
972 <input type="password" id="password2" name="password2" size="20" disabled="disabled" value="" />
974 <input type="password" id="password2" name="password2" size="20" value="" />
978 [% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %][% IF ( ERROR_password_mismatch ) %]<span class="required">Passwords do not match</span>[% END %]
982 [% END # hide fieldset %][% END %]
983 <!--this zones are not necessary in modif mode -->
984 [% UNLESS ( opadd || opduplicate ) %]
985 <fieldset class="rows" id="memberentry_account_flags">
986 <legend id="account_flags_lgd">Patron account flags</legend>
988 [% FOREACH flagloo IN flagloop %]
989 <li><label class="radio" for="yes[% flagloo.name %]">
990 [% IF ( flagloo.key == 'gonenoaddress' ) %]Gone no address:[% END %]
991 [% IF ( flagloo.key == 'lost' ) %]Lost card:[% END %]
993 [% IF CAN_user_circulate_manage_restrictions %]
994 <label for="yes[% flagloo.name %]">
995 [% IF ( flagloo.yes ) %]
996 <input type="radio" id="yes[% flagloo.name %]" name="[% flagloo.name %]" value="1" checked="checked" />
998 <input type="radio" id="yes[% flagloo.name %]" name="[% flagloo.name %]" value="1" />
1001 <label for="no[% flagloo.name %]">
1002 [% IF ( flagloo.no ) %]
1003 <input type="radio" id="no[% flagloo.name %]" name="[% flagloo.name %]" value="0" checked="checked"/>
1005 <input type="radio" id="no[% flagloo.name %]" name="[% flagloo.name %]" value="0" />
1009 [% IF flagloo.yes %]Yes[% ELSE %]No[% END %]
1018 <fieldset class="rows" id="memberentry_restrictions">
1019 <legend id="restrictions_lgd">Patron restrictions</legend>
1021 [% IF ( debarments ) %]
1028 [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
1035 [% FOREACH d IN debarments %]
1037 <td>[% d.type %]</td>
1039 [% IF d.comment.search('OVERDUES_PROCESS') %]
1040 Restriction added by overdues process [% d.comment.remove('OVERDUES_PROCESS ') %]
1045 <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
1046 [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
1048 <input type="checkbox" id="debarment_[% d.borrower_debarment_id %]" name="remove_debarment" value="[% d.borrower_debarment_id %]" />
1056 <p>Patron is currently unrestricted.</p>
1059 [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
1060 <p><a href="#" id="add_manual_restriction">Add manual restriction</a></p>
1061 <fieldset id="manual_restriction_form">
1062 <input type="hidden" id="add_debarment" name="add_debarment" value="0" />
1063 <legend id="manual_restriction_lgd">Add manual restriction</legend>
1065 <li><label for="debarred_comment">Comment: </label><input type="text" id="debarred_comment" name="debarred_comment" onchange="$('#add_debarment').val(1);" /></li>
1066 <li><label for="debarred_expiration">Expiration: </label><input name="debarred_expiration" id="debarred_expiration" size="10" value="" class="datepicker" onchange="$('#add_debarment').val(1);" />
1067 <a href='javascript:void(0)' onclick="$('#debarred_expiration').val('');">Clear date</a></li>
1071 <a class="cancel" id="cancel_manual_restriction" href="#">Cancel</a>
1081 [% IF Koha.Preference('HouseboundModule') %]
1082 <fieldset class="rows" id="memberentry_housebound_roles">
1083 <legend id="housebound_roles">Housebound roles</legend>
1086 <label class="radio" for="housebound_chooser">
1089 [% IF ( housebound_role.housebound_chooser == 1 ) %]
1090 <label for="yes_housebound_chooser">Yes </label>
1091 <input type="radio" id="yes_housebound_chooser"
1092 name="housebound_chooser" value="1"
1093 checked="checked" />
1094 <label for="no_housebound_chooser">No </label>
1095 <input type="radio" id="no_housebound_chooser"
1096 name="housebound_chooser" value="0" />
1098 <label for="yes_housebound_chooser">Yes </label>
1099 <input type="radio" id="yes_housebound_chooser"
1100 name="housebound_chooser" value="1" />
1101 <label for="no_housebound_chooser">No </label>
1102 <input type="radio" id="no_housebound_chooser"
1103 name="housebound_chooser" value="0"
1104 checked="checked" />
1108 <label class="radio" for="housebound_deliverer">Deliverer:</label>
1109 [% IF ( housebound_role.housebound_deliverer == 1 ) %]
1110 <label for="yes_housebound_deliverer">Yes </label>
1111 <input type="radio" id="yes_housebound_deliverer"
1112 name="housebound_deliverer" value="1"
1113 checked="checked" />
1114 <label for="no_housebound_deliverer">No </label>
1115 <input type="radio" id="no_housebound_deliverer"
1116 name="housebound_deliverer" value="0" />
1118 <label for="yes_housebound_deliverer">Yes </label>
1119 <input type="radio" id="yes_housebound_deliverer"
1120 name="housebound_deliverer" value="1" />
1121 <label for="no_housebound_deliverer">No </label>
1122 <input type="radio" id="no_housebound_deliverer"
1123 name="housebound_deliverer" value="0"
1124 checked="checked" />
1129 [% END # hide fieldset %]
1130 [% IF ( ExtendedPatronAttributes ) %][% UNLESS ( no_patron_attribute_types ) %]
1131 <fieldset class="rows" id="memberentry_patron_attributes">
1132 <legend id="patron_attributes_lgd">Additional attributes and identifiers</legend>
1133 <input type="hidden" name="setting_extended_patron_attributes" value="1" />
1134 [% FOREACH pa_loo IN patron_attributes %]
1135 [% IF pa_loo.class %]
1136 <fieldset id="aai_[% pa_loo.class %]">
1137 <legend id="[% pa_loo.class %]_lgd">[% pa_loo.lib %]</legend>
1139 <ol class="attributes_table">
1140 [% FOREACH patron_attribute IN pa_loo.items %]
1141 <li data-category_code="[% patron_attribute.category_code %]">
1142 <label for="[% patron_attribute.form_id %]">[% patron_attribute.description %]: </label>
1143 [% IF ( patron_attribute.use_dropdown ) %]
1144 <select id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]">
1145 <option value=""></option>
1146 [% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %]
1147 [% IF auth_val_loo.authorised_value == patron_attribute.value %]
1148 <option value="[% auth_val_loo.authorised_value %]" selected="selected">
1149 [% auth_val_loo.lib %]
1152 <option value="[% auth_val_loo.authorised_value %]" >
1153 [% auth_val_loo.lib %]
1159 <textarea rows="2" cols="30" id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]">[% patron_attribute.value %]</textarea>
1161 <input type="hidden" id="[% patron_attribute.form_id %]_code" name="[% patron_attribute.form_id %]_code" value="[% patron_attribute.code |html %]" />
1162 <a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> Clear</a>
1163 [% IF ( patron_attribute.repeatable ) %]
1164 <a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a>
1169 [% IF pa_loo.class %]</fieldset>[% END %]
1172 [% END %][% END %][% END %]
1174 [% IF ( step_5 ) %][% IF ( EnhancedMessagingPreferences ) %]
1175 <fieldset class="rows" id="memberentry_messaging_prefs">
1176 <legend id="patron_messaging_prefs_lgd">Patron messaging preferences</legend>
1178 <!-- handle changing prefs if creating new patron and changing
1181 <script type="text/javascript">//<![CDATA[
1182 $(document).ready(function(){
1183 var message_prefs_dirty = false;
1184 $('#memberentry_messaging_prefs > *').change(function() {
1185 message_prefs_dirty = true;
1187 $('#categorycode_entry').change(function() {
1188 var categorycode = $(this).val();
1189 if (message_prefs_dirty) {
1190 if (!confirm(_("Change messaging preferences to default for this category?"))) {
1194 $.getJSON('/cgi-bin/koha/members/default_messageprefs.pl?categorycode=' + categorycode,
1196 $.each(data.messaging_preferences, function(i, item) {
1197 var attrid = item.message_attribute_id;
1198 var transports = ['email', 'rss', 'sms'];
1199 $.each(transports, function(j, transport) {
1200 if (item['transports_' + transport] == 1) {
1201 $('#' + transport + attrid).prop('checked', true);
1203 $('#' + transport + attrid).prop('checked', false);
1206 if (item.digest && item.digest != ' ') {
1207 $('#digest' + attrid).prop('checked', true);
1209 $('#digest' + attrid).prop('checked', false);
1211 if (item.takes_days == '1') {
1212 $('[name=' + attrid + '-DAYS]').val('' + item.days_in_advance);
1215 message_prefs_dirty = false;
1223 <input type="hidden" name="setting_messaging_prefs" value="1" />
1224 [% INCLUDE 'messaging-preference-form.inc' %]
1225 [% IF ( SMSSendDriver ) %]
1226 <p><label for="SMSnumber">SMS number:</label>
1227 <input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber %]" />
1230 <label for="sms_provider_id">SMS provider:</label>
1231 <select id="sms_provider_id" name="sms_provider_id"/>
1232 <option value="">Unknown</option>
1233 [% FOREACH s IN sms_providers %]
1234 [% IF s.id == sms_provider_id %]
1235 <option value="[% s.id %]" selected="selected">[% s.name %]</option>
1237 <option value="[% s.id %]">[% s.name %]</option>
1248 [% IF quickadd && opadd && !check_member %]
1249 <form id="quick_add_form" class="toggler">
1250 <fieldset class="rows quick_add"><legend>Quick add</legend>
1251 <ol id="quick_add_list">
1256 $(document).ready(function () {
1258 $("#entryform,#saverecord").hide();
1259 [% q_add_f = Koha.Preference('PatronQuickAddFields').split('\|') %]
1260 var qaddfields = [[% FOREACH field IN q_add_f.unique %]"[% field %]",[% END %]];
1261 var skipped_fields = ["contactname","contactfirstname","relationship"]; //Guarantor form is pulled as a whole, ignore individual fields
1262 $("#entryform label").each(function () {
1263 var input_label = $(this).attr('for');
1264 if ( input_label == 'sex-female' ) {
1267 else if ( input_label == 'btitle' ) {
1268 input_label='title';
1270 if ( skipped_fields.indexOf( input_label ) != -1 ) { input_label=""; }
1271 if( qaddfields.indexOf( input_label ) != -1 || $(this).attr('class') == 'required' ){
1272 $(this).parent().clone().appendTo("#quick_add_list");
1273 [% UNLESS mandatorypassword %]
1274 if( input_label == 'password' ) $("#entryform label[for='password2']").parent().clone().appendTo("#quick_add_list");
1278 if( $("#memberentry_guarantor").length ) {
1279 $("#memberentry_guarantor").clone().appendTo("#quick_add_list").css("margin",0);
1280 $("#quick_add_form #memberentry_guarantor").append("<p>" + _("Note: Quick add guarantor form populates address fields in full form") + "</p>");
1281 $("#quick_add_list #guarantordelete").prop('id','qagd');
1283 $("#qagd").click(function() { $("#guarantordelete").click(); });
1284 $("#quick_add_form").show();
1291 [% UNLESS ( opadd ) %]<div class="yui-b">
1292 [% INCLUDE 'members-menu.inc' %]
1296 [% INCLUDE 'intranet-bottom.inc' %]
1297 [% PROCESS 'password_check.inc' %]
1298 [% PROCESS 'add_password_check' new_password => 'password' %]