|
Lines 190-196
Link Here
|
| 190 |
|
190 |
|
| 191 |
<form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off"> |
191 |
<form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off"> |
| 192 |
|
192 |
|
| 193 |
[% FOREACH field = ['streetnumber' 'cardnumber' 'branchcode' 'categorycode' 'title' 'surname' 'firstname' 'dateofbirth' 'initials' 'othernames' 'address' 'address2' 'city' 'state' 'zipcode' 'country' 'phone' 'phonepro' 'mobile' 'email' 'emailpro' 'fax' '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' ] %] |
193 |
[% FOREACH field = ['streetnumber' 'streettype' 'cardnumber' 'branchcode' 'categorycode' 'title' 'surname' 'firstname' 'dateofbirth' 'initials' 'othernames' 'address' 'address2' 'city' 'state' 'zipcode' 'country' 'phone' 'phonepro' 'mobile' 'email' 'emailpro' 'fax' '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' ] %] |
| 194 |
[% IF mandatory.defined( field ) %] |
194 |
[% IF mandatory.defined( field ) %] |
| 195 |
[% SET required.$field = 'required' %] |
195 |
[% SET required.$field = 'required' %] |
| 196 |
[% END %] |
196 |
[% END %] |
|
Lines 425-430
Link Here
|
| 425 |
<ol> |
425 |
<ol> |
| 426 |
[% IF Koha.Preference('AddressFormat') != 'de' %][% INCLUDE streetnumber %][% END %] |
426 |
[% IF Koha.Preference('AddressFormat') != 'de' %][% INCLUDE streetnumber %][% END %] |
| 427 |
|
427 |
|
|
|
428 |
[% IF roadtypes %] |
| 429 |
[% UNLESS hidden.defined('streettype') %] |
| 430 |
<li> |
| 431 |
<label for="borrower_streettype" class="[% required.streettype | html %]">Street type:</label> |
| 432 |
|
| 433 |
<select name="borrower_streettype" name="borrower_streettype"> |
| 434 |
<option value=""></option> |
| 435 |
[% FOR roadtype IN roadtypes %] |
| 436 |
[% IF roadtype.authorised_value == patron.streettype %] |
| 437 |
<option value="[% roadtype.authorised_value | html %]" selected="selected">[% roadtype.lib | html %]</option> |
| 438 |
[% ELSE %] |
| 439 |
<option value="[% roadtype.authorised_value | html %]">[% roadtype.lib | html %]</option> |
| 440 |
[% END %] |
| 441 |
[% END %] |
| 442 |
</select> |
| 443 |
<div class="required_label [% required.streettype | html %]">Required</div> |
| 444 |
</li> |
| 445 |
[% END %] |
| 446 |
[% END %] |
| 447 |
|
| 428 |
[% UNLESS hidden.defined('address') %] |
448 |
[% UNLESS hidden.defined('address') %] |
| 429 |
<li> |
449 |
<li> |
| 430 |
<label for="borrower_address" class="[% required.address | html %]">Address:</label> |
450 |
<label for="borrower_address" class="[% required.address | html %]">Address:</label> |