X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FLayout%2FTop.pm;h=a838aeee12b3de12c389e0092971651edc6e0d4c;hb=9b36c5639d01f1c9059381c12fac5d57ff614710;hp=36170b8fee6ddfa1bb0582a42828b41a1cc7c3ba;hpb=dc4b933b9b8b6cc61cb00ab3505ed775afed52b6;p=kivitendo-erp.git diff --git a/SL/Layout/Top.pm b/SL/Layout/Top.pm index 36170b8fe..a838aeee1 100644 --- a/SL/Layout/Top.pm +++ b/SL/Layout/Top.pm @@ -6,7 +6,7 @@ use parent qw(SL::Layout::Base); sub pre_content { my ($self) = @_; - $self->SUPER::render('menu/header', { partial => 1, no_output => 1 }, + $self->presenter->render('menu/header', now => DateTime->now_local, is_fastcgi => scalar($::dispatcher->interface_type =~ /fastcgi/i), is_links => scalar($ENV{HTTP_USER_AGENT} =~ /links/i)); @@ -17,3 +17,30 @@ sub stylesheets { } 1; + +__END__ + +=encoding utf-8 + +=head1 NAME + +SL::Layout::Top - Top line in classic and v3 menu. + +=head1 DOM MODEL + +The entire top line is rendered into a div with id C. The following classes are used: + + frame-header-element: any continuous block of entries + frame-header-left: the left floating part + frame-header-right: the right floating part + frame-header-center: the centered part + +=head1 BUGS + +none yet. :) + +=head1 AUTHOR + +Sven Schoeling Es.schoeling@linet-services.deE + +=cut