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="[% initials %]" class="[% focusAction %]" />
316
                <input type="text" id="initials" name="initials" size="20"  value="[% initials %]" />
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="[% othernames %]" class="[% focusAction %]" />
329
            <input type="text" id="othernames" name="othernames" size="20"  value="[% othernames %]" />
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 379-385 Link Here
379
	            <span>[% contactname %]</span>
375
	            <span>[% contactname %]</span>
380
	            <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" />
376
	            <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" />
381
	            [% ELSE %]
377
	            [% ELSE %]
382
                    <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" class="[% focusAction %]" />
378
                    <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" />
383
	            [% END %]
379
	            [% END %]
384
	        </li>
380
	        </li>
385
[% ELSE %]
381
[% ELSE %]
Lines 398-404 Link Here
398
     <span>[% contactname %]</span>
394
     <span>[% contactname %]</span>
399
     <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" />
395
     <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname %]" />
400
     [% ELSE %]
396
     [% ELSE %]
401
        <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" class="[% focusAction %]" />
397
        <input name="contactname" id="contactname" type="text" size="20" value="[% contactname %]" />
402
     [% END %]
398
     [% END %]
403
 </li>
399
 </li>
404
        [% END %]
400
        [% END %]
Lines 409-415 Link Here
409
     <span>[% contactfirstname %]</span>
405
     <span>[% contactfirstname %]</span>
410
     <input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="[% contactfirstname %]" />
406
     <input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="[% contactfirstname %]" />
411
     [% ELSE %]
407
     [% ELSE %]
412
        <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]" class="[% focusAction %]" />
408
        <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname %]" />
413
     [% END %]
409
     [% END %]
414
 </li>
410
 </li>
415
        [% END %]
411
        [% END %]
Lines 453-459 Link Here
453
      <label for="streetnumber">
449
      <label for="streetnumber">
454
      [% END %]
450
      [% END %]
455
      Street number: </label>
451
      Street number: </label>
456
        <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" class="[% focusAction %]" />
452
        <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" />
457
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
453
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
458
    </li>
454
    </li>
459
        [% END %]
455
        [% END %]
Lines 488-494 Link Here
488
      <label for="address">
484
      <label for="address">
489
      [% END %]
485
      [% END %]
490
      Address: </label>
486
      Address: </label>
491
            <input type="text" id="address" name="address" size="35" value="[% address %]" class="[% focusAction %]" />
487
            <input type="text" id="address" name="address" size="35" value="[% address %]" />
