Revision 08ed38c5
Von Sven Schöling vor fast 13 Jahren hinzugefügt
SL/Template/Plugin/L.pm | ||
---|---|---|
282 | 282 |
s/y+/\%Y/gi; |
283 | 283 |
} $::myconfig{"dateformat"}; |
284 | 284 |
|
285 |
my $cal_align = delete $params{cal_align} || 'BR'; |
|
285 |
my $cal_align = delete $params{cal_align} || 'BR'; |
|
286 |
my $onchange = delete $params{onchange}; |
|
286 | 287 |
my $str_value = blessed $value ? $value->to_lxoffice : $value; |
287 | 288 |
|
288 | 289 |
$self->input_tag($name, $str_value, |
... | ... | |
290 | 291 |
size => 11, |
291 | 292 |
title => _H($::myconfig{dateformat}), |
292 | 293 |
onBlur => 'check_right_date_format(this)', |
294 |
($onchange ? ( |
|
295 |
onChange => $onchange, |
|
296 |
) : ()), |
|
293 | 297 |
%params, |
294 | 298 |
) . ((!$params{no_cal}) ? |
295 | 299 |
$self->html_tag('img', undef, |
Auch abrufbar als: Unified diff
L.date_tag: dem img tag kein onchange mitgeben falls übergeben.