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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-4 / +9 lines)
Lines 250-256 Link Here
250
		[% ELSE %]
250
		[% ELSE %]
251
		<label for="surname">
251
		<label for="surname">
252
		[% END %]
252
		[% END %]
253
		Surname: </label>
253
               [% IF ( I ) %] Name: [% ELSE %] Surname: [% END %]</label>
254
		[% IF ( uppercasesurnames ) %]
254
		[% IF ( uppercasesurnames ) %]
255
			[% IF ( opduplicate ) %]
255
			[% IF ( opduplicate ) %]
256
				<input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20"  value="[% surname %]" onclick="this.value=''" />
256
				<input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20"  value="[% surname %]" onclick="this.value=''" />
Lines 607-612 Link Here
607
607
608
[% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %]
608
[% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %]
609
  <fieldset class="rows" id="memberentry_contact">
609
  <fieldset class="rows" id="memberentry_contact">
610
    [% UNLESS ( I ) %]
610
    <legend id="contact_lgd">Contact</legend><ol>
611
    <legend id="contact_lgd">Contact</legend><ol>
611
        [% UNLESS nophone %]
612
        [% UNLESS nophone %]
612
      <li>
613
      <li>
Lines 624-629 Link Here
624
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
625
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
625
626
626
    </li>
627
    </li>
628
    [% END %]
627
        [% END %]
629
        [% END %]
628
        [% UNLESS nophonepro %]
630
        [% UNLESS nophonepro %]
629
    <li>
631
    <li>
Lines 632-638 Link Here
632
      [% ELSE %]
634
      [% ELSE %]
633
      <label for="phonepro">
635
      <label for="phonepro">
634
      [% END %]
636
      [% END %]
635
      Secondary Phone: </label>
637
      [% IF ( I ) %]Phone: [% ELSE %]Secondary Phone:[% END %] </label>
636
      [% IF ( opduplicate ) %]
638
      [% IF ( opduplicate ) %]
637
			<input type="text" id="phonepro" name="phonepro" value="[% phonepro %]" onclick="this.value=''" />
639
			<input type="text" id="phonepro" name="phonepro" value="[% phonepro %]" onclick="this.value=''" />
638
      [% ELSE %]
640
      [% ELSE %]
Lines 642-647 Link Here
642
    </li>
644
    </li>
643
        [% END %]
645
        [% END %]
644
        [% UNLESS nomobile %]
646
        [% UNLESS nomobile %]
647
    [% UNLESS ( I ) %]
645
    <li>
648
    <li>
646
      [% IF ( mandatorymobile ) %]
649
      [% IF ( mandatorymobile ) %]
647
      <label for="mobile" class="required">
650
      <label for="mobile" class="required">
Lines 657-662 Link Here
657
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
660
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
658
    </li>
661
    </li>
659
        [% END %]
662
        [% END %]
663
    [% END %]
664
    [% UNLESS ( I ) %]
660
        [% UNLESS noemail %]
665
        [% UNLESS noemail %]
661
    <li>
666
    <li>
662
      [% IF ( mandatoryemail ) %]
667
      [% IF ( mandatoryemail ) %]
Lines 671-679 Link Here
671
		<input type="text" id="email" name="email" size="45" value="[% email %]" />
676
		<input type="text" id="email" name="email" size="45" value="[% email %]" />
672
      [% END %]
677
      [% END %]
673
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
678
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
674
675
    </li>
679
    </li>
676
        [% END %]
680
        [% END %]
681
    [% END %]
677
        [% UNLESS noemailpro %]
682
        [% UNLESS noemailpro %]
678
    <li>
683
    <li>
679
      [% IF ( mandatoryemailpro ) %] 
684
      [% IF ( mandatoryemailpro ) %] 
Lines 681-687 Link Here
681
      [% ELSE %]
686
      [% ELSE %]
682
      <label for="emailpro">
687
      <label for="emailpro">
683
      [% END %]
688
      [% END %]
684
      Secondary Email: </label>
689
      [% IF ( I ) %]Email: [% ELSE %]Secondary Email:[% END %] </label>
685
      [% IF ( opduplicate ) %]
690
      [% IF ( opduplicate ) %]
686
		<input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]" onclick="this.value=''" />
691
		<input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]" onclick="this.value=''" />
687
      [% ELSE %]
692
      [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-1 / +2 lines)
Lines 182-188 function validate1(date) { Link Here
182
 <div class="yui-u first">
182
 <div class="yui-u first">
183
<div id="patron-information" style="padding : .5em;">
183
<div id="patron-information" style="padding : .5em;">
184
184
185
     [% UNLESS ( I ) %][% IF ( othernames ) %]&ldquo;[% othernames %]&rdquo;[% END %]
185
     [% UNLESS ( I ) %][% IF ( othernames ) %]&ldquo;[% othernames %]&rdquo;[% END %][% END %]
186
186
187
<p class="address">[% streetnumber %]
187
<p class="address">[% streetnumber %]
188
        [% IF ( roaddetails ) %]
188
        [% IF ( roaddetails ) %]
Lines 215-220 function validate1(date) { Link Here
215
        [% IF ( email ) %]<li><span class="label">Primary email:</span><a href="mailto:[% email %]">[% email %]</a></li>[% END %]
215
        [% IF ( email ) %]<li><span class="label">Primary email:</span><a href="mailto:[% email %]">[% email %]</a></li>[% END %]
216
        [% IF ( emailpro ) %]<li><span class="label">Secondary email: </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %]
216
        [% IF ( emailpro ) %]<li><span class="label">Secondary email: </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %]
217
    [% END %]
217
    [% END %]
218
    [% UNLESS ( I ) %]
218
    [% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %]
219
    [% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %]
219
    [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth %]</li>[% END %]
220
    [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth %]</li>[% END %]
220
    [% IF ( sex ) %]<li><span class="label">Gender:</span>
221
    [% IF ( sex ) %]<li><span class="label">Gender:</span>
(-)a/members/moremember.pl (-1 / +3 lines)
Lines 134-139 my $category_type = $data->{'category_type'}; Link Here
134
134
135
### $category_type
135
### $category_type
136
136
137
# in template <TMPL_IF name="I"> => instutitional (A for Adult& C for children) 
138
$template->param( $data->{'category_type'} => 1 );
139
137
$debug and printf STDERR "dates (enrolled,expiry,birthdate) raw: (%s, %s, %s)\n", map {$data->{$_}} qw(dateenrolled dateexpiry dateofbirth);
140
$debug and printf STDERR "dates (enrolled,expiry,birthdate) raw: (%s, %s, %s)\n", map {$data->{$_}} qw(dateenrolled dateexpiry dateofbirth);
138
foreach (qw(dateenrolled dateexpiry dateofbirth)) {
141
foreach (qw(dateenrolled dateexpiry dateofbirth)) {
139
		my $userdate = $data->{$_};
142
		my $userdate = $data->{$_};
140
- 

Return to bug 6698