Lines 165-175
Link Here
|
165 |
|
165 |
|
166 |
[% BLOCK login_label %] |
166 |
[% BLOCK login_label %] |
167 |
[%- SET preference_value = Koha.Preference('OPACLoginLabelTextContent') %] |
167 |
[%- SET preference_value = Koha.Preference('OPACLoginLabelTextContent') %] |
168 |
[%- SET label = "Cardnumber" %] |
168 |
[%- SET label = t("Cardnumber") %] |
169 |
[%- IF preference_value == "username" %] |
169 |
[%- IF preference_value == "username" %] |
170 |
[%- SET label = "Username" %] |
170 |
[%- SET label = t("Username") %] |
171 |
[%- ELSIF preference_value == "cardnumberorusername" %] |
171 |
[%- ELSIF preference_value == "cardnumberorusername" %] |
172 |
[%- SET label = "Cardnumber or username" %] |
172 |
[%- SET label = t("Cardnumber or username") %] |
173 |
[%- END %] |
173 |
[%- END %] |
174 |
<label for="[% for | html %]">[% label | html %]:</label> |
174 |
<label for="[% for | html %]">[% label | html %]:</label> |
175 |
[% END %] |
175 |
[% END %] |
176 |
- |
|
|