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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-13 / +12 lines)
Lines 222-229 Link Here
222
<input type="hidden" name="updtype" value="[% updtype %]" />
222
<input type="hidden" name="updtype" value="[% updtype %]" />
223
<input type="hidden" name="destination" value="[% destination %]" />
223
<input type="hidden" name="destination" value="[% destination %]" />
224
<input type="hidden" name="check_member" value="[% check_member %]" />
224
<input type="hidden" name="check_member" value="[% check_member %]" />
225
<input type="hidden" name="borrowernumber" value="[% IF ( opduplicate ) %][% ELSE %][% borrowernumber %][% END %]" />
225
<input type="hidden" name="borrowernumber" value="[% UNLESS opduplicate %][% borrowernumber %][% END %]" />
226
<input type="hidden" name="nodouble"  value="[% IF ( opduplicate ) %][% ELSE %][% nodouble %][% END %]" />
226
<input type="hidden" name="nodouble"  value="[% UNLESS opduplicate %][% nodouble %][% END %]" />
227
[% IF ( step ) %]<input type="hidden" name="step"  value="[% step %]" />[% END %]
227
[% IF ( step ) %]<input type="hidden" name="step"  value="[% step %]" />[% END %]
228
[% IF ( opadd ) %]<input type="hidden" name="op" value="insert" />
228
[% IF ( opadd ) %]<input type="hidden" name="op" value="insert" />
229
[% ELSIF ( opduplicate ) %]
229
[% ELSIF ( opduplicate ) %]
Lines 284-290 Link Here
284
                <label for="firstname">
284
                <label for="firstname">
285
                [% END %]
285
                [% END %]
286
                First name: </label>
286
                First name: </label>
287
                <input type="text" id="firstname" name="firstname" size="20"  value="[% IF ( opduplicate ) %][% ELSE %][% firstname %][% END %]" />
287
                <input type="text" id="firstname" name="firstname" size="20"  value="[% UNLESS opduplicate %][% firstname %][% END %]" />
