Revision f28b428a
Von Thomas Heck vor mehr als 12 Jahren hinzugefügt
SL/Template/Plugin/L.pm | ||
---|---|---|
my $title_sub = delete($attributes{title_sub});
|
||
my $default_sub = delete($attributes{default_sub});
|
||
|
||
my $with_empty = delete($attributes{with_empty});
|
||
my $empty_title = delete($attributes{empty_title});
|
||
|
||
my %selected;
|
||
|
||
... | ... | |
|
||
my @options;
|
||
|
||
if ( delete($attributes{with_empty}) ) {
|
||
push(@options, [undef, $attributes{empty_title} || '']);
|
||
if ( $with_empty ) {
|
||
push(@options, [undef, $empty_title || '']);
|
||
}
|
||
|
||
my $normalize_entry = sub {
|
Auch abrufbar als: Unified diff
Parameter "empty_label" von L.select_tag nicht als HTML-Attribut ausgeben.