1 package SL::Layout::Top;
4 use parent qw(SL::Layout::Base);
9 $self->presenter->render('menu/header',
10 now => DateTime->now_local,
11 is_fastcgi => $::dispatcher ? scalar($::dispatcher->interface_type =~ /fastcgi/i) : (),
12 is_links => scalar($ENV{HTTP_USER_AGENT} =~ /links/i),
17 'frame_header/header.css';
21 ('js/quicksearch_input.js') x!! $::auth->assert('customer_vendor_edit', 1),
22 ('js/glquicksearch.js') x!! $::auth->assert('general_ledger', 1)
33 SL::Layout::Top - Top line in classic and v3 menu.
37 The entire top line is rendered into a div with id C<frame-header>. The following classes are used:
39 frame-header-element: any continuous block of entries
40 frame-header-left: the left floating part
41 frame-header-right: the right floating part
42 frame-header-center: the centered part
50 Sven Schoeling E<lt>s.schoeling@linet-services.deE<gt>