View | Details | Raw Unified | Return to bug 9177
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-45 / +40 lines)
Lines 1-4 Link Here
1
[% IF ( opduplicate ) %][% SET focusAction = "clearDupe" %][% END %]
2
[% USE Koha %]
1
[% USE Koha %]
3
[% USE KohaDates %]
2
[% USE KohaDates %]
4
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
Lines 26-34 Link Here
26
            document.form.state.value=RegExp.$3;
25
            document.form.state.value=RegExp.$3;
27
            document.form.country.value=RegExp.$4;
26
            document.form.country.value=RegExp.$4;
28
        });
27
        });
29
        $(".clearDupe").on("focus",function(){
30
            $(this).val("");
31
        })
32
28
33
        [% IF categorycode %]
29
        [% IF categorycode %]
34
            update_category_code( "[% categorycode %]" );
30
            update_category_code( "[% categorycode %]" );
Lines 269-277 Link Here
269
		[% END %]
265
		[% END %]
270
		Surname: </label>
266
		Surname: </label>
271
		[% IF ( uppercasesurnames ) %]
267
		[% IF ( uppercasesurnames ) %]
272
            <input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20"  value="[% surname %]" class="[% focusAction %]" />
268
            <input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20"  value="[% surname %]" />
273
		[% ELSE %]
269
		[% ELSE %]
274
            <input type="text" id="surname" name="surname" size="20"  value="[% surname %]" class="[% focusAction %]" />
270
            <input type="text" id="surname" name="surname" size="20"  value="[% surname %]" />
275
		[% END %]
271
		[% END %]
276
		[% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %]
272
		[% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %]
277
		</li>
273
		</li>
Lines 317-323 Link Here
317
                    <label for="initials">
313
                    <label for="initials">
318
                [% END %]
314
                [% END %]
319
                Initials: </label>
315
                Initials: </label>
320
                <input type="text" id="initials" name="initials" size="20"  value="[% UNLESS opduplicate %][% initials %][% END %]" class="[% focusAction %]" />
316
                <input type="text" id="initials" name="initials" size="20"  value="[% UNLESS opduplicate %][% initials %][% END %]" />
321
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
317
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
322
            </li>
318
            </li>
323
        [% END %]
319
        [% END %]
Lines 330-336 Link Here
330
			<label for="othernames">
326
			<label for="othernames">
331
			[% END %]
327
			[% END %]
332
            Other name: </label>
328
            Other name: </label>
333
            <input type="text" id="othernames" name="othernames" size="20"  value="[% UNLESS opduplicate %][% othernames %][% END %]" class="[% focusAction %]" />
329
            <input type="text" id="othernames" name="othernames" size="20"  value="[% UNLESS opduplicate %][% othernames %][% END %]" />
334
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
330
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
335
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
331
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
336
		</li>
332
		</li>
Lines 386-392 Link Here
386
	            <span>[% contactname %]</span>
382
	            <span>[% contactname %]</span>
387
	            <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" />
383
	            <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" />
388
	            [% ELSE %]
384
	            [% ELSE %]
389
                    <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" class="[% focusAction %]" />
385
                    <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" />
390
	            [% END %]
386
	            [% END %]
391
	        </li>
387
	        </li>
392
[% ELSE %]
388
[% ELSE %]
Lines 405-411 Link Here
405
     <span>[% contactname %]</span>
401
     <span>[% contactname %]</span>
406
     <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" />
402
     <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" />
407
     [% ELSE %]
403
     [% ELSE %]
408
        <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" class="[% focusAction %]" />
404
        <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" />
409
     [% END %]
405
     [% END %]
410
 </li>
406
 </li>
411
        [% END %]
407
        [% END %]
Lines 416-422 Link Here
416
     <span>[% contactfirstname %]</span>
412
     <span>[% contactfirstname %]</span>
417
     <input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="[% contactfirstname %]" />
