|
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' ) ) { |