X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FLayout%2FAdmin.pm;h=03832b55591628affcbef4b3781e4bed62ea8063;hb=a66cafd980c44371fd29b0383f665125d85b1cc7;hp=188655fae01dae1f965782816c39c37ffd1851ff;hpb=b6fd15a8dc44f9b09d5a2bce766cda14b87c6e13;p=kivitendo-erp.git diff --git a/SL/Layout/Admin.pm b/SL/Layout/Admin.pm index 188655fae..03832b555 100644 --- a/SL/Layout/Admin.pm +++ b/SL/Layout/Admin.pm @@ -1,18 +1,18 @@ package SL::Layout::Admin; use strict; -use parent qw(SL::Layout::Base); +use parent qw(SL::Layout::None); -sub new { - my ($class, @slurp) = @_; +use SL::Menu; +use SL::Layout::None; +use SL::Layout::Top; +use SL::Layout::CssMenu; - my $self = $class->SUPER::new(@slurp); - - $self->add_sub_layouts([ +sub init_sub_layouts { + [ SL::Layout::None->new, - ]); - - $self; + SL::Layout::CssMenu->new(menu => SL::Menu->new('admin')), + ] } sub start_content { @@ -23,4 +23,5 @@ sub end_content { "\n"; } + 1;