Revision d4458803
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
SL/Template/Plugin/L.pm | ||
---|---|---|
6 | 6 |
use List::Util qw(max); |
7 | 7 |
use Scalar::Util qw(blessed); |
8 | 8 |
|
9 |
use SL::Presenter; |
|
10 |
|
|
9 | 11 |
use strict; |
10 | 12 |
|
11 | 13 |
{ # This will give you an id for identifying html tags and such. |
... | ... | |
675 | 677 |
}, |
676 | 678 |
); |
677 | 679 |
|
678 |
my $output; |
|
679 |
$controller->_template_obj->process('templates/webpages/common/paginate.html', \%template_params, \$output); |
|
680 |
return $output; |
|
680 |
return SL::Presenter->get->render('common/paginate', %template_params); |
|
681 | 681 |
} |
682 | 682 |
|
683 | 683 |
1; |
Auch abrufbar als: Unified diff
SL::Presenter -- die neue Präsentationsschicht