X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FLayout%2FSplit.pm;h=dec8bfd52f392c9853021a6683ceda74bcb2cc0d;hb=42442d1f6692b00f2cefe3b302d9aca5724b4c82;hp=5b5484076e1199e5560ec5a4479c8a8932a84eb1;hpb=e0a3b19e35aed6f3f8ba84e25381a5d0e6ca61f4;p=kivitendo-erp.git diff --git a/SL/Layout/Split.pm b/SL/Layout/Split.pm index 5b5484076..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,7 +18,7 @@ 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 => 'layout-split-left') + html_tag('div', $left, class => 'layout-split-left') .'
' . $right; } @@ -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;