Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f28b428a

Von Thomas Heck vor mehr als 12 Jahren hinzugefügt

  • ID f28b428ae856d08badfc1d9408b87983548eb7e9
  • Vorgänger f9c3e030
  • Nachfolger 54bd1719

Parameter "empty_label" von L.select_tag nicht als HTML-Attribut ausgeben.

Unterschiede anzeigen:

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