Lines 214-220
Link Here
|
214 |
|
214 |
|
215 |
<form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off"> |
215 |
<form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off"> |
216 |
|
216 |
|
217 |
[% 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' ] %] |
217 |
[% 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' ] %] |
218 |
[% IF mandatory.defined( field ) %] |
218 |
[% IF mandatory.defined( field ) %] |
219 |
[% SET required.$field = 'required' %] |
219 |
[% SET required.$field = 'required' %] |
220 |
[% END %] |
220 |
[% END %] |
Lines 683-688
Link Here
|
683 |
</select> |
683 |
</select> |
684 |
[% IF ( mandatory.defined('primary_contact_method') ) %]<span class="required">Required</span>[% END %] |
684 |
[% IF ( mandatory.defined('primary_contact_method') ) %]<span class="required">Required</span>[% END %] |
685 |
</li> |
685 |
</li> |
|
|
686 |
[% UNLESS hidden.defined('lang') %] |
687 |
<li> |
688 |
[% IF ( mandatory.defined('lang') ) %] |
689 |
<label for="borrower_lang" class="required">Preferred language for notices: </label> |
690 |
[% ELSE %] |
691 |
<label for="borrower_lang">Preferred language for notices: </label> |
692 |
[% END %] |
693 |
<select id="borrower_lang" name="borrower_lang"> |
694 |
<option value="default">Default</option> |
695 |
[% FOR language IN languages %] |
696 |
[% FOR sublanguage IN language.sublanguages_loop %] |
697 |
[% IF language.plural %] |
698 |
[% IF sublanguage.rfc4646_subtag == borrower.lang %] |
699 |
<option value="[% sublanguage.rfc4646_subtag | html %]" selected="selected">[% sublanguage.native_description | html %] [% sublanguage.region_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
700 |
[% ELSE %] |
701 |
<option value="[% sublanguage.rfc4646_subtag | html %]">[% sublanguage.native_description | html %] [% sublanguage.region_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
702 |
[% END %] |
703 |
[% ELSE %] |
704 |
[% IF sublanguage.rfc4646_subtag == borrower.lang %] |
705 |
<option value="[% sublanguage.rfc4646_subtag | html %]" selected="selected">[% sublanguage.native_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
706 |
[% ELSE %] |
707 |
<option value="[% sublanguage.rfc4646_subtag | html %]">[% sublanguage.native_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
708 |
[% END %] |
709 |
[% END # /IF language.plural %] |
710 |
[% END # /FOR sublanguage %] |
711 |
[% END #/FOR language %] |
712 |
</select> <!-- /#lang --> |
713 |
[% IF ( mandatory.defined('lang') ) %]<div class="required_label required">Required</div>[% END %] |
714 |
</li> |
715 |
[% END %] |
686 |
[% END %] |
716 |
[% END %] |
687 |
</ol> |
717 |
</ol> |
688 |
</fieldset> |
718 |
</fieldset> |