413
     <input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="[% contactfirstname %]" />
418
     [% ELSE %]
414
     [% ELSE %]
419
        <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]" class="[% focusAction %]" />
415
        <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]" />
420
     [% END %]
416
     [% END %]
421
 </li>
417
 </li>
422
        [% END %]
418
        [% END %]
Lines 460-466 Link Here
460
      <label for="streetnumber">
456
      <label for="streetnumber">
461
      [% END %]
457
      [% END %]
462
      Street number: </label>
458
      Street number: </label>
463
        <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" class="[% focusAction %]" />
459
        <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" />
464
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
460
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
465
    </li>
461
    </li>
466
        [% END %]
462
        [% END %]
Lines 495-501 Link Here
495
      <label for="address">
491
      <label for="address">
496
      [% END %]
492
      [% END %]
497
      Address: </label>
493
      Address: </label>
498
            <input type="text" id="address" name="address" size="35" value="[% address %]" class="[% focusAction %]" />
494
            <input type="text" id="address" name="address" size="35" value="[% address %]" />
499
	  [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
495
	  [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
500
    </li>
496
    </li>
501
        [% END %]
497
        [% END %]
Lines 507-513 Link Here
507
      <label for="address2">
503
      <label for="address2">
508
      [% END %]
504
      [% END %]
509
      Address 2: </label>
505
      Address 2: </label>
510
            <input type="text" id="address2" name="address2" size="35" value="[% address2 %]" class="[% focusAction %]" />
506
            <input type="text" id="address2" name="address2" size="35" value="[% address2 %]" />
511
	  [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
507
	  [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
512
    </li>  
508
    </li>  
513
        [% END %]
509
        [% END %]
Lines 519-525 Link Here
519
        <label for="city">
515
        <label for="city">
520
      [% END %]
516
      [% END %]
521
      City: </label>
517
      City: </label>
522
        <input type="text" id="city" name="city" size="20" value="[% city %]" class="[% focusAction %]" />
518
        <input type="text" id="city" name="city" size="20" value="[% city %]" />
523
        [% IF ( city_cgipopup ) %]or <strong>choose</strong>
519
        [% IF ( city_cgipopup ) %]or <strong>choose</strong>
524
        <select id="select_city" name="select_city">
520
        <select id="select_city" name="select_city">
525
        [% FOREACH city_loo IN city_loop %]
521
        [% FOREACH city_loo IN city_loop %]
Lines 544-550 Link Here
544
        <label for="state">
540
        <label for="state">
545
      [% END %]
541
      [% END %]
546
      State: </label>
542
      State: </label>
547
      <input type="text" name="state" id="state" size="20" value="[% state %]" class="[% focusAction %]" />
543
      <input type="text" name="state" id="state" size="20" value="[% state %]" />
548
	  [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
544
	  [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
549
    </li>
545
    </li>
550
        [% END %]
546
        [% END %]
Lines 556-562 Link Here
556
        <label for="zipcode">
552
        <label for="zipcode">
557
      [% END %]
553
      [% END %]
558
      Zip/Postal code: </label>
554
      Zip/Postal code: </label>
559
            <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" class="[% focusAction %]" />
555
            <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" />
560
	  [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
556
	  [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
561
    </li>
557
    </li>
562
        [% END %]
558
        [% END %]
Lines 568-574 Link Here
568
        <label for="country">
564
        <label for="country">
569
      [% END %]
565
      [% END %]
570
      Country: </label>
566
      Country: </label>
571
        <input type="text" name="country" id="country" size="20" value="[% country %]" class="[% focusAction %]" />
567
        <input type="text" name="country" id="country" size="20" value="[% country %]" />
572
	  [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
568
	  [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
573
    </li>    
569
    </li>    
574
        [% END %]
570
        [% END %]
Lines 587-593 Link Here
587
      <label for="phone">
583
      <label for="phone">
588
      [% END %]
584
      [% END %]
589
      Primary phone: </label>
585
      Primary phone: </label>
590
        <input type="text" id="phone" name="phone" value="[% phone %]" class="[% focusAction %]" />
586
        <input type="text" id="phone" name="phone" value="[% phone %]" />
591
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
587
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
592
588
593
    </li>
589
    </li>
Lines 600-606 Link Here
600
      <label for="phonepro">
596
      <label for="phonepro">
601
      [% END %]
597
      [% END %]
602
      Secondary phone: </label>
598
      Secondary phone: </label>
603
    <input type="text" id="phonepro" name="phonepro" value="[% phonepro %]" class="[% focusAction %]" />
599
    <input type="text" id="phonepro" name="phonepro" value="[% phonepro %]" />
604
	  [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
600
	  [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
605
    </li>
601
    </li>
606
        [% END %]
602
        [% END %]
Lines 612-618 Link Here
612
      <label for="mobile">
608
      <label for="mobile">
613
      [% END %]
609
      [% END %]
614
      Mobile phone: </label>
610
      Mobile phone: </label>
615
        <input type="text" id="mobile" name="mobile" value="[% mobile %]" class="[% focusAction %]" />
611
        <input type="text" id="mobile" name="mobile" value="[% mobile %]" />
616
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
612
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
617
    </li>
613
    </li>
618
        [% END %]
614
        [% END %]
Lines 624-630 Link Here
624
      <label for="email">
620
      <label for="email">
625
      [% END %]
621
      [% END %]
626
      Primary email: </label>
622
      Primary email: </label>
627
        <input type="text" id="email" name="email" size="45" value="[% email %]" class="[% focusAction %]" />
623
        <input type="text" id="email" name="email" size="45" value="[% email %]" />
628
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
624
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
629
625
630
    </li>
626
    </li>
Lines 637-643 Link Here
637
      <label for="emailpro">
633
      <label for="emailpro">
638
      [% END %]
634
      [% END %]
639
      Secondary email: </label>
635
      Secondary email: </label>
640
        <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]" class="[% focusAction %]" />
636
        <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]" />
641
	  [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
637
	  [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
642
    </li>
638
    </li>
643
        [% END %]
639
        [% END %]
Lines 649-655 Link Here
649
      <label for="fax">
645
      <label for="fax">
650
      [% END %]
646
      [% END %]
651
      Fax: </label>
647
      Fax: </label>
652
        <input type="text" id="fax" name="fax" value="[% fax %]" class="[% focusAction %]" />
648
        <input type="text" id="fax" name="fax" value="[% fax %]" />
653
	  [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
649
	  [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
654
    </li>
650
    </li>
655
        [% END %]
651
        [% END %]
Lines 672-678 Link Here
672
					<label for="B_address">
668
					<label for="B_address">
673
				[% END %]
669
				[% END %]
674
				Address: </label>
670
				Address: </label>
675
                    <input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" class="[% focusAction %]" />
671
                    <input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" />
676
	  [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
672
	  [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
677
			</li>
673
			</li>
678
        [% END %]
674
        [% END %]
Lines 684-690 Link Here
684
					<label for="B_address2">
680
					<label for="B_address2">
685
				[% END %]
681
				[% END %]
686
				Address 2: </label>
682
				Address 2: </label>
687
                    <input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]" class="[% focusAction %]" />
683
                    <input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]" />
688
	  [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
684
	  [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
689
			</li>
685
			</li>
690
        [% END %]
686
        [% END %]
Lines 696-702 Link Here
696
					<label for="B_city">
692
					<label for="B_city">
697
				[% END %]
693
				[% END %]
698
				City: </label>
694
				City: </label>
699
                <input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" class="[% focusAction %]" />
695
                <input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" />
700
	  [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
696
	  [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
701
			</li>
697
			</li>
702
        [% END %]
698
        [% END %]
Lines 708-714 Link Here
708
					<label for="B_state">
704
					<label for="B_state">
709
				[% END %]
705
				[% END %]
710
				State: </label>
706
				State: </label>
711
                <input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" class="[% focusAction %]" />
707
                <input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" />
712
	  [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
708
	  [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
713
			</li>
709
			</li>
714
        [% END %]
710
        [% END %]
Lines 720-726 Link Here
720
					<label for="B_zipcode">
716
					<label for="B_zipcode">
721
				[% END %]
717
				[% END %]
722
				Zip/Postal code: </label>
718
				Zip/Postal code: </label>
723
                    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]" class="[% focusAction %]" />
719
                    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]" />
724
	  [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
720
	  [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
725
			</li>
721
			</li>
726
        [% END %]
722
        [% END %]
Lines 732-738 Link Here
732
					<label for="B_country">
728
					<label for="B_country">
733
				[% END %]
729
				[% END %]
734
				Country: </label>
730
				Country: </label>
735
                    <input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]" class="[% focusAction %]" />
731
                    <input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]" />
736
	  [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
732
	  [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
737
			</li>
733
			</li>
738
        [% END %]
734
        [% END %]
Lines 744-750 Link Here
744
                <label for="B_phone">
740
                <label for="B_phone">
745
                [% END %]
741
                [% END %]
746
                Phone: </label>
742
                Phone: </label>
747
                    <input type="text" id="B_phone" name="B_phone" value="[% B_phone %]" class="[% focusAction %]" />
743
                    <input type="text" id="B_phone" name="B_phone" value="[% B_phone %]" />
748
                [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
744
                [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
749
            </li>
745
            </li>
750
        [% END %]
746
        [% END %]
Lines 756-762 Link Here
756
          <label for="B_email">
752
          <label for="B_email">
757
        [% END %]
753
        [% END %]
758
        Email: </label>
754
        Email: </label>
759
            <input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]" class="[% focusAction %]" />
755
            <input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]" />
760
		[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
756
		[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
761
        [% END %]
757
        [% END %]
762
        [% UNLESS nocontactnote %]
758
        [% UNLESS nocontactnote %]
Lines 787-793 Link Here
787
				<label for="altcontactsurname">
783
				<label for="altcontactsurname">
788
				[% END %]
784
				[% END %]
789
				Surname:</label>
785
				Surname:</label>
790
                    <input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]" class="[% focusAction %]" />
786
                    <input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]" />
791
				[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
787
				[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
792
			</li>
788
			</li>
793
        [% END %]
789
        [% END %]
Lines 799-805 Link Here
799
				<label for="altcontactfirstname">
795
				<label for="altcontactfirstname">
800
				[% END %]
796
				[% END %]
801
				First name:</label>
797
				First name:</label>
802
                    <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]" class="[% focusAction %]" />
798
                    <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]" />
803
				[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
799
				[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
804
			</li>
800
			</li>
805
        [% END %]
801
        [% END %]
Lines 811-817 Link Here
811
				<label for="altcontactaddress1">
807
				<label for="altcontactaddress1">
812
				[% END %]
808
				[% END %]
813
				Address:</label>
809
				Address:</label>
814
                    <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" size="40" class="[% focusAction %]" />
810
                    <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" size="40" />
815
				[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
811
				[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
816
			</li>
812
			</li>
817
        [% END %]
813
        [% END %]
Lines 823-829 Link Here
823
				<label for="altcontactaddress2">
819
				<label for="altcontactaddress2">
824
				[% END %]
820
				[% END %]
825
				Address 2:</label>
821
				Address 2:</label>
826
                <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]" size="40" class="[% focusAction %]" />
822
                <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]" size="40" />
827
				[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
823
				[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
828
			</li>
824
			</li>
829
        [% END %]
825
        [% END %]
Lines 835-841 Link Here
835
				<label for="altcontactaddress3">
831
				<label for="altcontactaddress3">
836
				[% END %]
832
				[% END %]
837
				City:</label>
833
				City:</label>
838
                <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" class="[% focusAction %]" />
834
                <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" />
839
				[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
835
				[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
840
			</li>
836
			</li>
841
        [% END %]
837
        [% END %]
Lines 847-853 Link Here
847
				<label for="altcontactstate">
843
				<label for="altcontactstate">
848
				[% END %]
844
				[% END %]
849
				State:</label>
845
				State:</label>
850
                <input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" class="[% focusAction %]" />
846
                <input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" />
851
				[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
847
				[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
852
			</li>
848
			</li>
853
        [% END %]
849
        [% END %]
Lines 859-865 Link Here
859
				<label for="altcontactzipcode">
855
				<label for="altcontactzipcode">
860
				[% END %]
856
				[% END %]
861
				Zip/Postal code:</label>
857
				Zip/Postal code:</label>
862
                    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5" class="[% focusAction %]" />
858
                    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5" />
863
				[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
859
				[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
864
			</li>
860
			</li>
865
        [% END %]
861
        [% END %]
Lines 871-877 Link Here
871
				<label for="altcontactcountry">
867
				<label for="altcontactcountry">
872
				[% END %]
868
				[% END %]
873
				Country:</label>
869
				Country:</label>
874
                    <input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]" size="20" class="[% focusAction %]" />
870
                    <input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]" size="20" />
875
				[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
871
				[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
876
			</li>			
872
			</li>			
877
        [% END %]
873
        [% END %]
Lines 883-889 Link Here
883
				<label for="altcontactphone">
879
				<label for="altcontactphone">
884
				[% END %]
880
				[% END %]
885
				Phone:</label>
881
				Phone:</label>
886
                    <input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]" class="[% focusAction %]" />
882
                    <input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]" />
887
				[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
883
				[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
888
			</li>
884
			</li>
889
        [% END %]
885
        [% END %]
Lines 965-971 Link Here
965
        <label for="sort1">
961
        <label for="sort1">
966
      [% END %]
962
      [% END %]
967
      Sort 1: </label>
963
      Sort 1: </label>
968
      [% PROCESS 'av-build-dropbox.inc' name="sort1", category="Bsort1", default=sort1, class=focusAction, size = 20 %]
964
      [% PROCESS 'av-build-dropbox.inc' name="sort1", category="Bsort1", default=sort1, size = 20 %]
969
      [% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %]
965
      [% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %]
970
    </li>
966
    </li>
971
        [% END %]
967
        [% END %]
Lines 977-983 Link Here
977
    <label for="sort2">
973
    <label for="sort2">
978
    [% END %]
974
    [% END %]
979
    Sort 2: </label>
975
    Sort 2: </label>
980
    [% PROCESS 'av-build-dropbox.inc' name="sort2", category="Bsort2", default=sort2, class=focusAction, size = 20 %]
976
    [% PROCESS 'av-build-dropbox.inc' name="sort2", category="Bsort2", default=sort2, size = 20 %]
981
    [% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %]
977
    [% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %]
982
    </li>
978
    </li>
983
        [% END %]
979
        [% END %]
Lines 1384-1390 Link Here
1384
    [% INCLUDE 'messaging-preference-form.inc' %]
1380
    [% INCLUDE 'messaging-preference-form.inc' %]
1385
    [% IF ( SMSSendDriver ) %]
1381
    [% IF ( SMSSendDriver ) %]
1386
        <p><label for="SMSnumber">SMS number:</label>
1382
        <p><label for="SMSnumber">SMS number:</label>
1387
            <input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber %]" class="[% focusAction %]" />
1383
            <input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber %]" />
1388
        </p>
1384
        </p>
1389
    [% END %]
1385
    [% END %]
1390
  </fieldset>
1386
  </fieldset>
1391
- 

Return to bug 9177