|
Lines 866-872
Link Here
|
| 866 |
</fieldset> |
866 |
</fieldset> |
| 867 |
[% END %] |
867 |
[% END %] |
| 868 |
|
868 |
|
| 869 |
[% IF ( Koha.Preference('ExtendedPatronAttributes') && patron_attribute_classes.size ) %] |
869 |
[% IF ( Koha.Preference('ExtendedPatronAttributes') && patron_attribute_classes.size && !Koha.Preference('PatronSelfRegistrationVerifyByEmail') ) %] |
| 870 |
[% FOREACH pa_class IN patron_attribute_classes %] |
870 |
[% FOREACH pa_class IN patron_attribute_classes %] |
| 871 |
[% IF pa_class.class %] |
871 |
[% IF pa_class.class %] |
| 872 |
<fieldset id="aai_[% pa_loo.class %]" class="rows patron-attributes"> |
872 |
<fieldset id="aai_[% pa_loo.class %]" class="rows patron-attributes"> |
|
Lines 903-919
Link Here
|
| 903 |
[% ELSE %] |
903 |
[% ELSE %] |
| 904 |
<textarea rows="2" cols="30" id="[% form_id %]" name="patron_attribute_value">[% pa_value.value %]</textarea> |
904 |
<textarea rows="2" cols="30" id="[% form_id %]" name="patron_attribute_value">[% pa_value.value %]</textarea> |
| 905 |
[% END %] |
905 |
[% END %] |
|
|
906 |
<a href="#" class="clear-attribute">Clear</a> |
| 907 |
[% IF ( pa.type.repeatable ) %] |
| 908 |
<a href="#" class="clone-attribute">New</a> |
| 909 |
[% END %] |
| 906 |
[% IF ( pa.type.password_allowed ) %] |
910 |
[% IF ( pa.type.password_allowed ) %] |
| 907 |
(<label class="lradio" for="[% form_id %]_password">Password:</label> |
911 |
</li><li><label for="[% form_id %]_password">Password:</label> |
| 908 |
<input type="password" maxlength="64" value="[% pa_value.password %]" id="[% form_id %]_password" name="patron_attribute_password" />) |
912 |
<input type="password" maxlength="64" value="[% pa_value.password %]" id="[% form_id %]_password" name="patron_attribute_password" /> |
| 909 |
[% ELSE %] |
913 |
[% ELSE %] |
| 910 |
[%# To keep the form inputs lined up in the POST %] |
914 |
[%# To keep the form inputs lined up in the POST %] |
| 911 |
<input type="hidden" name="patron_attribute_password" value="" /> |
915 |
<input type="hidden" name="patron_attribute_password" value="" /> |
| 912 |
[% END %] |
916 |
[% END %] |
| 913 |
<a href="#" class="clear-attribute">Clear</a> |
|
|
| 914 |
[% IF ( pa.type.repeatable ) %] |
| 915 |
<a href="#" class="clone-attribute">New</a> |
| 916 |
[% END %] |
| 917 |
[% ELSE %] |
917 |
[% ELSE %] |
| 918 |
[% IF ( pa.type.authorised_value_category ) %] |
918 |
[% IF ( pa.type.authorised_value_category ) %] |
| 919 |
[% AuthorisedValues.GetByCode( pa.type.authorised_value, pa_value.value, 1 ) %] |
919 |
[% AuthorisedValues.GetByCode( pa.type.authorised_value, pa_value.value, 1 ) %] |