X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/4a12c839937370488b8b8a40bef376e7cb0a2ce6..e14cb525c640cb15bb6b2dfb62ccebbe78cb45cd:/SL/Controller/Layout/Classic.pm diff --git a/SL/Controller/Layout/Classic.pm b/SL/Controller/Layout/Classic.pm index 514db7947..b7438740c 100644 --- a/SL/Controller/Layout/Classic.pm +++ b/SL/Controller/Layout/Classic.pm @@ -11,33 +11,13 @@ sub new { my $self = $class->SUPER::new(@slurp); - $self->{top} = SL::Controller::Layout::Top->new; - $self->{left} = SL::Controller::Layout::MenuLeft->new; + $self->add_sub_layouts([ + SL::Controller::Layout::Top->new, + SL::Controller::Layout::MenuLeft->new, + SL::Controller::Layout::None->new, + ]); $self; } -sub pre_content { - $_[0]{top}->render . - $_[0]{left}->render; -} - -sub start_content { - "
\n"; -} - -sub stylesheets { - $_[0]{top}->stylesheets, - $_[0]{left}->stylesheets; -} - -sub javascripts { - $_[0]{top}->javascripts, - $_[0]{left}->javascripts; -} - 1;