projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
POD: Typo in Autor-Abschnitt verbessert.
[kivitendo-erp.git]
/
SL
/
Layout
/
Classic.pm
diff --git
a/SL/Layout/Classic.pm
b/SL/Layout/Classic.pm
index
a2ef770
..
e8974c1
100644
(file)
--- a/
SL/Layout/Classic.pm
+++ b/
SL/Layout/Classic.pm
@@
-5,19
+5,22
@@
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;
+use SL::Layout::Split;
+use SL::Layout::ActionBar;
+use SL::Layout::Content;
-sub
new
{
-
my ($class, @slurp) = @_
;
+sub
init_sub_layouts
{
+
$_[0]->sub_layouts_by_name->{actionbar} = SL::Layout::ActionBar->new
;
- my $self = $class->SUPER::new(@slurp);
-
- $self->add_sub_layouts([
- SL::Layout::Top->new,
- SL::Layout::MenuLeft->new,
+ [
SL::Layout::None->new,
SL::Layout::None->new,
- ]);
-
- $self;
+ SL::Layout::Top->new,
+ SL::Layout::Split->new(
+ left => [ SL::Layout::MenuLeft->new ],
+ right => [ $_[0]->sub_layouts_by_name->{actionbar}, SL::Layout::Content->new ],
+ )
+ ]
}
1;
}
1;