ActionBar: V3 Layout
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 20 Oct 2016 09:40:54 +0000 (11:40 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 28 Feb 2017 09:04:33 +0000 (10:04 +0100)
SL/Layout/V3.pm

index bc4ecb7..dc39a18 100644 (file)
@@ -6,13 +6,17 @@ use parent qw(SL::Layout::Base);
 use SL::Layout::None;
 use SL::Layout::Top;
 use SL::Layout::CssMenu;
+use SL::Layout::ActionBar;
 use SL::Layout::Content;
 
 sub init_sub_layouts {
+  $_[0]->sub_layouts_by_name->{actionbar} = SL::Layout::ActionBar->new;
+
   [
     SL::Layout::None->new,
     SL::Layout::Top->new,
     SL::Layout::CssMenu->new,
+    $_[0]->sub_layouts_by_name->{actionbar},
     SL::Layout::Content->new,
   ]
 }