View | Details | Raw Unified | Return to bug 12137
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt (-2 / +1 lines)
Lines 118-124 Link Here
118
                    <input type="[%IF CHUNK.input_type %][% CHUNK.input_type %][% ELSE %]text[% END %]" name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "short" %]" value="[% CHUNK.value %]" autocomplete="off" /> [% IF ( CHUNK.dateinput ) %]<span class="hint">[% INCLUDE 'date-format.inc' %]</span>[% END %]
118
                    <input type="[%IF CHUNK.input_type %][% CHUNK.input_type %][% ELSE %]text[% END %]" name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "short" %]" value="[% CHUNK.value %]" autocomplete="off" /> [% IF ( CHUNK.dateinput ) %]<span class="hint">[% INCLUDE 'date-format.inc' %]</span>[% END %]
119
                    [% ELSIF ( CHUNK.type_select ) %]
119
                    [% ELSIF ( CHUNK.type_select ) %]
120
                    <select name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "choice" %]">
120
                    <select name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "choice" %]">
121
                        [% FOREACH CHOICE IN CHUNK.CHOICES %]
121
                        [% FOREACH CHOICE IN CHUNK.CHOICES.sort('value') %]
122
                        [% IF ( CHOICE.selected ) %]
122
                        [% IF ( CHOICE.selected ) %]
123
                        <option value="[% CHOICE.value %]" selected="selected">
123
                        <option value="[% CHOICE.value %]" selected="selected">
124
                        [% ELSE %]
124
                        [% ELSE %]
125
- 

Return to bug 12137