2 [% USE HTML %]<body style="padding:0px; margin:0px;">
4 <script type="text/javascript">
8 var h = now.getHours();
9 var m = now.getMinutes();
10 document.getElementById('clock_id').innerHTML = (h<10?'0'+h:h)+":"+(m<10?'0'+m:m);
11 var timer=setTimeout("clockon()", 10000);
17 <script type="text/javascript" src="js/dhtmlsuite/menu-for-applications.js"></script>
19 <table border="0" width="100%" background="image/bg_titel.gif" cellpadding="0" cellspacing="0">
21 <td style="color:white; font-family:verdana,arial,sans-serif; font-size: 12px;">
23 [<a href="menuv3.pl?action=display" target="_blank">[% 'new Window' | $T8 %]</a>]
25 [<a href="JavaScript:top.main_window.print()">[% 'print' | $T8 %]</a>]
27 <td align="right" style="vertical-align:middle; color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>
28 [[% 'User' | $T8 %]: [% HTML.escape(login) %] -
29 <a href="login.pl?action=logout" target="_top">[% 'logout' | $T8 %]</a>]
30 [% date %] <span id='clock_id' style='position:relative'></span>
35 <div id="main_menu_div"></div>
37 [%- SET main_id = '100' %]
38 <ul id="main_menu_model">
39 [%- FOREACH mainitem = menu_items %]
40 [%- SET main_id = main_id + 1 %]
41 <li id="[% main_id %]">
42 <a href="[% IF mainitem.href %][% mainitem.href %][% ELSE %]#[% END %]"[% IF mainitem.target %] target="[% mainitem.target %]"[% END %]>
43 [%- HTML.escape(mainitem.title) %]
45 [%- IF mainitem.subitems %]
46 <ul[%- IF force_ul_width %] width="[% mainitem.max_width * 12 %]"[% END %]>
47 [%- SET sub1_id = main_id * 100 %]
48 [%- FOREACH sub1item = mainitem.subitems %]
49 [%- SET sub1_id = sub1_id + 1 %]
50 <li id="[% sub1_id %]">
51 <a href="[% IF sub1item.href %][% sub1item.href %][% ELSE %]#[% END %]"[% IF sub1item.target %] target="[% sub1item.target %]"[% END %]>
52 [%- HTML.escape(sub1item.title) %]
54 [%- IF sub1item.subitems %]
55 <ul[%- IF force_ul_width %] width="[% sub1item.max_width * 12 %]"[% END %]>
56 [%- SET sub2_id = sub1_id * 100 %]
57 [%- FOREACH sub2item = sub1item.subitems %]
58 [%- SET sub2_id = sub2_id + 1 %]
59 <li id="[% sub2_id %]">
60 <a href="[% IF sub2item.href %][% sub2item.href %][% ELSE %]#[% END %]"[% IF sub2item.target %] target="[% sub2item.target %]"[% END %]>
61 [%- HTML.escape(sub2item.title) %]
75 <script type="text/javascript">
78 DHTMLSuite.createStandardObjects();
80 DHTMLSuite.configObj.setCssPath('css/dhtmlsuite/');
81 DHTMLSuite.configObj.setImagePath('image/dhtmlsuite/');
83 var menu_model = new DHTMLSuite.menuModel();
84 menu_model.addItemsFromMarkup('main_menu_model');
87 var menu_bar = new DHTMLSuite.menuBar();
88 menu_bar.addMenuItems(menu_model);
89 menu_bar.setTarget('main_menu_div');
92 function open_url(url, target) {
99 <iframe id="win1" src="[% callback %]" width="100%" height="94%" name="main_window" style="position: absolute; border: 0px; z-index: 99; ">
100 <p>[% 'MSG_BROWSER_DOES_NOT_SUPPORT_IFRAMES' | $T8 %]</p>