-[%- USE T8 %]
-<style type='text/css'>
- body { margin: 0; color: white; background: url('image/fade.png') repeat-x; }
- a:link, a:visited, a:hover, a:active { color:white }
- body > * { font-size: 12px; font-family:verdana,arial,sans-serif; vertical-align:middle; }
- table { border:0; width: 100%; background: url('image/bg_titel.gif'); border-spacing:0; }
- td { padding: 0 }
-</style>
-<script language='javascript' src='js/switchmenuframe.js'></script>
-<body>
- <table>
- <tr>
-[% UNLESS is_links %]
- <td nowrap>
- [<a href="JavaScript:Switch_Menu();" title="[% 'Switch Menu on / off' | $T8 %]">[% 'Menu' | $T8 %]</a>]
- [<a HREF="login.pl" target="_blank" title="[% 'Open a further Lx-Office Window or Tab' | $T8 %]">[% 'New Win/Tab' | $T8 %]</a>]
- [<a href="JavaScript:top.main_window.print();" title="[% 'Hardcopy' | $T8 %]">[% 'Print' | $T8 %]</a>]
- [<a href="Javascript:top.main_window.history.back();" title="[% 'Go one step back' | $T8 %]">[% 'Back' | $T8 %]</a>]
- [<a href="Javascript:top.main_window.history.forward();" title="[% 'Go one step forward' | $T8 %]">[% 'Fwd' | $T8 %]</a>]
- </td>
+[%- USE T8 %][%- USE LxERP -%]
+[%- UNLESS skip_frame_header %]
+<div id="frame-header">
+[%- UNLESS is_links %]
+ <span class="frame-header-element frame-header-left">
+ [<a href="controller.pl?action=LoginScreen/user_login" target="_blank" title="[% 'Open a further kivitendo window or tab' | $T8 %]">[% 'New window/tab' | $T8 %]</a>]
+ [<a href="JavaScript:top.print();" title="[% 'Hardcopy' | $T8 %]">[% 'Print' | $T8 %]</a>]
+
+[%- FOREACH search = quick_search.enabled_modules %]
+ [<input id="top-quick-search-[% search.name %]" module="[% search.name %]" placeholder="[% search.description_field %]" maxlength="20">]