Revision 5a2a3ac3
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/Controller/Base.pm | ||
---|---|---|
38 | 38 |
} |
39 | 39 |
|
40 | 40 |
sub render { |
41 |
my $self = shift; |
|
42 |
|
|
43 |
my $template; |
|
44 |
$template = shift if scalar(@_) % 2; |
|
45 |
my %params = @_; |
|
41 |
my ($self, $template, %params) = @_; |
|
46 | 42 |
|
47 | 43 |
if ($params{title}) { |
48 | 44 |
$::form->{title} = delete $params{title}; |
Auch abrufbar als: Unified diff
render-Aufrufsyntax vereinfacht