X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/cea0e38dce1dae54e77c85614b11ae16826a7e01..02fa01b23003eb4429392092cd0282d44a11cea8:/SL/Layout/ActionBar.pm diff --git a/SL/Layout/ActionBar.pm b/SL/Layout/ActionBar.pm index 8447ec1b7..cdd845be4 100644 --- a/SL/Layout/ActionBar.pm +++ b/SL/Layout/ActionBar.pm @@ -10,6 +10,8 @@ use SL::Layout::ActionBar::ComboBox; use SL::Layout::ActionBar::Link; use SL::Layout::ActionBar::Separator; +use SL::Presenter::Tag qw(html_tag); + use constant HTML_CLASS => 'layout-actionbar'; use Rose::Object::MakeMethods::Generic ( @@ -30,7 +32,7 @@ sub pre_content { my $content = join '', map { $_->render } @{ $self->actions }; return if !$content; - $::request->presenter->html_tag('div', $content, class => HTML_CLASS); + html_tag('div', $content, class => HTML_CLASS); } sub javascripts_inline { @@ -199,7 +201,7 @@ A string type, followed by the parameters needed for that type. Type may be one C will use no parameters, the other three will expect one arrayref. -Two additional pseuso parameters are supported for those: +Two additional pseudo parameters are supported for those: =over 4