projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master', remote branch 'origin'
[kivitendo-erp.git]
/
SL
/
Layout
/
Classic.pm
diff --git
a/SL/Layout/Classic.pm
b/SL/Layout/Classic.pm
index
a2ef770
..
9503d05
100644
(file)
--- a/
SL/Layout/Classic.pm
+++ b/
SL/Layout/Classic.pm
@@
-5,19
+5,14
@@
use parent qw(SL::Layout::Base);
use SL::Layout::Top;
use SL::Layout::MenuLeft;
use SL::Layout::Top;
use SL::Layout::MenuLeft;
+use SL::Layout::None;
-sub new {
- my ($class, @slurp) = @_;
-
- my $self = $class->SUPER::new(@slurp);
-
- $self->add_sub_layouts([
+sub init_sub_layouts {
+ [
SL::Layout::Top->new,
SL::Layout::MenuLeft->new,
SL::Layout::None->new,
SL::Layout::Top->new,
SL::Layout::MenuLeft->new,
SL::Layout::None->new,
- ]);
-
- $self;
+ ]
}
1;
}
1;