Lines 1-3
Link Here
|
|
|
1 |
[% IF ( opduplicate ) %][% SET focusAction = "clearDupe" %][% END %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Patrons › |
3 |
<title>Koha › Patrons › |
3 |
[% 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> |
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> |
Lines 23-28
Link Here
|
23 |
document.form.state.value=RegExp.$3; |
24 |
document.form.state.value=RegExp.$3; |
24 |
document.form.country.value=RegExp.$4; |
25 |
document.form.country.value=RegExp.$4; |
25 |
}); |
26 |
}); |
|
|
27 |
$(".clearDupe").on("focus",function(){ |
28 |
$(this).val(""); |
29 |
}) |
26 |
|
30 |
|
27 |
[% IF categorycode %] |
31 |
[% IF categorycode %] |
28 |
update_category_code( "[% categorycode %]" ); |
32 |
update_category_code( "[% categorycode %]" ); |
Lines 102-108
Link Here
|
102 |
<div id="bd"> |
106 |
<div id="bd"> |
103 |
<div id="yui-main"> |
107 |
<div id="yui-main"> |
104 |
<div class="yui-b"> |
108 |
<div class="yui-b"> |
105 |
|
|
|
106 |
[% IF error_alert %] |
109 |
[% IF error_alert %] |
107 |
[% IF ( error_alert == "no_email" ) %] |
110 |
[% IF ( error_alert == "no_email" ) %] |
108 |
<div class="error">This member has no email</div> |
111 |
<div class="error">This member has no email</div> |
Lines 238-254
Link Here
|
238 |
[% END %] |
241 |
[% END %] |
239 |
Surname: </label> |
242 |
Surname: </label> |
240 |
[% IF ( uppercasesurnames ) %] |
243 |
[% IF ( uppercasesurnames ) %] |
241 |
[% IF ( opduplicate ) %] |
244 |
<input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20" value="[% surname %]" class="[% focusAction %]" /> |
242 |
<input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20" value="[% surname %]" onclick="this.value=''" /> |
|
|
243 |
[% ELSE %] |
244 |
<input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20" value="[% surname %]" /> |
245 |
[% END %] |
246 |
[% ELSE %] |
245 |
[% ELSE %] |
247 |
[% IF ( opduplicate ) %] |
246 |
<input type="text" id="surname" name="surname" size="20" value="[% surname %]" class="[% focusAction %]" /> |
248 |
<input type="text" id="surname" name="surname" size="20" value="[% surname %]" onclick="this.value=''" /> |
|
|
249 |
[% ELSE %] |
250 |
<input type="text" id="surname" name="surname" size="20" value="[% surname %]" /> |
251 |
[% END %] |
252 |
[% END %] |
247 |
[% END %] |
253 |
[% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %] |
248 |
[% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %] |
254 |
</li> |
249 |
</li> |
Lines 294-304
Link Here
|
294 |
<label for="initials"> |
289 |
<label for="initials"> |
295 |
[% END %] |
290 |
[% END %] |
296 |
Initials: </label> |
291 |
Initials: </label> |
297 |
[% IF ( opduplicate ) %] |
292 |
<input type="text" id="initials" name="initials" size="20" value="[% initials %]" class="[% focusAction %]" /> |
298 |
<input type="text" id="initials" name="initials" size="20" value="[% initials %]" onclick="this.value=''" /> |
|
|
299 |
[% ELSE %] |
300 |
<input type="text" id="initials" name="initials" size="20" value="[% initials %]" /> |
301 |
[% END %] |
302 |
[% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %] |
293 |
[% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %] |
303 |
</li> |
294 |
</li> |
304 |
[% END %] |
295 |
[% END %] |
Lines 310-321
Link Here
|
310 |
[% ELSE %] |
301 |
[% ELSE %] |
311 |
<label for="othernames"> |
302 |
<label for="othernames"> |
312 |
[% END %] |
303 |
[% END %] |
313 |
Other name: </label> |
304 |
Other name: </label> |
314 |
[% IF ( opduplicate ) %] |
305 |
<input type="text" id="othernames" name="othernames" size="20" value="[% othernames %]" class="[% focusAction %]" /> |
315 |
<input type="text" id="othernames" name="othernames" size="20" value="[% othernames %]" onclick="this.value=''" /> |
|
|
316 |
[% ELSE %] |
317 |
<input type="text" id="othernames" name="othernames" size="20" value="[% othernames %]" /> |
318 |
[% END %] |
319 |
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %] |
306 |
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %] |
320 |
[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %] |
307 |
[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %] |
321 |
</li> |
308 |
</li> |
Lines 364-374
Link Here
|
364 |
<span>[% contactname %]</span> |
351 |
<span>[% contactname %]</span> |
365 |
<input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" /> |
352 |
<input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" /> |
366 |
[% ELSE %] |
353 |
[% ELSE %] |
367 |
[% IF ( opduplicate ) %] |
354 |
<input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" class="[% focusAction %]" /> |
368 |
<input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" onclick="this.value=''" /> |
|
|
369 |
[% ELSE %] |
370 |
<input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" /> |
371 |
[% END %] |
372 |
[% END %] |
355 |
[% END %] |
373 |
</li> |
356 |
</li> |
374 |
[% ELSE %] |
357 |
[% ELSE %] |
Lines 387-397
Link Here
|
387 |
<span>[% contactname %]</span> |
370 |
<span>[% contactname %]</span> |
388 |
<input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" /> |
371 |
<input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" /> |
389 |
[% ELSE %] |
372 |
[% ELSE %] |
390 |
[% IF ( opduplicate ) %] |
373 |
<input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" class="[% focusAction %]" /> |
391 |
<input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" onclick="this.value=''" /> |
|
|
392 |
[% ELSE %] |
393 |
<input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" /> |
394 |
[% END %] |
395 |
[% END %] |
374 |
[% END %] |
396 |
</li> |
375 |
</li> |
397 |
[% END %] |
376 |
[% END %] |
Lines 402-412
Link Here
|
402 |
<span>[% contactfirstname %]</span> |
381 |
<span>[% contactfirstname %]</span> |
403 |
<input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="[% contactfirstname %]" /> |
382 |
<input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="[% contactfirstname %]" /> |
404 |
[% ELSE %] |
383 |
[% ELSE %] |
405 |
[% IF ( opduplicate ) %] |
384 |
<input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]" class="[% focusAction %]" /> |
406 |
<input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]" onclick="this.value=''" /> |
|
|
407 |
[% ELSE %] |
408 |
<input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]" /> |
409 |
[% END %] |
410 |
[% END %] |
385 |
[% END %] |
411 |
</li> |
386 |
</li> |
412 |
[% END %] |
387 |
[% END %] |
Lines 450-460
Link Here
|
450 |
<label for="streetnumber"> |
425 |
<label for="streetnumber"> |
451 |
[% END %] |
426 |
[% END %] |
452 |
Street number: </label> |
427 |
Street number: </label> |
453 |
[% IF ( opduplicate ) %] |
428 |
<input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" class="[% focusAction %]" /> |
454 |
<input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" onclick="this.value=''" /> |
|
|
455 |
[% ELSE %] |
456 |
<input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" /> |
457 |
[% END %] |
458 |
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %] |
429 |
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %] |
459 |
</li> |
430 |
</li> |
460 |
[% END %] |
431 |
[% END %] |
Lines 480-490
Link Here
|
480 |
<label for="address"> |
451 |
<label for="address"> |
481 |
[% END %] |
452 |
[% END %] |
482 |
Address: </label> |
453 |
Address: </label> |
483 |
[% IF ( opduplicate ) %] |
454 |
<input type="text" id="address" name="address" size="35" value="[% address %]" class="[% focusAction %]" /> |
484 |
<input type="text" id="address" name="address" size="35" value="[% address %]" onclick="this.value=''" /> |
|
|
485 |
[% ELSE %] |
486 |
<input type="text" id="address" name="address" size="35" value="[% address %]" /> |
487 |
[% END %] |
488 |
[% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %] |
455 |
[% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %] |
489 |
</li> |
456 |
</li> |
490 |
[% END %] |
457 |
[% END %] |
Lines 496-506
Link Here
|
496 |
<label for="address2"> |
463 |
<label for="address2"> |
497 |
[% END %] |
464 |
[% END %] |
498 |
Address 2: </label> |
465 |
Address 2: </label> |
499 |
[% IF ( opduplicate ) %] |
466 |
<input type="text" id="address2" name="address2" size="35" value="[% address2 %]" class="[% focusAction %]" /> |
500 |
<input type="text" id="address2" name="address2" size="35" value="[% address2 %]" onclick="this.value=''" /> |
|
|
501 |
[% ELSE %] |
502 |
<input type="text" id="address2" name="address2" size="35" value="[% address2 %]" /> |
503 |
[% END %] |
504 |
[% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %] |
467 |
[% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %] |
505 |
</li> |
468 |
</li> |
506 |
[% END %] |
469 |
[% END %] |
Lines 512-522
Link Here
|
512 |
<label for="city"> |
475 |
<label for="city"> |
513 |
[% END %] |
476 |
[% END %] |
514 |
City: </label> |
477 |
City: </label> |
515 |
[% IF ( opduplicate ) %] |
478 |
<input type="text" id="city" name="city" size="20" value="[% city %]" class="[% focusAction %]" /> |
516 |
<input type="text" id="city" name="city" size="20" value="[% city %]" onclick="this.value=''" /> |
|
|
517 |
[% ELSE %] |
518 |
<input type="text" id="city" name="city" size="20" value="[% city %]" /> |
519 |
[% END %] |
520 |
[% IF ( city_cgipopup ) %]or <strong>choose</strong> |
479 |
[% IF ( city_cgipopup ) %]or <strong>choose</strong> |
521 |
<select id="select_city" name="select_city"> |
480 |
<select id="select_city" name="select_city"> |
522 |
[% FOREACH city_loo IN city_loop %] |
481 |
[% FOREACH city_loo IN city_loop %] |
Lines 541-547
Link Here
|
541 |
<label for="state"> |
500 |
<label for="state"> |
542 |
[% END %] |
501 |
[% END %] |
543 |
State: </label> |
502 |
State: </label> |
544 |
<input type="text" name="state" id="state" size="20" value="[% state %]" /> |
503 |
<input type="text" name="state" id="state" size="20" value="[% state %]" class="[% focusAction %]" /> |
545 |
[% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %] |
504 |
[% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %] |
546 |
</li> |
505 |
</li> |
547 |
[% END %] |
506 |
[% END %] |
Lines 553-563
Link Here
|
553 |
<label for="zipcode"> |
512 |
<label for="zipcode"> |
554 |
[% END %] |
513 |
[% END %] |
555 |
Zip/Postal code: </label> |
514 |
Zip/Postal code: </label> |
556 |
[% IF ( opduplicate ) %] |
515 |
<input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" class="[% focusAction %]" /> |
557 |
<input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" onclick="this.value=''" /> |
|
|
558 |
[% ELSE %] |
559 |
<input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" /> |
560 |
[% END %] |
561 |
[% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %] |
516 |
[% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %] |
562 |
</li> |
517 |
</li> |
563 |
[% END %] |
518 |
[% END %] |
Lines 569-579
Link Here
|
569 |
<label for="country"> |
524 |
<label for="country"> |
570 |
[% END %] |
525 |
[% END %] |
571 |
Country: </label> |
526 |
Country: </label> |
572 |
[% IF ( opduplicate ) %] |
527 |
<input type="text" name="country" id="country" size="20" value="[% country %]" class="[% focusAction %]" /> |
573 |
<input type="text" name="country" id="country" size="20" value="[% country %]" onclick="this.value=''" /> |
|
|
574 |
[% ELSE %] |
575 |
<input type="text" name="country" id="country" size="20" value="[% country %]" /> |
576 |
[% END %] |
577 |
[% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %] |
528 |
[% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %] |
578 |
</li> |
529 |
</li> |
579 |
[% END %] |
530 |
[% END %] |
Lines 592-602
Link Here
|
592 |
<label for="phone"> |
543 |
<label for="phone"> |
593 |
[% END %] |
544 |
[% END %] |
594 |
Primary phone: </label> |
545 |
Primary phone: </label> |
595 |
[% IF ( opduplicate ) %] |
546 |
<input type="text" id="phone" name="phone" value="[% phone %]" class="[% focusAction %]" /> |
596 |
<input type="text" id="phone" name="phone" value="[% phone %]" onclick="this.value=''" /> |
|
|
597 |
[% ELSE %] |
598 |
<input type="text" id="phone" name="phone" value="[% phone %]" /> |
599 |
[% END %] |
600 |
[% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div> |
547 |
[% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div> |
601 |
|
548 |
|
602 |
</li> |
549 |
</li> |
Lines 609-619
Link Here
|
609 |
<label for="phonepro"> |
556 |
<label for="phonepro"> |
610 |
[% END %] |
557 |
[% END %] |
611 |
Secondary phone: </label> |
558 |
Secondary phone: </label> |
612 |
[% IF ( opduplicate ) %] |
559 |
<input type="text" id="phonepro" name="phonepro" value="[% phonepro %]" class="[% focusAction %]" /> |
613 |
<input type="text" id="phonepro" name="phonepro" value="[% phonepro %]" onclick="this.value=''" /> |
|
|
614 |
[% ELSE %] |
615 |
<input type="text" id="phonepro" name="phonepro" value="[% phonepro %]" /> |
616 |
[% END %] |
617 |
[% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %] |
560 |
[% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %] |
618 |
</li> |
561 |
</li> |
619 |
[% END %] |
562 |
[% END %] |
Lines 625-635
Link Here
|
625 |
<label for="mobile"> |
568 |
<label for="mobile"> |
626 |
[% END %] |
569 |
[% END %] |
627 |
Other phone: </label> |
570 |
Other phone: </label> |
628 |
[% IF ( opduplicate ) %] |
571 |
<input type="text" id="mobile" name="mobile" value="[% mobile %]" class="[% focusAction %]" /> |
629 |
<input type="text" id="mobile" name="mobile" value="[% mobile %]" onclick="this.value=''" /> |
|
|
630 |
[% ELSE %] |
631 |
<input type="text" id="mobile" name="mobile" value="[% mobile %]" /> |
632 |
[% END %] |
633 |
[% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %] |
572 |
[% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %] |
634 |
</li> |
573 |
</li> |
635 |
[% END %] |
574 |
[% END %] |
Lines 641-651
Link Here
|
641 |
<label for="email"> |
580 |
<label for="email"> |
642 |
[% END %] |
581 |
[% END %] |
643 |
Primary email: </label> |
582 |
Primary email: </label> |
644 |
[% IF ( opduplicate ) %] |
583 |
<input type="text" id="email" name="email" size="45" value="[% email %]" class="[% focusAction %]" /> |
645 |
<input type="text" id="email" name="email" size="45" value="[% email %]" onclick="this.value=''" /> |
|
|
646 |
[% ELSE %] |
647 |
<input type="text" id="email" name="email" size="45" value="[% email %]" /> |
648 |
[% END %] |
649 |
[% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div> |
584 |
[% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div> |
650 |
|
585 |
|
651 |
</li> |
586 |
</li> |
Lines 658-668
Link Here
|
658 |
<label for="emailpro"> |
593 |
<label for="emailpro"> |
659 |
[% END %] |
594 |
[% END %] |
660 |
Secondary email: </label> |
595 |
Secondary email: </label> |
661 |
[% IF ( opduplicate ) %] |
596 |
<input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]" class="[% focusAction %]" /> |
662 |
<input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]" onclick="this.value=''" /> |
|
|
663 |
[% ELSE %] |
664 |
<input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]" /> |
665 |
[% END %] |
666 |
[% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %] |
597 |
[% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %] |
667 |
</li> |
598 |
</li> |
668 |
[% END %] |
599 |
[% END %] |
Lines 674-684
Link Here
|
674 |
<label for="fax"> |
605 |
<label for="fax"> |
675 |
[% END %] |
606 |
[% END %] |
676 |
Fax: </label> |
607 |
Fax: </label> |
677 |
[% IF ( opduplicate ) %] |
608 |
<input type="text" id="fax" name="fax" value="[% fax %]" class="[% focusAction %]" /> |
678 |
<input type="text" id="fax" name="fax" value="[% fax %]" onclick="this.value=''" /> |
|
|
679 |
[% ELSE %] |
680 |
<input type="text" id="fax" name="fax" value="[% fax %]" /> |
681 |
[% END %] |
682 |
[% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %] |
609 |
[% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %] |
683 |
</li> |
610 |
</li> |
684 |
[% END %] |
611 |
[% END %] |
Lines 701-711
Link Here
|
701 |
<label for="B_address"> |
628 |
<label for="B_address"> |
702 |
[% END %] |
629 |
[% END %] |
703 |
Address: </label> |
630 |
Address: </label> |
704 |
[% IF ( opduplicate ) %] |
631 |
<input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" class="[% focusAction %]" /> |
705 |
<input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" onclick="this.value=''" /> |
|
|
706 |
[% ELSE %] |
707 |
<input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" /> |
708 |
[% END %] |
709 |
[% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %] |
632 |
[% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %] |
710 |
</li> |
633 |
</li> |
711 |
[% END %] |
634 |
[% END %] |
Lines 717-727
Link Here
|
717 |
<label for="B_address2"> |
640 |
<label for="B_address2"> |
718 |
[% END %] |
641 |
[% END %] |
719 |
Address 2: </label> |
642 |
Address 2: </label> |
720 |
[% IF ( opduplicate ) %] |
643 |
<input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]" class="[% focusAction %]" /> |
721 |
<input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]" onclick="this.value=''" /> |
|
|
722 |
[% ELSE %] |
723 |
<input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]" /> |
724 |
[% END %] |
725 |
[% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %] |
644 |
[% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %] |
726 |
</li> |
645 |
</li> |
727 |
[% END %] |
646 |
[% END %] |
Lines 733-739
Link Here
|
733 |
<label for="B_city"> |
652 |
<label for="B_city"> |
734 |
[% END %] |
653 |
[% END %] |
735 |
City: </label> |
654 |
City: </label> |
736 |
<input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" /> |
655 |
<input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" class="[% focusAction %]" /> |
737 |
[% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %] |
656 |
[% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %] |
738 |
</li> |
657 |
</li> |
739 |
[% END %] |
658 |
[% END %] |
Lines 745-751
Link Here
|
745 |
<label for="B_state"> |
664 |
<label for="B_state"> |
746 |
[% END %] |
665 |
[% END %] |
747 |
State: </label> |
666 |
State: </label> |
748 |
<input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" /> |
667 |
<input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" class="[% focusAction %]" /> |
749 |
[% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %] |
668 |
[% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %] |
750 |
</li> |
669 |
</li> |
751 |
[% END %] |
670 |
[% END %] |
Lines 757-767
Link Here
|
757 |
<label for="B_zipcode"> |
676 |
<label for="B_zipcode"> |
758 |
[% END %] |
677 |
[% END %] |
759 |
Zip/Postal code: </label> |
678 |
Zip/Postal code: </label> |
760 |
[% IF ( opduplicate ) %] |
679 |
<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]" class="[% focusAction %]" /> |
761 |
<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]" onclick="this.value=''" /> |
|
|
762 |
[% ELSE %] |
763 |
<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]" /> |
764 |
[% END %] |
765 |
[% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %] |
680 |
[% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %] |
766 |
</li> |
681 |
</li> |
767 |
[% END %] |
682 |
[% END %] |
Lines 773-783
Link Here
|
773 |
<label for="B_country"> |
688 |
<label for="B_country"> |
774 |
[% END %] |
689 |
[% END %] |
775 |
Country: </label> |
690 |
Country: </label> |
776 |
[% IF ( opduplicate ) %] |
691 |
<input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]" class="[% focusAction %]" /> |
777 |
<input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]" onclick="this.value=''" /> |
|
|
778 |
[% ELSE %] |
779 |
<input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]" /> |
780 |
[% END %] |
781 |
[% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %] |
692 |
[% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %] |
782 |
</li> |
693 |
</li> |
783 |
[% END %] |
694 |
[% END %] |
Lines 789-799
Link Here
|
789 |
<label for="B_phone"> |
700 |
<label for="B_phone"> |
790 |
[% END %] |
701 |
[% END %] |
791 |
Phone: </label> |
702 |
Phone: </label> |
792 |
[% IF ( opduplicate ) %] |
703 |
<input type="text" id="B_phone" name="B_phone" value="[% B_phone %]" class="[% focusAction %]" /> |
793 |
<input type="text" id="B_phone" name="B_phone" value="[% B_phone %]" onclick="this.value=''" /> |
|
|
794 |
[% ELSE %] |
795 |
<input type="text" id="B_phone" name="B_phone" value="[% B_phone %]" /> |
796 |
[% END %] |
797 |
[% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %] |
704 |
[% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %] |
798 |
</li> |
705 |
</li> |
799 |
[% END %] |
706 |
[% END %] |
Lines 805-815
Link Here
|
805 |
<label for="B_email"> |
712 |
<label for="B_email"> |
806 |
[% END %] |
713 |
[% END %] |
807 |
Email: </label> |
714 |
Email: </label> |
808 |
[% IF ( opduplicate ) %] |
715 |
<input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]" class="[% focusAction %]" /> |
809 |
<input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]" onclick="this.value=''" /> |
|
|
810 |
[% ELSE %] |
811 |
<input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]" /> |
812 |
[% END %] |
813 |
[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li> |
716 |
[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li> |
814 |
[% END %] |
717 |
[% END %] |
815 |
[% UNLESS nocontactnote %] |
718 |
[% UNLESS nocontactnote %] |
Lines 840-850
Link Here
|
840 |
<label for="altcontactsurname"> |
743 |
<label for="altcontactsurname"> |
841 |
[% END %] |
744 |
[% END %] |
842 |
Surname:</label> |
745 |
Surname:</label> |
843 |
[% IF ( opduplicate ) %] |
746 |
<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]" class="[% focusAction %]" /> |
844 |
<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]" onclick="this.value=''" /> |
|
|
845 |
[% ELSE %] |
846 |
<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]" /> |
847 |
[% END %] |
848 |
[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %] |
747 |
[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %] |
849 |
</li> |
748 |
</li> |
850 |
[% END %] |
749 |
[% END %] |
Lines 856-866
Link Here
|
856 |
<label for="altcontactfirstname"> |
755 |
<label for="altcontactfirstname"> |
857 |
[% END %] |
756 |
[% END %] |
858 |
First name:</label> |
757 |
First name:</label> |
859 |
[% IF ( opduplicate ) %] |
758 |
<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]" class="[% focusAction %]" /> |
860 |
<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]" onclick="this.value=''" /> |
|
|
861 |
[% ELSE %] |
862 |
<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]" /> |
863 |
[% END %] |
864 |
[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %] |
759 |
[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %] |
865 |
</li> |
760 |
</li> |
866 |
[% END %] |
761 |
[% END %] |
Lines 872-882
Link Here
|
872 |
<label for="altcontactaddress1"> |
767 |
<label for="altcontactaddress1"> |
873 |
[% END %] |
768 |
[% END %] |
874 |
Address:</label> |
769 |
Address:</label> |
875 |
[% IF ( opduplicate ) %] |
770 |
<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" size="40" class="[% focusAction %]" /> |
876 |
<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" onclick="this.value=''" size="40" /> |
|
|
877 |
[% ELSE %] |
878 |
<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" size="40" /> |
879 |
[% END %] |
880 |
[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %] |
771 |
[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %] |
881 |
</li> |
772 |
</li> |
882 |
[% END %] |
773 |
[% END %] |
Lines 888-898
Link Here
|
888 |
<label for="altcontactaddress2"> |
779 |
<label for="altcontactaddress2"> |
889 |
[% END %] |
780 |
[% END %] |
890 |
Address 2:</label> |
781 |
Address 2:</label> |
891 |
[% IF ( opduplicate ) %] |
782 |
<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]" size="40" class="[% focusAction %]" /> |
892 |
<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]" onclick="this.value=''" size="40" /> |
|
|
893 |
[% ELSE %] |
894 |
<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]" size="40" /> |
895 |
[% END %] |
896 |
[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %] |
783 |
[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %] |
897 |
</li> |
784 |
</li> |
898 |
[% END %] |
785 |
[% END %] |
Lines 904-910
Link Here
|
904 |
<label for="altcontactaddress3"> |
791 |
<label for="altcontactaddress3"> |
905 |
[% END %] |
792 |
[% END %] |
906 |
City:</label> |
793 |
City:</label> |
907 |
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" /> |
794 |
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" class="[% focusAction %]" /> |
908 |
[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %] |
795 |
[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %] |
909 |
</li> |
796 |
</li> |
910 |
[% END %] |
797 |
[% END %] |
Lines 916-922
Link Here
|
916 |
<label for="altcontactstate"> |
803 |
<label for="altcontactstate"> |
917 |
[% END %] |
804 |
[% END %] |
918 |
State:</label> |
805 |
State:</label> |
919 |
<input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" /> |
806 |
<input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" class="[% focusAction %]" /> |
920 |
[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %] |
807 |
[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %] |
921 |
</li> |
808 |
</li> |
922 |
[% END %] |
809 |
[% END %] |
Lines 928-938
Link Here
|
928 |
<label for="altcontactzipcode"> |
815 |
<label for="altcontactzipcode"> |
929 |
[% END %] |
816 |
[% END %] |
930 |
Zip/Postal code:</label> |
817 |
Zip/Postal code:</label> |
931 |
[% IF ( opduplicate ) %] |
818 |
<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5" class="[% focusAction %]" /> |
932 |
<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" onclick="this.value=''" size="5" /> |
|
|
933 |
[% ELSE %] |
934 |
<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5" /> |
935 |
[% END %] |
936 |
[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %] |
819 |
[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %] |
937 |
</li> |
820 |
</li> |
938 |
[% END %] |
821 |
[% END %] |
Lines 944-954
Link Here
|
944 |
<label for="altcontactcountry"> |
827 |
<label for="altcontactcountry"> |
945 |
[% END %] |
828 |
[% END %] |
946 |
Country:</label> |
829 |
Country:</label> |
947 |
[% IF ( opduplicate ) %] |
830 |
<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]" size="20" class="[% focusAction %]" /> |
948 |
<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]" onclick="this.value=''" size="20" /> |
|
|
949 |
[% ELSE %] |
950 |
<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]" size="20" /> |
951 |
[% END %] |
952 |
[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %] |
831 |
[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %] |
953 |
</li> |
832 |
</li> |
954 |
[% END %] |
833 |
[% END %] |
Lines 960-970
Link Here
|
960 |
<label for="altcontactphone"> |
839 |
<label for="altcontactphone"> |
961 |
[% END %] |
840 |
[% END %] |
962 |
Phone:</label> |
841 |
Phone:</label> |
963 |
[% IF ( opduplicate ) %] |
842 |
<input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]" class="[% focusAction %]" /> |
964 |
<input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]" onclick="this.value=''" /> |
|
|
965 |
[% ELSE %] |
966 |
<input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]" /> |
967 |
[% END %] |
968 |
[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %] |
843 |
[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %] |
969 |
</li> |
844 |
</li> |
970 |
[% END %] |
845 |
[% END %] |
Lines 989-996
Link Here
|
989 |
[% END %] |
864 |
[% END %] |
990 |
[% UNLESS nobranchcode %] |
865 |
[% UNLESS nobranchcode %] |
991 |
<li> |
866 |
<li> |
992 |
<label for="branchcode" class="required">Library:</label> |
867 |
<label for="libraries" class="required">Library:</label> |
993 |
<select name="branchcode" size="1" id="branchcode"> |
868 |
<select name="branchcode" size="1" id="libraries"> |
994 |
[%- FOREACH branchloo IN branchloop %] |
869 |
[%- FOREACH branchloo IN branchloop %] |
995 |
[% IF ( branchloo.selected ) -%] |
870 |
[% IF ( branchloo.selected ) -%] |
996 |
<option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option> |
871 |
<option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option> |
Lines 1008-1019
Link Here
|
1008 |
[% FOREACH typeloo IN typeloop %] |
883 |
[% FOREACH typeloo IN typeloop %] |
1009 |
[% FOREACH categoryloo IN typeloo.categoryloop %] |
884 |
[% FOREACH categoryloo IN typeloo.categoryloop %] |
1010 |
[% IF ( loop.first ) %] |
885 |
[% IF ( loop.first ) %] |
1011 |
[% IF ( typeloo.typename_C ) %]<optgroup label="Child" value="C">[% END %] |
886 |
[% IF ( typeloo.typename_C ) %]<optgroup label="Child">[% END %] |
1012 |
[% IF ( typeloo.typename_A ) %]<optgroup label="Adult" value="A">[% END %] |
887 |
[% IF ( typeloo.typename_A ) %]<optgroup label="Adult">[% END %] |
1013 |
[% IF ( typeloo.typename_S ) %]<optgroup label="Staff" value="S">[% END %] |
888 |
[% IF ( typeloo.typename_S ) %]<optgroup label="Staff">[% END %] |
1014 |
[% IF ( typeloo.typename_I ) %]<optgroup label="Organization" value="I">[% END %] |
889 |
[% IF ( typeloo.typename_I ) %]<optgroup label="Organization">[% END %] |
1015 |
[% IF ( typeloo.typename_P ) %]<optgroup label="Professional" value="P">[% END %] |
890 |
[% IF ( typeloo.typename_P ) %]<optgroup label="Professional">[% END %] |
1016 |
[% IF ( typeloo.typename_X ) %]<optgroup label="Statistical" value="X">[% END %] |
891 |
[% IF ( typeloo.typename_X ) %]<optgroup label="Statistical">[% END %] |
1017 |
[% END %] |
892 |
[% END %] |
1018 |
[% IF ( categoryloo.categorycodeselected ) %] |
893 |
[% IF ( categoryloo.categorycodeselected ) %] |
1019 |
<option value="[% categoryloo.categorycode %]" selected="selected" data-typename="[% typeloo.typename %]">[% categoryloo.categoryname %]</option> |
894 |
<option value="[% categoryloo.categorycode %]" selected="selected" data-typename="[% typeloo.typename %]">[% categoryloo.categoryname %]</option> |
Lines 1039-1049
Link Here
|
1039 |
[% IF ( CGIsort1 ) %] |
914 |
[% IF ( CGIsort1 ) %] |
1040 |
[% CGIsort1 %] |
915 |
[% CGIsort1 %] |
1041 |
[% ELSE %] |
916 |
[% ELSE %] |
1042 |
[% IF ( opduplicate ) %] |
917 |
<input type="text" id="sort1" name="sort1" size="20" value="[% sort1 %]" class="[% focusAction %]" /> |
1043 |
<input type="text" id="sort1" name="sort1" size="20" value="[% sort1 %]" onclick="this.value=''" /> |
|
|
1044 |
[% ELSE %] |
1045 |
<input type="text" id="sort1" name="sort1" size="20" value="[% sort1 %]" /> |
1046 |
[% END %] |
1047 |
[% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %] |
918 |
[% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %] |
1048 |
[% END %] |
919 |
[% END %] |
1049 |
</li> |
920 |
</li> |
Lines 1059-1069
Link Here
|
1059 |
[% IF ( CGIsort2 ) %] |
930 |
[% IF ( CGIsort2 ) %] |
1060 |
[% CGIsort2 %] |
931 |
[% CGIsort2 %] |
1061 |
[% ELSE %] |
932 |
[% ELSE %] |
1062 |
[% IF ( opduplicate ) %] |
933 |
<input type="text" id="sort2" name="sort2" size="20" value="[% sort2 %]" class="[% focusAction %]" /> |
1063 |
<input type="text" id="sort2" name="sort2" size="20" value="[% sort2 %]" onclick="this.value=''" /> |
|
|
1064 |
[% ELSE %] |
1065 |
<input type="text" id="sort2" name="sort2" size="20" value="[% sort2 %]" /> |
1066 |
[% END %] |
1067 |
[% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %] |
934 |
[% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %] |
1068 |
[% END %] |
935 |
[% END %] |
1069 |
</li> |
936 |
</li> |
Lines 1308-1327
Link Here
|
1308 |
[% END %] |
1175 |
[% END %] |
1309 |
|
1176 |
|
1310 |
<span id="debarreduntil"><label for="datedebarred" class="inline">Until:</label> |
1177 |
<span id="debarreduntil"><label for="datedebarred" class="inline">Until:</label> |
1311 |
[% IF opduplicate %] |
1178 |
<input type="text" name="datedebarred" id="datedebarred" class="debarred datepicker [% focusAction %]" value="[% datedebarred %]" /> |
1312 |
<input type="text" name="datedebarred" id="datedebarred" class="debarred datepicker" value="[% datedebarred %]" onclick="this.value=''" /> |
|
|
1313 |
[% ELSE %] |
1314 |
<input type="text" name="datedebarred" id="datedebarred" class="debarred datepicker" value="[% datedebarred %]" /> |
1315 |
[% END %] |
1316 |
<span class="hint">(optional)</span> </span> |
1179 |
<span class="hint">(optional)</span> </span> |
1317 |
</li> |
1180 |
</li> |
1318 |
<li> |
1181 |
<li> |
1319 |
<label for="debarredcomment" class="radio">Comment:</label> |
1182 |
<label for="debarredcomment" class="radio">Comment:</label> |
1320 |
[% IF ( opduplicate ) %] |
1183 |
<textarea id="debarredcomment" name="debarredcomment" cols="55" rows="3">[% debarredcomment %]</textarea> |
1321 |
<textarea id="debarredcomment" name="debarredcomment" cols="55" rows="3" onclick="this.value=''">[% debarredcomment %]</textarea> |
|
|
1322 |
[% ELSE %] |
1323 |
<textarea id="debarredcomment" name="debarredcomment" cols="55" rows="3">[% debarredcomment %]</textarea> |
1324 |
[% END %] |
1325 |
</li> |
1184 |
</li> |
1326 |
|
1185 |
|
1327 |
</ol> |
1186 |
</ol> |
Lines 1333-1340
Link Here
|
1333 |
|
1192 |
|
1334 |
[% IF ( step_4 ) %][% IF ( ExtendedPatronAttributes ) %][% UNLESS ( no_patron_attribute_types ) %] |
1193 |
[% IF ( step_4 ) %][% IF ( ExtendedPatronAttributes ) %][% UNLESS ( no_patron_attribute_types ) %] |
1335 |
<fieldset class="rows" id="memberentry_patron_attributes"> |
1194 |
<fieldset class="rows" id="memberentry_patron_attributes"> |
1336 |
<input type="hidden" name="setting_extended_patron_attributes" value="1" /> |
|
|
1337 |
<legend>Additional attributes and identifiers</legend> |
1195 |
<legend>Additional attributes and identifiers</legend> |
|
|
1196 |
<input type="hidden" name="setting_extended_patron_attributes" value="1" /> |
1338 |
[% FOREACH pa_loo IN patron_attributes %] |
1197 |
[% FOREACH pa_loo IN patron_attributes %] |
1339 |
[% IF pa_loo.class %] |
1198 |
[% IF pa_loo.class %] |
1340 |
<fieldset id="aai_[% pa_loo.class %]"> |
1199 |
<fieldset id="aai_[% pa_loo.class %]"> |
Lines 1347-1353
Link Here
|
1347 |
<input type="hidden" id="[% patron_attribute.form_id %]_code" name="[% patron_attribute.form_id %]_code" value="[% patron_attribute.code |html %]" /> |
1206 |
<input type="hidden" id="[% patron_attribute.form_id %]_code" name="[% patron_attribute.form_id %]_code" value="[% patron_attribute.code |html %]" /> |
1348 |
[% IF ( patron_attribute.use_dropdown ) %] |
1207 |
[% IF ( patron_attribute.use_dropdown ) %] |
1349 |
<select id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]"> |
1208 |
<select id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]"> |
1350 |
<option value="" /> |
1209 |
<option value=""></option> |
1351 |
[% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %] |
1210 |
[% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %] |
1352 |
[% IF ( auth_val_loo.selected ) %] |
1211 |
[% IF ( auth_val_loo.selected ) %] |
1353 |
<option value="[% auth_val_loo.authorised_value %]" selected="selected"> |
1212 |
<option value="[% auth_val_loo.authorised_value %]" selected="selected"> |
Lines 1361-1371
Link Here
|
1361 |
[% END %] |
1220 |
[% END %] |
1362 |
</select> |
1221 |
</select> |
1363 |
[% ELSE %] |
1222 |
[% ELSE %] |
1364 |
[% IF ( opduplicate ) %] |
|
|
1365 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]" onclick="this.value=''" >[% patron_attribute.value %]</textarea> |
1366 |
[% ELSE %] |
1367 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]">[% patron_attribute.value %]</textarea> |
1223 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]">[% patron_attribute.value %]</textarea> |
1368 |
[% END %] |
|
|
1369 |
[% END %] |
1224 |
[% END %] |
1370 |
[% IF ( patron_attribute.password_allowed ) %] |
1225 |
[% IF ( patron_attribute.password_allowed ) %] |
1371 |
(<label class="yesno" for="[% patron_attribute.form_id %]_password">Password:</label> <input type="password" maxlength="64" value="[% patron_attribute.password %]" |
1226 |
(<label class="yesno" for="[% patron_attribute.form_id %]_password">Password:</label> <input type="password" maxlength="64" value="[% patron_attribute.password %]" |
Lines 1385-1390
Link Here
|
1385 |
|
1240 |
|
1386 |
[% IF ( step_5 ) %][% IF ( EnhancedMessagingPreferences ) %] |
1241 |
[% IF ( step_5 ) %][% IF ( EnhancedMessagingPreferences ) %] |
1387 |
<fieldset class="rows" id="memberentry_messaging_prefs"> |
1242 |
<fieldset class="rows" id="memberentry_messaging_prefs"> |
|
|
1243 |
<legend id="patron_messaging_prefs_lgd">Patron messaging preferences</legend> |
1388 |
[% IF ( opadd ) %] |
1244 |
[% IF ( opadd ) %] |
1389 |
<!-- handle changing prefs if creating new patron and changing |
1245 |
<!-- handle changing prefs if creating new patron and changing |
1390 |
the patron category |
1246 |
the patron category |
Lines 1432-1449
Link Here
|
1432 |
</script> |
1288 |
</script> |
1433 |
[% END %] |
1289 |
[% END %] |
1434 |
<input type="hidden" name="setting_messaging_prefs" value="1" /> |
1290 |
<input type="hidden" name="setting_messaging_prefs" value="1" /> |
1435 |
<legend id="patron_messaging_prefs_lgd">Patron messaging preferences</legend> |
|
|
1436 |
[% IF type_only %] |
1291 |
[% IF type_only %] |
1437 |
<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> |
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> |
1438 |
[% END %] |
1293 |
[% END %] |
1439 |
[% INCLUDE 'messaging-preference-form.inc' %] |
1294 |
[% INCLUDE 'messaging-preference-form.inc' %] |
1440 |
[% IF ( SMSSendDriver ) %] |
1295 |
[% IF ( SMSSendDriver ) %] |
1441 |
<p><label for="SMSnumber">SMS number:</label> |
1296 |
<p><label for="SMSnumber">SMS number:</label> |
1442 |
[% IF ( opduplicate ) %] |
1297 |
<input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber %]" class="[% focusAction %]" /> |
1443 |
<input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber %]" onclick="this.value=''" /> |
|
|
1444 |
[% ELSE %] |
1445 |
<input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber %]" /> |
1446 |
[% END %] |
1447 |
</p> |
1298 |
</p> |
1448 |
[% END %] |
1299 |
[% END %] |
1449 |
</fieldset> |
1300 |
</fieldset> |
1450 |
- |
|
|