|
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' 'smsalertnumber' 'sms_provider_id' ] %] |
| 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 902-908
Link Here
|
| 902 |
</div> <!-- /.col --> |
902 |
</div> <!-- /.col --> |
| 903 |
</div> <!-- /.row --> |
903 |
</div> <!-- /.row --> |
| 904 |
[% END %] |
904 |
[% END %] |
|
|
905 |
[% IF ( Koha.Preference('SMSSendDriver') ) && !hidden.defined('smsalertnumber') && !hidden.defined('sms_provider_id') && action != 'edit' %] |
| 906 |
<div class="row"> |
| 907 |
<div class="col"> |
| 908 |
<fieldset class="rows" id="memberentry_sms"> |
| 909 |
<legend id="sms_legend">SMS number</legend> |
| 910 |
<ol> |
| 911 |
[% UNLESS hidden.defined('smsalertnumber') %] |
| 912 |
<li> |
| 913 |
<label for="borrower_smsalertnumber" class="[% required.smsalertnumber | html %]">SMS number:</label> |
| 905 |
|
914 |
|
|
|
915 |
<input type="text" id="borrower_smsalertnumber" name="borrower_smsalertnumber" value="[% borrower.smsalertnumber | html %]" class="[% required.smsalertnumber | html %]" /> |
| 916 |
<div class="required_label [% required.smsalertnumber | html %]">Required</div> |
| 917 |
<span class="hint smsalertnumber_help">Please enter numbers only. Prefix the number with + or 00 if including the country code.</span> |
| 918 |
</li> |
| 919 |
[% END %] |
| 920 |
[% UNLESS hidden.defined('sms_provider_id') %] |
| 921 |
<li> |
| 922 |
<label for="borrower_sms_provider_id" class="[% required.sms_provider_id | html %]">SMS provider:</label> |
| 923 |
<select id="borrower_sms_provider_id" name="borrower_sms_provider_id" class="[% required.sms_provider_id | html %]"> |
| 924 |
<option value="">Unknown</option> |
| 925 |
[% FOREACH s IN sms_providers %] |
| 926 |
<option value="[% s.id | html %]">[% s.name | html %]</option> |
| 927 |
[% END %] |
| 928 |
</select> |
| 929 |
<div class="required_label [% required.sms_provider_id | html %]">Required</div> |
| 930 |
<span class="hint sms_provider_id_help">Please contact a library staff member if you are unsure of your mobile service provider, or you do not see your provider in this list.</span> |
| 931 |
</li> |
| 932 |
[% END %] |
| 933 |
</ol> |
| 934 |
</fieldset> |
| 935 |
</div> |
| 936 |
</div> |
| 937 |
[% END %] |
| 906 |
[% UNLESS action == 'edit' || hidden.defined('password') %] |
938 |
[% UNLESS action == 'edit' || hidden.defined('password') %] |
| 907 |
<div class="row"> |
939 |
<div class="row"> |
| 908 |
<div class="col"> |
940 |
<div class="col"> |