]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/menu/menunew.html
Rücklinkungen nicht auf die alten menu*.pl
[mfinanz.git] / templates / webpages / menu / menunew.html
index 539bf4e55d6827acc8e934d096041f9ebd260453..7285d867f5b9658172b7aace35d557f2dc3368e1 100644 (file)
@@ -2,13 +2,14 @@
 [% USE HTML %]
  <script type="text/javascript">
 <!--
-$(function() {
+function clockon() {
   var now = new Date();
   var h = now.getHours();
   var m = now.getMinutes();
   document.getElementById('clock_id').innerHTML = (h<10?'0'+h:h)+":"+(m<10?'0'+m:m);
   var timer=setTimeout("clockon()", 10000);
-})
+}
+$(clockon);
 //-->
  </script>
 
@@ -18,12 +19,12 @@ $(function() {
   <tr>
    <td>
     &nbsp;
-    [<a href="menunew.pl?action=display" target="_blank">[% 'new Window' | $T8 %]</a>]
+    [<a href="login.pl?action=company_logo" target="_blank">[% 'new Window' | $T8 %]</a>]
     &nbsp;
-    [<a href="JavaScript:top.main_window.print()">[% 'print' | $T8 %]</a>]
+    [<a href="JavaScript:top.print()">[% 'print' | $T8 %]</a>]
    </td>
    <td align="right" nowrap>
-    [[% 'User' | $T8 %]: [% HTML.escape(login) %] -
+    [[% 'User' | $T8 %]: [% HTML.escape(MYCONFIG.login) %] -
     <a href="controller.pl?action=LoginScreen/logout" target="_top">[% 'logout' | $T8 %]</a>]
     [% date %] <span id='clock_id' style='position:relative'></span>&nbsp;
    </td>
@@ -76,7 +77,6 @@ $(function() {
 $(function(){
   DHTMLSuite.createStandardObjects();
 
-  DHTMLSuite.configObj.setCssPath('[% myconfig.css_path %]/dhtmlsuite/');
   DHTMLSuite.configObj.setImagePath('image/dhtmlsuite/');
 
   var menu_model = new DHTMLSuite.menuModel();