X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FLayout%2FSplit.pm;h=dec8bfd52f392c9853021a6683ceda74bcb2cc0d;hb=fa04f8138cc644757c8b602a8b21bc93bf867b50;hp=e8e2a88f074a4cbf126d84bf7bc0729822d24645;hpb=0466a6b348893b3e245713b9967e1f6dbff4c72f;p=kivitendo-erp.git diff --git a/SL/Layout/Split.pm b/SL/Layout/Split.pm index e8e2a88f0..dec8bfd52 100644 --- a/SL/Layout/Split.pm +++ b/SL/Layout/Split.pm @@ -3,7 +3,7 @@ package SL::Layout::Split; use strict; use parent qw(SL::Layout::Base); -use SL::Presenter; +use SL::Presenter::Tag qw(html_tag); use Rose::Object::MakeMethods::Generic ( 'scalar' => [ qw(left right) ], @@ -18,8 +18,8 @@ sub pre_content { my $left = join '', map { $_->pre_content } @{ $_[0]->left || [] }; my $right = join '', map { $_->pre_content } @{ $_[0]->right || [] }; - SL::Presenter->get->html_tag('div', $left, class => 't-layout-left') - .'
' . $right; + html_tag('div', $left, class => 'layout-split-left') + .'
' . $right; } sub post_content { @@ -27,7 +27,7 @@ sub post_content { my $right = join '', map { $_->post_content } @{ $_[0]->right || [] }; $right . '
' - . SL::Presenter->get->html_tag('div', $left, class => 't-layout-left'); + . html_tag('div', $left, class => 't-layout-left'); } 1;