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

(-)a/admin/preferences.pl (+3 lines)
Lines 77-82 sub _get_chunk { Link Here
77
        $chunk->{'input_type'} = 'password';
77
        $chunk->{'input_type'} = 'password';
78
    } elsif ( $options{'class'} && $options{'class'} eq 'email' ) {
78
    } elsif ( $options{'class'} && $options{'class'} eq 'email' ) {
79
        $chunk->{'input_type'} = 'email';
79
        $chunk->{'input_type'} = 'email';
80
        if ( $options{'multiple'} ) {
81
            $chunk->{'multiple'} = 1;
82
        }
80
    } elsif ( $options{'class'} && $options{'class'} eq 'date' ) {
83
    } elsif ( $options{'class'} && $options{'class'} eq 'date' ) {
81
        $chunk->{'dateinput'} = 1;
84
        $chunk->{'dateinput'} = 1;
82
    } elsif ( $options{'type'} && ( $options{'type'} eq 'opac-languages' || $options{'type'} eq 'staff-languages' ) ) {
85
    } elsif ( $options{'type'} && ( $options{'type'} eq 'opac-languages' || $options{'type'} eq 'staff-languages' ) ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt (-1 / +1 lines)
Lines 116-122 Link Here
116
                        [% IF CHUNK.name == 'UsageStatsGeolocation' %]
116
                        [% IF CHUNK.name == 'UsageStatsGeolocation' %]
117
                            <input type="[%IF CHUNK.input_type %][% CHUNK.input_type | html %][% ELSE %]text[% END %]" name="pref_[% CHUNK.name | html %]" id="pref_[% CHUNK.name | html %]" class="preference preference-[% CHUNK.class or "short" | html %]" value="[% CHUNK.value | html %]" autocomplete="off" readonly="readonly" size="40" style="width: auto;"/> [% IF ( CHUNK.dateinput ) %]<span class="hint">[% INCLUDE 'date-format.inc' %]</span>[% END %]
117
                            <input type="[%IF CHUNK.input_type %][% CHUNK.input_type | html %][% ELSE %]text[% END %]" name="pref_[% CHUNK.name | html %]" id="pref_[% CHUNK.name | html %]" class="preference preference-[% CHUNK.class or "short" | html %]" value="[% CHUNK.value | html %]" autocomplete="off" readonly="readonly" size="40" style="width: auto;"/> [% IF ( CHUNK.dateinput ) %]<span class="hint">[% INCLUDE 'date-format.inc' %]</span>[% END %]
118
                        [% ELSE %]
118
                        [% ELSE %]
119
                            <input type="[%IF CHUNK.input_type %][% CHUNK.input_type | html %][% ELSE %]text[% END %]" name="pref_[% CHUNK.name | html %]" id="pref_[% CHUNK.name | html %]" class="preference preference-[% CHUNK.class or "short" | html %]" value="[% CHUNK.value | html %]" autocomplete="off" /> [% IF ( CHUNK.dateinput ) %]<span class="hint">[% INCLUDE 'date-format.inc' %]</span>[% END %]
119
                            <input type="[%IF CHUNK.input_type %][% CHUNK.input_type | html %][% ELSE %]text[% END %]" name="pref_[% CHUNK.name | html %]" id="pref_[% CHUNK.name | html %]" class="preference preference-[% CHUNK.class or "short" | html %]" value="[% CHUNK.value | html %]" autocomplete="off" [% IF CHUNK.multiple %]multiple[% END %] /> [% IF ( CHUNK.dateinput ) %]<span class="hint">[% INCLUDE 'date-format.inc' %]</span>[% END %]
120
                        [% END %]
120
                        [% END %]
121
                    [% ELSIF ( CHUNK.type_select ) %]
121
                    [% ELSIF ( CHUNK.type_select ) %]
122
                        [% IF CHUNK.disabled %]
122
                        [% IF CHUNK.disabled %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +1 lines)
Lines 384-389 Circulation: Link Here
384
            - "Send all notices as a BCC to this email address:"
384
            - "Send all notices as a BCC to this email address:"
385
            - pref: NoticeBcc
385
            - pref: NoticeBcc
386
              class: email
386
              class: email
387
              multiple: true
387
        -
388
        -
388
            - pref: OverdueNoticeCalendar
389
            - pref: OverdueNoticeCalendar
389
              choices:
390
              choices:
390
- 

Return to bug 31376