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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-11 / +10 lines)
Lines 230-237 $(document).ready(function() { Link Here
230
<input type="hidden" name="updtype" value="[% updtype %]" />
230
<input type="hidden" name="updtype" value="[% updtype %]" />
231
<input type="hidden" name="destination" value="[% destination %]" />
231
<input type="hidden" name="destination" value="[% destination %]" />
232
<input type="hidden" name="check_member" value="[% check_member %]" />
232
<input type="hidden" name="check_member" value="[% check_member %]" />
233
<input type="hidden" name="borrowernumber" value="[% UNLESS opduplicate %][% borrowernumber %][% END %]" />
233
<input type="hidden" name="borrowernumber" value="[% borrowernumber UNLESS opduplicate %]" />
234
<input type="hidden" name="nodouble"  value="[% UNLESS opduplicate %][% nodouble %][% END %]" />
234
<input type="hidden" name="nodouble"  value="[% nodouble UNLESS opduplicate %]" />
235
<input type="hidden" name="csrf_token" value="[% csrf_token %]" />
235
<input type="hidden" name="csrf_token" value="[% csrf_token %]" />
236
[% IF ( step ) %]<input type="hidden" name="step"  value="[% step %]" />[% END %]
236
[% IF ( step ) %]<input type="hidden" name="step"  value="[% step %]" />[% END %]
237
[% IF ( opadd ) %]<input type="hidden" name="op" value="insert" />
237
[% IF ( opadd ) %]<input type="hidden" name="op" value="insert" />
Lines 302-308 $(document).ready(function() { Link Here
302
                <label for="firstname">
302
                <label for="firstname">
303
                [% END %]
303
                [% END %]
304
                First name: </label>
304
                First name: </label>
305
                <input type="text" id="firstname" name="firstname" size="20"  value="[% UNLESS opduplicate %][% firstname | html %][% END %]" />
305
                <input type="text" id="firstname" name="firstname" size="20"  value="[% firstname | html UNLESS opduplicate %]" />
306
                [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
306
                [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
307
            </li>
307
            </li>
308
        [% END %]
308
        [% END %]
Lines 315-321 $(document).ready(function() { Link Here
315
                [% END %]
315
                [% END %]
316
                Date of birth: </label>
316
                Date of birth: </label>
317
317
318
                <input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="write_age();" value="[% UNLESS opduplicate %][% dateofbirth %][% END %]" class="datepicker" />
318
                <input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="write_age();" value="[% dateofbirth UNLESS opduplicate %]" class="datepicker" />
319
319
320
        [% IF ( mandatorydateofbirth ) %]<span class="required">Required</span>[% END %]
320
        [% IF ( mandatorydateofbirth ) %]<span class="required">Required</span>[% END %]
321
        [% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %]
321
        [% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %]
Lines 330-336 $(document).ready(function() { Link Here
330
                    <label for="initials">
330
                    <label for="initials">
331
                [% END %]
331
                [% END %]
332
                Initials: </label>
332
                Initials: </label>
333
                <input type="text" id="initials" name="initials" size="20"  value="[% UNLESS opduplicate %][% initials | html %][% END %]" />
333
                <input type="text" id="initials" name="initials" size="20"  value="[% initials | html UNLESS opduplicate %]" />
334
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
334
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
335
            </li>
335
            </li>
336
        [% END %]
336
        [% END %]
Lines 343-349 $(document).ready(function() { Link Here
343
			<label for="othernames">
343
			<label for="othernames">
344
			[% END %]
344
			[% END %]
345
            Other name: </label>
345
            Other name: </label>
346
            <input type="text" id="othernames" name="othernames" size="20"  value="[% UNLESS opduplicate %][% othernames | html %][% END %]" />
346
            <input type="text" id="othernames" name="othernames" size="20"  value="[% othernames | html UNLESS opduplicate %]" />
347
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
347
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
348
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
348
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
349
		</li>
349
		</li>
Lines 779-791 $(document).ready(function() { Link Here
779
			Expiry date (leave blank for auto calc): </label>
779
			Expiry date (leave blank for auto calc): </label>
780
            [% IF ( dateformat == "metric" ) %]
780
            [% IF ( dateformat == "metric" ) %]
781
				[% UNLESS ( opadd ) %]
781
				[% UNLESS ( opadd ) %]
782
                    <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" />
782
                    <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" value="[% dateexpiry UNLESS opduplicate %]" class="datepickerto" />
783
				[% ELSE %]
783
				[% ELSE %]
784
                    <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" class="datepickerto" />
784
                    <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" class="datepickerto" />
785
				[% END %]
785
				[% END %]
786
			[% ELSE %]
786
			[% ELSE %]
787
				[% UNLESS ( opadd ) %]
787
				[% UNLESS ( opadd ) %]
788
                <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" value="[% UNLESS opduplicate %][% dateexpiry %][% END %]" class="datepickerto" />
788
                <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" value="[% dateexpiry UNLESS opduplicate %]" class="datepickerto" />
789
				[% ELSE %]
789
				[% ELSE %]
790
                <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" class="datepickerto" />
790
                <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" class="datepickerto" />
791
				[% END %]
791
				[% END %]
Lines 802-808 $(document).ready(function() { Link Here
802
				<label for="opacnote">
802
				<label for="opacnote">
803
            [% END %]
803
            [% END %]
804
			OPAC note: </label>
804
			OPAC note: </label>
805
            <textarea id="opacnote" name="opacnote" cols="55" rows="5">[% UNLESS opduplicate %][% opacnote | html %][% END %]</textarea>
805
            <textarea id="opacnote" name="opacnote" cols="55" rows="5">[% opacnote | html UNLESS opduplicate %]</textarea>
806
			<div class="hint">This message appears on this patron's user page in the OPAC</div>
806
			<div class="hint">This message appears on this patron's user page in the OPAC</div>
807
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
807
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
808
		</li>
808
		</li>
Lines 815-821 $(document).ready(function() { Link Here
815
				<label for="borrowernotes">
815
				<label for="borrowernotes">
816
			[% END %]
816
			[% END %]
817
			Circulation note: </label>
817
			Circulation note: </label>
818
            <textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[% UNLESS opduplicate %][% borrowernotes | html %][% END %]</textarea>
818
            <textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[% borrowernotes | html UNLESS opduplicate %]</textarea>
819
			<div class="hint">This message displays when checking out to this patron</div>
819
			<div class="hint">This message displays when checking out to this patron</div>
820
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
820
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
821
		</li>
821
		</li>
822
- 

Return to bug 18644