]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Layout/Admin.pm
Layout package names refactored
[kivitendo-erp.git] / SL / Layout / Admin.pm
diff --git a/SL/Layout/Admin.pm b/SL/Layout/Admin.pm
new file mode 100644 (file)
index 0000000..188655f
--- /dev/null
@@ -0,0 +1,26 @@
+package SL::Layout::Admin;
+
+use strict;
+use parent qw(SL::Layout::Base);
+
+sub new {
+  my ($class, @slurp) = @_;
+
+  my $self = $class->SUPER::new(@slurp);
+
+  $self->add_sub_layouts([
+    SL::Layout::None->new,
+  ]);
+
+  $self;
+}
+
+sub start_content {
+  "<div id='admin' class='admin'>\n";
+}
+
+sub end_content {
+  "</div>\n";
+}
+
+1;