Seitliches HTML-Menü lässt sich ein- und ausklappen. (update)
[kivitendo-erp.git] / xslt / xulmenu.xsl
index c4b5dde..243d30e 100644 (file)
 <xsl:template match="doc" mode="html">
   <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
-      <meta http-equiv="refresh" content="2;url=menuv3.pl?action=display"/>
+      <meta http-equiv="refresh" content="2;url=menu.pl?action=display"/>
     </head>
     <body>
 Ihr Browser unterstuetzt kein XUL!<br/>
-wenn die automatische weiterleitung nicht funktioniert klicken sie <a href="menuv3.pl?action=display">hier</a>
+Falls die automatische Weiterleitung nicht funktioniert, klicken Sie <a href="menu.pl?action=display">hier</a>.
     </body>
   </html>
 </xsl:template>
@@ -253,16 +253,17 @@ document.getElementById("main_window").contentWindow.history.forward()
 <!-- ***************************************************************************  -->
 
 <!-- special buttons ( logout , print, open new window )
+The tooltips, like tooltiptext="Neues Fenster", do not appear in my Firefox/Prism browsers. Why?
+https://developer.mozilla.org/en/XUL_Tutorial/Popup_Menus
+https://developer.mozilla.org/en/XUL/Attribute/tooltiptext
 ****************************************************************************  -->
 <xsl:template name="specialbuttons">
-  <toolbarbutton image="image/icons/24x24/Batch Printing.png" tooltiptext="hallo" oncommand="PrintW(event)"/>
-  <toolbarbutton image="image/icons/24x24/Neues Fenster.png" tooltip="Neues Fenster" link="menuXML.pl?action=display" target="_top" oncommand="openLinkNewWindow(event)"/>
-  <toolbarbutton label="Logout" link="{/*//item[@id='Programm--Logout']/@link}" target="_top" oncommand="openLink(event)">
-    <image src="image/icons/24x24/Programm--Logout.png" width="24" height="24" />
-  </toolbarbutton>
-<toolbarseparator/>
- <toolbarbutton label="back" tooltiptext="hallo" oncommand="MyGoBack()"/>
-  <toolbarbutton label="forward" tooltip="Neues Fenster" oncommand="MyGoForward()"/>
+    <toolbarbutton image="image/icons/24x24/Batch Printing.png" oncommand="PrintW(event)" tooltiptext="Drucken"/>
+    <toolbarbutton image="image/icons/24x24/Neues Fenster.png" tooltiptext="Neues Fenster" link="menuXML.pl?action=display" target="_top" oncommand="openLinkNewWindow(event)"/>
+    <toolbarbutton image="image/icons/24x24/Program--Logout.png" link="{/*//item[@id='Program--Logout']/@link}" target="_top" oncommand="openLink(event)" tooltiptext="Abmelden"/>
+  <toolbarseparator/>
+    <toolbarbutton image="image/icons/24x24/leftarrow_24.png" tooltiptext="Schritt zurück" oncommand="MyGoBack()"/>
+    <toolbarbutton image="image/icons/24x24/rightarrow_24.png" tooltiptext="Schritt vor" oncommand="MyGoForward()"/>
 </xsl:template>
 <!-- ***************************************************************************  -->
 
@@ -272,10 +273,8 @@ document.getElementById("main_window").contentWindow.history.forward()
 <xsl:template name="searchbox">
 <vbox style="padding-top:2px">
   <hbox>
-
-    <textbox height="22px" style="font-size:12px;margin-right:0px" width="200px" id="searchboxtext" onkeypress="checkEnter(event)"/>
-<toolbarbutton type="toolbar" width="20" height="20" style="padding:5px !important"
-image="image/icons/16x16/CRM--Schnellsuche.png" flex="0" oncommand="doSearch()"/>
+    <textbox style="font-size:11px;margin-right:0px" width="200px" id="searchboxtext" onkeypress="checkEnter(event)"/> 
+    <toolbarbutton type="toolbar" width="20" height="20" style="padding:5px !important" image="image/icons/16x16/CRM--Schnellsuche.png" flex="0" oncommand="doSearch()"/>
 </hbox>
 
 </vbox>