492
	  [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
488
	  [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
493
    </li>
489
    </li>
494
        [% END %]
490
        [% END %]
Lines 500-506 Link Here
500
      <label for="address2">
496
      <label for="address2">
501
      [% END %]
497
      [% END %]
502
      Address 2: </label>
498
      Address 2: </label>
503
            <input type="text" id="address2" name="address2" size="35" value="[% address2 %]" class="[% focusAction %]" />
499
            <input type="text" id="address2" name="address2" size="35" value="[% address2 %]" />
504
	  [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
500
	  [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
505
    </li>  
501
    </li>  
506
        [% END %]
502
        [% END %]
Lines 512-518 Link Here
512
        <label for="city">
508
        <label for="city">
513
      [% END %]
509
      [% END %]
514
      City: </label>
510
      City: </label>
515
        <input type="text" id="city" name="city" size="20" value="[% city %]" class="[% focusAction %]" />
511
        <input type="text" id="city" name="city" size="20" value="[% city %]" />
516
        [% IF ( city_cgipopup ) %]or <strong>choose</strong>
512
        [% IF ( city_cgipopup ) %]or <strong>choose</strong>
517
        <select id="select_city" name="select_city">
513
        <select id="select_city" name="select_city">
518
        [% FOREACH city_loo IN city_loop %]
514
        [% FOREACH city_loo IN city_loop %]
Lines 537-543 Link Here
537
        <label for="state">
533
        <label for="state">
538
      [% END %]
534
      [% END %]
539
      State: </label>
535
      State: </label>
540
      <input type="text" name="state" id="state" size="20" value="[% state %]" class="[% focusAction %]" />
536
      <input type="text" name="state" id="state" size="20" value="[% state %]" />
541
	  [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
537
	  [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
542
    </li>
538
    </li>
543
        [% END %]
539
        [% END %]
Lines 549-555 Link Here
549
        <label for="zipcode">
545
        <label for="zipcode">
550
      [% END %]
546
      [% END %]
551
      Zip/Postal code: </label>
547
      Zip/Postal code: </label>
552
            <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" class="[% focusAction %]" />
548
            <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" />
553
	  [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
549
	  [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
554
    </li>
550
    </li>
555
        [% END %]
551
        [% END %]
Lines 561-567 Link Here
561
        <label for="country">
557
        <label for="country">
562
      [% END %]
558
      [% END %]
563
      Country: </label>
559
      Country: </label>
564
        <input type="text" name="country" id="country" size="20" value="[% country %]" class="[% focusAction %]" />
560
        <input type="text" name="country" id="country" size="20" value="[% country %]" />
565
	  [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
561
	  [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
566
    </li>    
562
    </li>    
567
        [% END %]
563
        [% END %]
Lines 580-586 Link Here
580
      <label for="phone">
576
      <label for="phone">
581
      [% END %]
577
      [% END %]
582
      Primary phone: </label>
578
      Primary phone: </label>
583
        <input type="text" id="phone" name="phone" value="[% phone %]" class="[% focusAction %]" />
579
        <input type="text" id="phone" name="phone" value="[% phone %]" />
584
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
580
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
585
581
586
    </li>
582
    </li>
Lines 593-599 Link Here
593
      <label for="phonepro">
589
      <label for="phonepro">
594
      [% END %]
590
      [% END %]
595
      Secondary phone: </label>
591
      Secondary phone: </label>
596
    <input type="text" id="phonepro" name="phonepro" value="[% phonepro %]" class="[% focusAction %]" />
592
    <input type="text" id="phonepro" name="phonepro" value="[% phonepro %]" />
597
	  [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
593
	  [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
598
    </li>
594
    </li>
599
        [% END %]
595
        [% END %]
Lines 605-611 Link Here
605
      <label for="mobile">
601
      <label for="mobile">
606
      [% END %]
602
      [% END %]
607
      Mobile phone: </label>
603
      Mobile phone: </label>
608
        <input type="text" id="mobile" name="mobile" value="[% mobile %]" class="[% focusAction %]" />
604
        <input type="text" id="mobile" name="mobile" value="[% mobile %]" />
609
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
605
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
610
    </li>
606
    </li>
611
        [% END %]
607
        [% END %]
Lines 617-623 Link Here
617
      <label for="email">
613
      <label for="email">
618
      [% END %]
614
      [% END %]
619
      Primary email: </label>
615
      Primary email: </label>
620
        <input type="text" id="email" name="email" size="45" value="[% email %]" class="[% focusAction %]" />
616
        <input type="text" id="email" name="email" size="45" value="[% email %]" />
621
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
617
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
622
618
623
    </li>
619
    </li>
Lines 630-636 Link Here
630
      <label for="emailpro">
626
      <label for="emailpro">
631
      [% END %]
627
      [% END %]
632
      Secondary email: </label>
628
      Secondary email: </label>
633
        <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]" class="[% focusAction %]" />
629
        <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]" />
634
	  [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
630
	  [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
635
    </li>
631
    </li>
636
        [% END %]
632
        [% END %]
Lines 642-648 Link Here
642
      <label for="fax">
638
      <label for="fax">
643
      [% END %]
639
      [% END %]
644
      Fax: </label>
640
      Fax: </label>
645
        <input type="text" id="fax" name="fax" value="[% fax %]" class="[% focusAction %]" />
641
        <input type="text" id="fax" name="fax" value="[% fax %]" />
646
	  [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
642
	  [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
647
    </li>
643
    </li>
648
        [% END %]
644
        [% END %]
Lines 665-671 Link Here
665
					<label for="B_address">
661
					<label for="B_address">
666
				[% END %]
662
				[% END %]
667
				Address: </label>
663
				Address: </label>
668
                    <input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" class="[% focusAction %]" />
664
                    <input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" />
669
	  [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
665
	  [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
670
			</li>
666
			</li>
671
        [% END %]
667
        [% END %]
Lines 677-683 Link Here
677
					<label for="B_address2">
673
					<label for="B_address2">
678
				[% END %]
674
				[% END %]
679
				Address 2: </label>
675
				Address 2: </label>
680
                    <input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]" class="[% focusAction %]" />
676
                    <input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]" />
681
	  [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
677
	  [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
682
			</li>
678
			</li>
683
        [% END %]
679
        [% END %]
Lines 689-695 Link Here
689
					<label for="B_city">
685
					<label for="B_city">
690
				[% END %]
686
				[% END %]
691
				City: </label>
687
				City: </label>
692
                <input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" class="[% focusAction %]" />
688
                <input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" />
693
	  [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
689
	  [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
694
			</li>
690
			</li>
695
        [% END %]
691
        [% END %]
Lines 701-707 Link Here
701
					<label for="B_state">
697
					<label for="B_state">
702
				[% END %]
698
				[% END %]
703
				State: </label>
699
				State: </label>
704
                <input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" class="[% focusAction %]" />
700
                <input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" />
705
	  [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
701
	  [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
706
			</li>
702
			</li>
707
        [% END %]
703
        [% END %]
Lines 713-719 Link Here
713
					<label for="B_zipcode">
709
					<label for="B_zipcode">
714
				[% END %]
710
				[% END %]
715
				Zip/Postal code: </label>
711
				Zip/Postal code: </label>
716
                    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]" class="[% focusAction %]" />
712
                    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]" />
717
	  [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
713
	  [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
718
			</li>
714
			</li>
719
        [% END %]
715
        [% END %]
Lines 725-731 Link Here
725
					<label for="B_country">
721
					<label for="B_country">
726
				[% END %]
722
				[% END %]
727
				Country: </label>
723
				Country: </label>
728
                    <input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]" class="[% focusAction %]" />
724
                    <input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]" />
729
	  [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
725
	  [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
730
			</li>
726
			</li>
731
        [% END %]
727
        [% END %]
Lines 737-743 Link Here
737
                <label for="B_phone">
733
                <label for="B_phone">
738
                [% END %]
734
                [% END %]
739
                Phone: </label>
735
                Phone: </label>
740
                    <input type="text" id="B_phone" name="B_phone" value="[% B_phone %]" class="[% focusAction %]" />
736
                    <input type="text" id="B_phone" name="B_phone" value="[% B_phone %]" />
741
                [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
737
                [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
742
            </li>
738
            </li>
743
        [% END %]
739
        [% END %]
Lines 749-755 Link Here
749
          <label for="B_email">
745
          <label for="B_email">
750
        [% END %]
746
        [% END %]
751
        Email: </label>
747
        Email: </label>
752
            <input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]" class="[% focusAction %]" />
748
            <input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]" />
753
		[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
749
		[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
754
        [% END %]
750
        [% END %]
755
        [% UNLESS nocontactnote %]
751
        [% UNLESS nocontactnote %]
Lines 780-786 Link Here
780
				<label for="altcontactsurname">
776
				<label for="altcontactsurname">
781
				[% END %]
777
				[% END %]
782
				Surname:</label>
778
				Surname:</label>
783
                    <input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]" class="[% focusAction %]" />
779
                    <input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]" />
784
				[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
780
				[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
785
			</li>
781
			</li>
786
        [% END %]
782
        [% END %]
Lines 792-798 Link Here
792
				<label for="altcontactfirstname">
788
				<label for="altcontactfirstname">
793
				[% END %]
789
				[% END %]
794
				First name:</label>
790
				First name:</label>
795
                    <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]" class="[% focusAction %]" />
791
                    <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]" />
796
				[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
792
				[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
797
			</li>
793
			</li>
798
        [% END %]
794
        [% END %]
Lines 804-810 Link Here
804
				<label for="altcontactaddress1">
800
				<label for="altcontactaddress1">
805
				[% END %]
801
				[% END %]
806
				Address:</label>
802
				Address:</label>
807
                    <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" size="40" class="[% focusAction %]" />
803
                    <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" size="40" />
808
				[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
804
				[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
809
			</li>
805
			</li>
810
        [% END %]
806
        [% END %]
Lines 816-822 Link Here
816
				<label for="altcontactaddress2">
812
				<label for="altcontactaddress2">
817
				[% END %]
813
				[% END %]
818
				Address 2:</label>
814
				Address 2:</label>
819
                <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]" size="40" class="[% focusAction %]" />
815
                <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]" size="40" />
820
				[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
816
				[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
821
			</li>
817
			</li>
822
        [% END %]
818
        [% END %]
Lines 828-834 Link Here
828
				<label for="altcontactaddress3">
824
				<label for="altcontactaddress3">
829
				[% END %]
825
				[% END %]
830
				City:</label>
826
				City:</label>
831
                <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" class="[% focusAction %]" />
827
                <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" />
832
				[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
828
				[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
833
			</li>
829
			</li>
834
        [% END %]
830
        [% END %]
Lines 840-846 Link Here
840
				<label for="altcontactstate">
836
				<label for="altcontactstate">
841
				[% END %]
837
				[% END %]
842
				State:</label>
838
				State:</label>
843
                <input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" class="[% focusAction %]" />
839
                <input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" />
844
				[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
840
				[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
845
			</li>
841
			</li>
846
        [% END %]
842
        [% END %]
Lines 852-858 Link Here
852
				<label for="altcontactzipcode">
848
				<label for="altcontactzipcode">
853
				[% END %]
849
				[% END %]
854
				Zip/Postal code:</label>
850
				Zip/Postal code:</label>
855
                    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5" class="[% focusAction %]" />
851
                    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5" />
856
				[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
852
				[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
857
			</li>
853
			</li>
858
        [% END %]
854
        [% END %]
Lines 864-870 Link Here
864
				<label for="altcontactcountry">
860
				<label for="altcontactcountry">
865
				[% END %]
861
				[% END %]
866
				Country:</label>
862
				Country:</label>
867
                    <input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]" size="20" class="[% focusAction %]" />
863
                    <input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]" size="20" />
868
				[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
864
				[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
869
			</li>			
865
			</li>			
870
        [% END %]
866
        [% END %]
Lines 876-882 Link Here
876
				<label for="altcontactphone">
872
				<label for="altcontactphone">
877
				[% END %]
873
				[% END %]
878
				Phone:</label>
874
				Phone:</label>
879
                    <input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]" class="[% focusAction %]" />
875
                    <input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]" />
880
				[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
876
				[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
881
			</li>
877
			</li>
882
        [% END %]
878
        [% END %]
Lines 958-964 Link Here
958
        <label for="sort1">
954
        <label for="sort1">
959
      [% END %]
955
      [% END %]
960
      Sort 1: </label>
956
      Sort 1: </label>
961
      [% PROCESS 'av-build-dropbox.inc' name="sort1", category="Bsort1", default=sort1, class=focusAction, size = 20 %]
957
      [% PROCESS 'av-build-dropbox.inc' name="sort1", category="Bsort1", default=sort1, size = 20 %]
962
      [% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %]
958
      [% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %]
963
    </li>
959
    </li>
964
        [% END %]
960
        [% END %]
Lines 970-976 Link Here
970
    <label for="sort2">
966
    <label for="sort2">
971
    [% END %]
967
    [% END %]
972
    Sort 2: </label>
968
    Sort 2: </label>
973
    [% PROCESS 'av-build-dropbox.inc' name="sort2", category="Bsort2", default=sort2, class=focusAction, size = 20 %]
969
    [% PROCESS 'av-build-dropbox.inc' name="sort2", category="Bsort2", default=sort2, size = 20 %]
974
    [% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %]
970
    [% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %]
975
    </li>
971
    </li>
976
        [% END %]
972
        [% END %]
Lines 1377-1383 Link Here
1377
    [% INCLUDE 'messaging-preference-form.inc' %]
1373
    [% INCLUDE 'messaging-preference-form.inc' %]
1378
    [% IF ( SMSSendDriver ) %]
1374
    [% IF ( SMSSendDriver ) %]
1379
        <p><label for="SMSnumber">SMS number:</label>
1375
        <p><label for="SMSnumber">SMS number:</label>
1380
            <input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber %]" class="[% focusAction %]" />
1376
            <input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber %]" />
1381
        </p>
1377
        </p>
1382
    [% END %]
1378
    [% END %]
1383
  </fieldset>
1379
  </fieldset>
1384
- 

Return to bug 9177