288
                [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
288
                [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
289
            </li>
289
            </li>
290
        [% END %]
290
        [% END %]
Lines 298-306 Link Here
298
                Date of birth: </label>
298
                Date of birth: </label>
299
299
300
        [% IF ( dateformat == "metric" ) %]
300
        [% IF ( dateformat == "metric" ) %]
301
                <input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="CheckDate(document.form.dateofbirth);" value="[% IF ( opduplicate ) %][% ELSE %][% dateofbirth %][% END %]" />
301
                <input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="CheckDate(document.form.dateofbirth);" value="[% UNLESS opduplicate %][% dateofbirth %][% END %]" />
302
        [% ELSE %]
302
        [% ELSE %]
303
                <input type="text" id="dateofbirth" name="dateofbirth" size="20" value="[% IF ( opduplicate ) %][% ELSE %][% dateofbirth %][% END %]" />
303
                <input type="text" id="dateofbirth" name="dateofbirth" size="20" value="[% UNLESS opduplicate %][% dateofbirth %][% END %]" />
304
        [% END %]
304
        [% END %]
305
305
306
        [% IF ( mandatorydateofbirth ) %]<span class="required">Required</span>[% END %]
306
        [% IF ( mandatorydateofbirth ) %]<span class="required">Required</span>[% END %]
Lines 316-322 Link Here
316
                    <label for="initials">
316
                    <label for="initials">
317
                [% END %]
317
                [% END %]
318
                Initials: </label>
318
                Initials: </label>
319
                <input type="text" id="initials" name="initials" size="20"  value="[% IF ( opduplicate ) %][% ELSE %][% initials %][% END %]" class="[% focusAction %]" />
319
                <input type="text" id="initials" name="initials" size="20"  value="[% UNLESS opduplicate %][% initials %][% END %]" class="[% focusAction %]" />
320
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
320
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
321
            </li>
321
            </li>
322
        [% END %]
322
        [% END %]
Lines 329-335 Link Here
329
			<label for="othernames">
329
			<label for="othernames">
330
			[% END %]
330
			[% END %]
331
            Other name: </label>
331
            Other name: </label>
332
            <input type="text" id="othernames" name="othernames" size="20"  value="[% IF ( opduplicate ) %][% ELSE %][% othernames %][% END %]" class="[% focusAction %]" />
332
            <input type="text" id="othernames" name="othernames" size="20"  value="[% UNLESS opduplicate %][% othernames %][% END %]" class="[% focusAction %]" />
333
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
333
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
334
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
334
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
335
		</li>
335
		</li>
Lines 357-363 Link Here
357
            [% ELSE %]
357
            [% ELSE %]
358
                <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" />
358
                <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" />
359
                <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" />
359
                <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" />
360
                <label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" />
360
                <label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" checked="checked" />
361
            [% END %]
361
            [% END %]
362
362
363
       	</li>
363
       	</li>
Lines 1016-1028 Link Here
1016
			Expiry date (leave blank for auto calc) </label>
1016
			Expiry date (leave blank for auto calc) </label>
1017
            [% IF ( dateformat == "metric" ) %]
1017
            [% IF ( dateformat == "metric" ) %]
1018
				[% UNLESS ( opadd ) %]
1018
				[% UNLESS ( opadd ) %]
1019
                    <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" value="[% IF ( opduplicate ) %][% ELSE %][% dateexpiry %][% END %]" class="datepickerto" />
1019
                    <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" value="[% UNLESS opduplicate %][% dateexpiry %][% END %]" class="datepickerto" />
1020
				[% ELSE %]
1020
				[% ELSE %]
1021
                    <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" class="datepickerto" />
1021
                    <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" class="datepickerto" />
1022
				[% END %]
1022
				[% END %]
1023
			[% ELSE %]
1023
			[% ELSE %]
1024
				[% UNLESS ( opadd ) %]
1024
				[% UNLESS ( opadd ) %]
1025
                <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" value="[% IF ( opduplicate ) %][% ELSE %][% dateexpiry %][% END %]" class="datepickerto" />
1025
                <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" value="[% UNLESS opduplicate %][% dateexpiry %][% END %]" class="datepickerto" />
1026
				[% ELSE %]
1026
				[% ELSE %]
1027
                <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" class="datepickerto" />
1027
                <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" class="datepickerto" />
1028
				[% END %]
1028
				[% END %]
Lines 1039-1045 Link Here
1039
				<label for="opacnote">
1039
				<label for="opacnote">
1040
			[% END %]	
1040
			[% END %]	
1041
			OPAC note: </label>
1041
			OPAC note: </label>
1042
            <textarea id="opacnote" name="opacnote" cols="55" rows="5">[% IF ( opduplicate ) %][% ELSE %][% opacnote %][% END %]</textarea>
1042
            <textarea id="opacnote" name="opacnote" cols="55" rows="5">[% UNLESS opduplicate %][% opacnote %][% END %]</textarea>
1043
			<div class="hint">This message appears on this patron's user page in the OPAC</div>
1043
			<div class="hint">This message appears on this patron's user page in the OPAC</div>
1044
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
1044
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
1045
		</li>
1045
		</li>
Lines 1052-1058 Link Here
1052
				<label for="borrowernotes">
1052
				<label for="borrowernotes">
1053
			[% END %]
1053
			[% END %]
1054
			Circulation note: </label>
1054
			Circulation note: </label>
1055
            <textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[% IF ( opduplicate ) %][% ELSE %][% borrowernotes %][% END %]</textarea>
1055
            <textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[% UNLESS opduplicate %][% borrowernotes %][% END %]</textarea>
1056
			<div class="hint">This message displays when checking out to this patron</div>
1056
			<div class="hint">This message displays when checking out to this patron</div>
1057
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
1057
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
1058
		</li>
1058
		</li>
1059
- 

Return to bug 7878