1 package SL::Layout::Top;
4 use parent qw(SL::Layout::Base);
6 use SL::Controller::TopQuickSearch;
11 $self->presenter->render('menu/header',
12 now => DateTime->now_local,
13 is_fastcgi => $::dispatcher ? scalar($::dispatcher->interface_type =~ /fastcgi/i) : 0,
14 is_links => scalar($ENV{HTTP_USER_AGENT} =~ /links/i),
15 quick_search => SL::Controller::TopQuickSearch->new,
20 'frame_header/header.css';
25 'kivi.QuickSearch.js',
36 SL::Layout::Top - Top line in classic and v3 menu.
40 The entire top line is rendered into a div with id C<frame-header>. The following classes are used:
42 frame-header-element: any continuous block of entries
43 frame-header-left: the left floating part
44 frame-header-right: the right floating part
45 frame-header-center: the centered part
53 Sven Schoeling E<lt>s.schoeling@linet-services.deE<gt>