X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=admin%2Fpreferences.pl;h=a161203739e697b5133c9ed8d0c321b80b63dbf5;hb=51405bcce471dd38b59425d1b3b6609e1d595572;hp=7fcf5fc647cc02e70de4d7792907656272f72c82;hpb=e1952c8ad737b8dd731f1c3995967e5ecc315d19;p=koha_fer diff --git a/admin/preferences.pl b/admin/preferences.pl index 7fcf5fc647..a161203739 100755 --- a/admin/preferences.pl +++ b/admin/preferences.pl @@ -63,6 +63,8 @@ sub _get_chunk { if ( $options{'class'} && $options{'class'} eq 'password' ) { $chunk->{'input_type'} = 'password'; + } elsif ( $options{'class'} && $options{'class'} eq 'date' ) { + $chunk->{'dateinput'} = 1; } elsif ( $options{'type'} && ( $options{'type'} eq 'opac-languages' || $options{'type'} eq 'staff-languages' ) ) { my $current_languages = { map { +$_, 1 } split( /\s*,\s*/, $value ) };