besseres interface und delegating für layouts, inline accessoren
[kivitendo-erp.git] / SL / Controller / Layout / Top.pm
1 package SL::Controller::Layout::Top;
2
3 use strict;
4 use parent qw(SL::Controller::Layout::Base);
5
6 sub pre_content {
7   my ($self) = @_;
8
9   $self->SUPER::render('menu/header', { partial => 1, no_output => 1 },
10                 now        => DateTime->now_local,
11                 is_fastcgi => scalar($::dispatcher->interface_type =~ /fastcgi/i),
12                 is_links   => scalar($ENV{HTTP_USER_AGENT}         =~ /links/i));
13 }
14
15 sub stylesheets {
16 # 'frame_header/header.css';
17 }
18
19 1;