X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fmenu%2Fmenunew.html;h=4c51b6637a0af3f9149218683095bf5e3aaac95f;hb=10687edafbc052375683d65e36ce42b4586f7240;hp=89bad2b370c8f593cdbc647dfeb29be95ca7a817;hpb=4a12c839937370488b8b8a40bef376e7cb0a2ce6;p=kivitendo-erp.git
diff --git a/templates/webpages/menu/menunew.html b/templates/webpages/menu/menunew.html
index 89bad2b37..4c51b6637 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 %]
|
@@ -42,7 +42,7 @@ window.onload=clockon
[%- HTML.escape(mainitem.title) %]
[%- IF mainitem.subitems %]
-
+
[%- SET sub1_id = main_id * 100 %]
[%- FOREACH sub1item = mainitem.subitems %]
[%- SET sub1_id = sub1_id + 1 %]
@@ -51,7 +51,7 @@ window.onload=clockon
[%- HTML.escape(sub1item.title) %]
[%- IF sub1item.subitems %]
-
+
[%- SET sub2_id = sub1_id * 100 %]
[%- FOREACH sub2item = sub1item.subitems %]
[%- SET sub2_id = sub2_id + 1 %]
@@ -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();