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 201-207 Link Here
201
		[% ELSE %]
201
		[% ELSE %]
202
		<label for="surname">
202
		<label for="surname">
203
		[% END %]
203
		[% END %]
204
		Surname: </label>
204
		[% IF ( I ) %] Name: [% ELSE %] Surname: [% END %]</label>
205
		[% IF ( uppercasesurnames ) %]
205
		[% IF ( uppercasesurnames ) %]
206
		<input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20"  value="[% surname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
206
		<input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20"  value="[% surname %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
207
		[% ELSE %]
207
		[% ELSE %]
Lines 474-479 Link Here
474
    </fieldset>
474
    </fieldset>
475
  <fieldset class="rows" id="memberentry_contact">
475
  <fieldset class="rows" id="memberentry_contact">
476
    <legend>Contact</legend><ol>
476
    <legend>Contact</legend><ol>
477
    [% UNLESS ( I ) %]
477
      <li>
478
      <li>
478
      [% IF ( mandatoryphone ) %] 
479
      [% IF ( mandatoryphone ) %] 
479
      <label for="phone" class="required">
480
      <label for="phone" class="required">
Lines 485-500 Link Here
485
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
486
	  [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
486
487
487
    </li>
488
    </li>
489
    [% END %]
488
    <li>
490
    <li>
489
      [% IF ( mandatoryphonepro ) %]
491
      [% IF ( mandatoryphonepro ) %]
490
      <label for="phonepro" class="required">
492
      <label for="phonepro" class="required">
491
      [% ELSE %]
493
      [% ELSE %]
492
      <label for="phonepro">
494
      <label for="phonepro">
493
      [% END %]
495
      [% END %]
494
      Secondary Phone: </label>
496
      [% IF ( I ) %]Phone: [% ELSE %]Secondary Phone:[% END %] </label>
495
      <input type="text" id="phonepro" name="phonepro" value="[% phonepro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
497
      <input type="text" id="phonepro" name="phonepro" value="[% phonepro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
496
	  [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
498
	  [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
497
    </li>
499
    </li>
500
    [% UNLESS ( I ) %]
498
    <li>
501
    <li>
499
      [% IF ( mandatorymobile ) %]
502
      [% IF ( mandatorymobile ) %]
500
      <label for="mobile" class="required">
503
      <label for="mobile" class="required">
Lines 505-510 Link Here
505
      <input type="text" id="mobile" name="mobile" value="[% mobile %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
508
      <input type="text" id="mobile" name="mobile" value="[% mobile %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
506
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
509
	  [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
507
    </li>
510
    </li>
511
    [% END %]
512
    [% UNLESS ( I ) %]
508
    <li>
513
    <li>
509
      [% IF ( mandatoryemail ) %]
514
      [% IF ( mandatoryemail ) %]
510
      <label for="email" class="required">
515
      <label for="email" class="required">
Lines 514-528 Link Here
514
      Primary Email: </label>
519
      Primary Email: </label>
515
      <input type="text" id="email" name="email" size="45" value="[% email %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />  
520
      <input type="text" id="email" name="email" size="45" value="[% email %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />  
516
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
521
	  [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
517
518
    </li>
522
    </li>
523
    [% END %]
519
    <li>
524
    <li>
520
      [% IF ( mandatoryemailpro ) %] 
525
      [% IF ( mandatoryemailpro ) %] 
521
      <label for="emailpro" class="required">
526
      <label for="emailpro" class="required">
522
      [% ELSE %]
527
      [% ELSE %]
523
      <label for="emailpro">
528
      <label for="emailpro">
524
      [% END %]
529
      [% END %]
525
      Secondary Email: </label>
530
      [% IF ( I ) %]Email: [% ELSE %]Secondary Email:[% END %] </label>
526
      <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
531
      <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro %]"[% IF ( opduplicate ) %] onclick="this.value=''"[% END %] />
527
	  [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
532
	  [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
528
    </li>
533
    </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-1 / +2 lines)
Lines 177-183 function validate1(date) { Link Here
177
 <div class="yui-u first">
177
 <div class="yui-u first">
178
<div id="patron-information" style="padding : .5em;">
178
<div id="patron-information" style="padding : .5em;">
179
179
180
     [% UNLESS ( I ) %][% IF ( othernames ) %]&ldquo;[% othernames %]&rdquo;[% END %]
180
     [% UNLESS ( I ) %][% IF ( othernames ) %]&ldquo;[% othernames %]&rdquo;[% END %][% END %]
181
181
182
<p class="address">[% streetnumber %]
182
<p class="address">[% streetnumber %]
183
        [% IF ( roaddetails ) %]
183
        [% IF ( roaddetails ) %]
Lines 210-215 function validate1(date) { Link Here
210
        [% IF ( email ) %]<li><span class="label">Primary email:</span><a href="mailto:[% email %]">[% email %]</a></li>[% END %]
210
        [% IF ( email ) %]<li><span class="label">Primary email:</span><a href="mailto:[% email %]">[% email %]</a></li>[% END %]
211
        [% IF ( emailpro ) %]<li><span class="label">Secondary email: </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %]
211
        [% IF ( emailpro ) %]<li><span class="label">Secondary email: </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %]
212
    [% END %]
212
    [% END %]
213
    [% UNLESS ( I ) %]
213
    <li><span class="label">Initials: </span>[% initials %]</li>
214
    <li><span class="label">Initials: </span>[% initials %]</li>
214
    <li><span class="label">Date of birth:</span>[% dateofbirth %]</li>
215
    <li><span class="label">Date of birth:</span>[% dateofbirth %]</li>
215
    <li><span class="label">Gender:</span>
216
    <li><span class="label">Gender:</span>
(-)a/members/moremember.pl (-2 / +1 lines)
Lines 132-138 my $category_type = $data->{'category_type'}; Link Here
132
### $category_type
132
### $category_type
133
133
134
# in template <TMPL_IF name="I"> => instutitional (A for Adult& C for children) 
134
# in template <TMPL_IF name="I"> => instutitional (A for Adult& C for children) 
135
$template->param( $data->{'categorycode'} => 1 ); 
135
$template->param( $data->{'category_type'} => 1 ); 
136
136
137
$debug and printf STDERR "dates (enrolled,expiry,birthdate) raw: (%s, %s, %s)\n", map {$data->{$_}} qw(dateenrolled dateexpiry dateofbirth);
137
$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)) {
138
foreach (qw(dateenrolled dateexpiry dateofbirth)) {
139
- 

Return to bug 6698