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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-24 / +9 lines)
Lines 232-239 $(document).ready(function() { Link Here
232
<input type="hidden" name="updtype" value="[% updtype %]" />
232
<input type="hidden" name="updtype" value="[% updtype %]" />
233
<input type="hidden" name="destination" value="[% destination %]" />
233
<input type="hidden" name="destination" value="[% destination %]" />
234
<input type="hidden" name="check_member" value="[% check_member %]" />
234
<input type="hidden" name="check_member" value="[% check_member %]" />
235
<input type="hidden" name="borrowernumber" value="[% UNLESS opduplicate %][% borrowernumber %][% END %]" />
235
<input type="hidden" name="borrowernumber" value="[%- borrowernumber UNLESS opduplicate -%]" />
236
<input type="hidden" name="nodouble"  value="[% UNLESS opduplicate %][% nodouble %][% END %]" />
236
<input type="hidden" name="nodouble"  value="[%- nodouble UNLESS opduplicate -%]" />
237
<input type="hidden" name="csrf_token" value="[% csrf_token %]" />
237
<input type="hidden" name="csrf_token" value="[% csrf_token %]" />
238
[% IF ( step ) %]<input type="hidden" name="step"  value="[% step %]" />[% END %]
238
[% IF ( step ) %]<input type="hidden" name="step"  value="[% step %]" />[% END %]
239
[% IF ( opadd ) %]<input type="hidden" name="op" value="insert" />
239
[% IF ( opadd ) %]<input type="hidden" name="op" value="insert" />
Lines 304-328 $(document).ready(function() { Link Here
304
                <label for="firstname">
304
                <label for="firstname">
305
                [% END %]
305
                [% END %]
306
                First name: </label>
306
                First name: </label>
307
                <input type="text" id="firstname" name="firstname" size="20"  value="[% UNLESS opduplicate %][% firstname | html %][% END %]" />
307
                <input type="text" id="firstname" name="firstname" size="20" value="[%- firstname UNLESS opduplicate -%]" />
308
                [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
308
                [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
309
            </li>
309
            </li>
310
        [% END %]
310
        [% END %]
311
        [% UNLESS nodateofbirth %]
311
        [% UNLESS nodateofbirth %]
312
            <li>
313
                [% IF ( mandatorydateofbirth ) %]
314
                <label for="dateofbirth" class="required">
315
                [% ELSE %]
316
                <label for="dateofbirth">
317
                [% END %]
318
                Date of birth: </label>
319
320
                <input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="write_age();" value="[% UNLESS opduplicate %][% dateofbirth %][% END %]" class="datepicker" />
321
322
        [% IF ( mandatorydateofbirth ) %]<span class="required">Required</span>[% END %]
323
        [% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %]
324
		<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
325
            </li>
326
        [% END %]
312
        [% END %]
327
        [% UNLESS noinitials %]
313
        [% UNLESS noinitials %]
328
            <li>
314
            <li>
Lines 332-338 $(document).ready(function() { Link Here
332
                    <label for="initials">
318
                    <label for="initials">
333
                [% END %]
319
                [% END %]
334
                Initials: </label>
320
                Initials: </label>
335
                <input type="text" id="initials" name="initials" size="20"  value="[% UNLESS opduplicate %][% initials | html %][% END %]" />
321
                <input type="text" id="initials" name="initials" size="20" value="[%- initials | html UNLESS opduplicate -%]" />
336
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
322
                [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
337
            </li>
323
            </li>
338
        [% END %]
324
        [% END %]
Lines 345-351 $(document).ready(function() { Link Here
345
			<label for="othernames">
331
			<label for="othernames">
346
			[% END %]
332
			[% END %]
347
            Other name: </label>
333
            Other name: </label>
348
            <input type="text" id="othernames" name="othernames" size="20"  value="[% UNLESS opduplicate %][% othernames | html %][% END %]" />
334
            <input type="text" id="othernames" name="othernames" size="20"  value="[%- othernames | html UNLESS opduplicate %]" />
349
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
335
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
350
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
336
		[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
351
		</li>
337
		</li>
Lines 781-793 $(document).ready(function() { Link Here
781
			Expiry date (leave blank for auto calc): </label>
767
			Expiry date (leave blank for auto calc): </label>
782
            [% IF ( dateformat == "metric" ) %]
768
            [% IF ( dateformat == "metric" ) %]
783
				[% UNLESS ( opadd ) %]
769
				[% UNLESS ( opadd ) %]
784
                    <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" />
770
                    <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" />
785
				[% ELSE %]
771
				[% ELSE %]
786
                    <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" class="datepickerto" />
772
                    <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" class="datepickerto" />
787
				[% END %]
773
				[% END %]
788
			[% ELSE %]
774
			[% ELSE %]
789
				[% UNLESS ( opadd ) %]
775
				[% UNLESS ( opadd ) %]
790
                <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" value="[% UNLESS opduplicate %][% dateexpiry %][% END %]" class="datepickerto" />
776
                <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" value="[%- dateexpiry UNLESS opduplicate -%]" class="datepickerto" />
791
				[% ELSE %]
777
				[% ELSE %]
792
                <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" class="datepickerto" />
778
                <input type="text" id="to" name="dateexpiry" maxlength="10"  size="10" class="datepickerto" />
793
				[% END %]
779
				[% END %]
Lines 804-810 $(document).ready(function() { Link Here
804
				<label for="opacnote">
790
				<label for="opacnote">
805
            [% END %]
791
            [% END %]
806
			OPAC note: </label>
792
			OPAC note: </label>
807
            <textarea id="opacnote" name="opacnote" cols="55" rows="5">[% UNLESS opduplicate %][% opacnote | html %][% END %]</textarea>
793
            <textarea id="opacnote" name="opacnote" cols="55" rows="5">[%- opacnote | html UNLESS opduplicate -%]</textarea>
808
			<div class="hint">This message appears on this patron's user page in the OPAC</div>
794
			<div class="hint">This message appears on this patron's user page in the OPAC</div>
809
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
795
	  [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
810
		</li>
796
		</li>
Lines 817-823 $(document).ready(function() { Link Here
817
				<label for="borrowernotes">
803
				<label for="borrowernotes">
818
			[% END %]
804
			[% END %]
819
			Circulation note: </label>
805
			Circulation note: </label>
820
            <textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[% UNLESS opduplicate %][% borrowernotes | html %][% END %]</textarea>
806
            <textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[%- borrowernotes | html UNLESS opduplicate -%]</textarea>
821
			<div class="hint">This message displays when checking out to this patron</div>
807
			<div class="hint">This message displays when checking out to this patron</div>
822
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
808
	  [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
823
		</li>
809
		</li>
824
- 

Return to bug 18644