X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fmenu%2Fmenunew.html;h=b54c9beb2942345a396c117397019cab2758f670;hb=c746b63adfc58b532ebab59fe90f882c29731f46;hp=89bad2b370c8f593cdbc647dfeb29be95ca7a817;hpb=4a12c839937370488b8b8a40bef376e7cb0a2ce6;p=kivitendo-erp.git
diff --git a/templates/webpages/menu/menunew.html b/templates/webpages/menu/menunew.html
index 89bad2b37..b54c9beb2 100644
--- a/templates/webpages/menu/menunew.html
+++ b/templates/webpages/menu/menunew.html
@@ -9,7 +9,7 @@ function clockon() {
document.getElementById('clock_id').innerHTML = (h<10?'0'+h:h)+":"+(m<10?'0'+m:m);
var timer=setTimeout("clockon()", 10000);
}
-window.onload=clockon
+$(clockon);
//-->
@@ -19,12 +19,12 @@ window.onload=clockon
- [[% 'new Window' | $T8 %]]
+ [[% 'new Window' | $T8 %]]
- [[% 'print' | $T8 %]]
+ [[% 'print' | $T8 %]]
|
- [[% 'User' | $T8 %]: [% HTML.escape(login) %] -
+ [[% 'User' | $T8 %]: [% HTML.escape(MYCONFIG.login) %] -
[% 'logout' | $T8 %]]
[% date %]
|
@@ -38,25 +38,25 @@ window.onload=clockon
[%- FOREACH mainitem = menu_items %]
[%- SET main_id = main_id + 1 %]
-
+
[%- HTML.escape(mainitem.title) %]
[%- IF mainitem.subitems %]
-
+
[%- SET sub1_id = main_id * 100 %]
[%- FOREACH sub1item = mainitem.subitems %]
[%- SET sub1_id = sub1_id + 1 %]
-
-
+
[%- HTML.escape(sub1item.title) %]
[%- IF sub1item.subitems %]
-
+
[%- SET sub2_id = sub1_id * 100 %]
[%- FOREACH sub2item = sub1item.subitems %]
[%- SET sub2_id = sub2_id + 1 %]
-
-
+
[%- HTML.escape(sub2item.title) %]
@@ -77,7 +77,6 @@ window.onload=clockon
$(function(){
DHTMLSuite.createStandardObjects();
- DHTMLSuite.configObj.setCssPath('[% myconfig.css_path %]/dhtmlsuite/');
DHTMLSuite.configObj.setImagePath('image/dhtmlsuite/');
var menu_model = new DHTMLSuite.menuModel();