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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-23 / +29 lines)
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="[% initials %]" class="[% focusAction %]" />
319
                <input type="text" id="initials" name="initials" size="20"  value="[% IF ( opduplicate ) %][% ELSE %][% 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="[% othernames %]" class="[% focusAction %]" />
332
            <input type="text" id="othernames" name="othernames" size="20"  value="[% IF ( opduplicate ) %][% ELSE %][% 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 337-358 Link Here
337
    [% UNLESS ( I ) %]
337
    [% UNLESS ( I ) %]
338
        [% UNLESS nosex %]
338
        [% UNLESS nosex %]
339
		<li class="radio">
339
		<li class="radio">
340
		
340
341
		[% IF ( female ) %]
341
            [% UNLESS ( opduplicate ) %]
342
				<label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" checked="checked"  />
342
                [% IF ( female ) %]
343
[% ELSE %]
343
                    <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" checked="checked"  />
344
				<label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" />
344
                [% ELSE %]
345
[% END %]
345
                    <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" />
346
		[% IF ( male ) %]
346
                [% END %]
347
		<label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" checked="checked" />
347
                [% IF ( male ) %]
348
[% ELSE %]
348
                    <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" checked="checked" />
349
				<label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" />
349
                [% ELSE %]
350
[% END %]
350
                    <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" />
351
[% IF ( none ) %]
351
                [% END %]
352
				<label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value=""  checked="checked"  />
352
                [% IF ( none ) %]
353
[% ELSE %]
353
                    <label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value=""  checked="checked"  />
354
				<label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" />
354
                [% ELSE %]
355
[% END %]
355
                    <label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" />
356
                [% END %]
357
            [% ELSE %]
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" />
360
                <label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" />
361
            [% END %]
362
356
       	</li>
363
       	</li>
357
        [% END %]
364
        [% END %]
358
    [% END %]
365
    [% END %]
Lines 1009-1021 Link Here
1009
			Expiry date (leave blank for auto calc) </label>
1016
			Expiry date (leave blank for auto calc) </label>
1010
            [% IF ( dateformat == "metric" ) %]
1017
            [% IF ( dateformat == "metric" ) %]
1011
				[% UNLESS ( opadd ) %]
1018
				[% UNLESS ( opadd ) %]
1012
                    <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" value="[% dateexpiry %]" class="datepickerto" />
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" />
1013
				[% ELSE %]
1020
				[% ELSE %]
1014
                    <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" />
1015
				[% END %]
1022
				[% END %]
1016
			[% ELSE %]
1023
			[% ELSE %]
1017
				[% UNLESS ( opadd ) %]
1024
				[% UNLESS ( opadd ) %]
1018
                <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" value="[% dateexpiry %]" class="datepickerto" />
1025
                <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" value="[% IF ( opduplicate ) %][% ELSE %][% dateexpiry %][% END %]" class="datepickerto" />
1019
				[% ELSE %]
1026
				[% ELSE %]
1020
                <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" />
1021
				[% END %]
1028
				[% END %]
Lines 1032-1038 Link Here
1032
				<label for="opacnote">
1039
				<label for="opacnote">
1033
			[% END %]	
1040
			[% END %]	
1034
			OPAC note: </label>
1041
			OPAC note: </label>
1035
			<textarea id="opacnote" name="opacnote" cols="55" rows="5">[% opacnote %]</textarea>
1042
            <textarea id="opacnote" name="opacnote" cols="55" rows="5">[% IF ( opduplicate ) %][% ELSE %][% opacnote %][% END %]</textarea>
1036
			<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>
1037
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
1044
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
1038
		</li>
1045
		</li>
Lines 1045-1051 Link Here
1045
				<label for="borrowernotes">
1052
				<label for="borrowernotes">
1046
			[% END %]
1053
			[% END %]
1047
			Circulation note: </label>
1054
			Circulation note: </label>
1048
			<textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[% borrowernotes %]</textarea>
1055
            <textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[% IF ( opduplicate ) %][% ELSE %][% borrowernotes %][% END %]</textarea>
1049
			<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>
1050
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
1057
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
1051
		</li>
1058
		</li>
1052
- 

Return to bug 7878