Lines 210-216
Link Here
|
210 |
|
210 |
|
211 |
<form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off"> |
211 |
<form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off"> |
212 |
|
212 |
|
213 |
[% FOREACH field = ['streetnumber' 'streettype' 'cardnumber' 'branchcode' 'categorycode' 'title' 'surname' 'firstname' 'middle_name' 'dateofbirth' 'initials' 'pronouns' 'othernames' 'address' 'address2' 'city' 'state' 'zipcode' 'country' 'phone' 'phonepro' 'mobile' 'email' 'emailpro' 'fax' 'B_streettype' 'B_streetnumber' 'B_address' 'B_address2' 'B_city' 'B_state' 'B_zipcode' 'B_country' 'B_phone' 'B_email' 'contactnote' 'altcontactsurname' 'altcontactfirstname' 'altcontactaddress1' 'altcontactaddress2' 'altcontactaddress3' 'altcontactstate' 'altcontactzipcode' 'altcontactcountry' 'altcontactphone' 'password' ] %] |
213 |
[% FOREACH field = ['streetnumber' 'streettype' 'cardnumber' 'branchcode' 'categorycode' 'title' 'surname' 'firstname' 'middle_name' 'dateofbirth' 'initials' 'pronouns' 'othernames' 'address' 'address2' 'city' 'state' 'zipcode' 'country' 'phone' 'phonepro' 'mobile' 'email' 'emailpro' 'fax' 'B_streettype' 'B_streetnumber' 'B_address' 'B_address2' 'B_city' 'B_state' 'B_zipcode' 'B_country' 'B_phone' 'B_email' 'contactnote' 'altcontactsurname' 'altcontactfirstname' 'altcontactaddress1' 'altcontactaddress2' 'altcontactaddress3' 'altcontactstate' 'altcontactzipcode' 'altcontactcountry' 'altcontactphone' 'password' 'lang' ] %] |
214 |
[% IF mandatory.defined( field ) %] |
214 |
[% IF mandatory.defined( field ) %] |
215 |
[% SET required.$field = 'required' %] |
215 |
[% SET required.$field = 'required' %] |
216 |
[% END %] |
216 |
[% END %] |
Lines 679-684
Link Here
|
679 |
</select> |
679 |
</select> |
680 |
[% IF ( mandatory.defined('primary_contact_method') ) %]<span class="required">Required</span>[% END %] |
680 |
[% IF ( mandatory.defined('primary_contact_method') ) %]<span class="required">Required</span>[% END %] |
681 |
</li> |
681 |
</li> |
|
|
682 |
[% UNLESS hidden.defined('lang') %] |
683 |
<li> |
684 |
[% IF ( mandatory.defined('lang') ) %] |
685 |
<label for="borrower_lang" class="required">Preferred language for notices: </label> |
686 |
[% ELSE %] |
687 |
<label for="borrower_lang">Preferred language for notices: </label> |
688 |
[% END %] |
689 |
<select id="borrower_lang" name="borrower_lang"> |
690 |
<option value="default">Default</option> |
691 |
[% FOR language IN languages %] |
692 |
[% FOR sublanguage IN language.sublanguages_loop %] |
693 |
[% IF language.plural %] |
694 |
[% IF sublanguage.rfc4646_subtag == borrower.lang %] |
695 |
<option value="[% sublanguage.rfc4646_subtag | html %]" selected="selected">[% sublanguage.native_description | html %] [% sublanguage.region_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
696 |
[% ELSE %] |
697 |
<option value="[% sublanguage.rfc4646_subtag | html %]">[% sublanguage.native_description | html %] [% sublanguage.region_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
698 |
[% END %] |
699 |
[% ELSE %] |
700 |
[% IF sublanguage.rfc4646_subtag == borrower.lang %] |
701 |
<option value="[% sublanguage.rfc4646_subtag | html %]" selected="selected">[% sublanguage.native_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
702 |
[% ELSE %] |
703 |
<option value="[% sublanguage.rfc4646_subtag | html %]">[% sublanguage.native_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
704 |
[% END %] |
705 |
[% END # /IF language.plural %] |
706 |
[% END # /FOR sublanguage %] |
707 |
[% END #/FOR language %] |
708 |
</select> <!-- /#lang --> |
709 |
[% IF ( mandatory.defined('lang') ) %]<div class="required_label required">Required</div>[% END %] |
710 |
</li> |
711 |
[% END %] |
682 |
[% END %] |
712 |
[% END %] |
683 |
</ol> |
713 |
</ol> |
684 |
</fieldset> |
714 |
</fieldset> |