Lines 890-896
Link Here
|
890 |
</fieldset> |
890 |
</fieldset> |
891 |
[% END %] |
891 |
[% END %] |
892 |
|
892 |
|
893 |
[% IF ( Koha.Preference('ExtendedPatronAttributes') && patron_attribute_classes.size ) %] |
893 |
[% IF ( Koha.Preference('ExtendedPatronAttributes') && patron_attribute_classes.size && !Koha.Preference('PatronSelfRegistrationVerifyByEmail') ) %] |
894 |
[% FOREACH pa_class IN patron_attribute_classes %] |
894 |
[% FOREACH pa_class IN patron_attribute_classes %] |
895 |
[% IF pa_class.class %] |
895 |
[% IF pa_class.class %] |
896 |
<fieldset id="aai_[% pa_loo.class %]" class="rows patron-attributes"> |
896 |
<fieldset id="aai_[% pa_loo.class %]" class="rows patron-attributes"> |
Lines 927-943
Link Here
|
927 |
[% ELSE %] |
927 |
[% ELSE %] |
928 |
<textarea rows="2" cols="30" id="[% form_id %]" name="patron_attribute_value">[% pa_value.value %]</textarea> |
928 |
<textarea rows="2" cols="30" id="[% form_id %]" name="patron_attribute_value">[% pa_value.value %]</textarea> |
929 |
[% END %] |
929 |
[% END %] |
|
|
930 |
<a href="#" class="clear-attribute">Clear</a> |
931 |
[% IF ( pa.type.repeatable ) %] |
932 |
<a href="#" class="clone-attribute">New</a> |
933 |
[% END %] |
930 |
[% IF ( pa.type.password_allowed ) %] |
934 |
[% IF ( pa.type.password_allowed ) %] |
931 |
(<label class="lradio" for="[% form_id %]_password">Password:</label> |
935 |
</li><li><label for="[% form_id %]_password">Password:</label> |
932 |
<input type="password" maxlength="64" value="[% pa_value.password %]" id="[% form_id %]_password" name="patron_attribute_password" />) |
936 |
<input type="password" maxlength="64" value="[% pa_value.password %]" id="[% form_id %]_password" name="patron_attribute_password" /> |
933 |
[% ELSE %] |
937 |
[% ELSE %] |
934 |
[%# To keep the form inputs lined up in the POST %] |
938 |
[%# To keep the form inputs lined up in the POST %] |
935 |
<input type="hidden" name="patron_attribute_password" value="" /> |
939 |
<input type="hidden" name="patron_attribute_password" value="" /> |
936 |
[% END %] |
940 |
[% END %] |
937 |
<a href="#" class="clear-attribute">Clear</a> |
|
|
938 |
[% IF ( pa.type.repeatable ) %] |
939 |
<a href="#" class="clone-attribute">New</a> |
940 |
[% END %] |
941 |
[% ELSE %] |
941 |
[% ELSE %] |
942 |
[% IF ( pa.type.authorised_value_category ) %] |
942 |
[% IF ( pa.type.authorised_value_category ) %] |
943 |
[% AuthorisedValues.GetByCode( pa.type.authorised_value, pa_value.value, 1 ) %] |
943 |
[% AuthorisedValues.GetByCode( pa.type.authorised_value, pa_value.value, 1 ) %] |