Revision ac7a6ae3
Von Holger Will vor etwa 17 Jahren hinzugefügt
xslt/xulmenu.xsl | ||
---|---|---|
4 | 4 |
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
5 | 5 |
|
6 | 6 |
<xsl:template match="/"> |
7 |
<xsl:apply-templates/> |
|
7 |
<xsl:choose> |
|
8 |
<xsl:when test="system-property('xsl:vendor')='Transformiix'"> |
|
9 |
<xsl:apply-templates/> |
|
10 |
</xsl:when> |
|
11 |
<xsl:otherwise> |
|
12 |
<xsl:apply-templates mode="html"/> |
|
13 |
</xsl:otherwise> |
|
14 |
</xsl:choose> |
|
15 |
</xsl:template> |
|
16 |
|
|
17 |
<xsl:template match="doc" mode="html"> |
|
18 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
19 |
<head> |
|
20 |
<meta http-equiv="refresh" content="2;url=menuv3.pl?action=display&login={/doc/login}&password={/doc/password}"/> |
|
21 |
</head> |
|
22 |
<body> |
|
23 |
Ihr Browser unterstuetzt kein XUL!<br/> |
|
24 |
wenn die automatische weiterleitung nicht funktioniert klicken sie <a href="menuv3.pl?action=display&login={/doc/login}&password={/doc/password}">hier</a> |
|
25 |
</body> |
|
26 |
</html> |
|
8 | 27 |
</xsl:template> |
9 | 28 |
|
10 | 29 |
<!-- main document structure --> |
... | ... | |
143 | 162 |
<!-- *************************************************************************** --> |
144 | 163 |
|
145 | 164 |
|
146 |
<!-- template f?r die uhr
|
|
165 |
<!-- template fuer die uhr
|
|
147 | 166 |
******************************************************************************** --> |
148 | 167 |
<xsl:template name="uhr"> |
149 | 168 |
|
... | ... | |
227 | 246 |
if(event.keyCode==13) doSearch() |
228 | 247 |
} |
229 | 248 |
//setInterval("updateClock()",1000) |
230 |
|
|
249 |
function MyGoBack(){ |
|
250 |
document.getElementById("main_window").contentWindow.history.back() |
|
251 |
} |
|
252 |
function MyGoForward(){ |
|
253 |
document.getElementById("main_window").contentWindow.history.forward() |
|
254 |
} |
|
231 | 255 |
</html:script> |
232 | 256 |
</xsl:template> |
233 | 257 |
<!-- *************************************************************************** --> |
... | ... | |
240 | 264 |
<toolbarbutton label="Logout" link="{/*//item[@id='Programm--Logout']/@link}" target="_top" oncommand="openLink(event)"> |
241 | 265 |
<image src="image/icons/24x24/Programm--Logout.png" width="24" height="24" /> |
242 | 266 |
</toolbarbutton> |
267 |
<toolbarseparator/> |
|
268 |
<toolbarbutton label="back" tooltiptext="hallo" oncommand="MyGoBack()"/> |
|
269 |
<toolbarbutton label="forward" tooltip="Neues Fenster" oncommand="MyGoForward()"/> |
|
243 | 270 |
</xsl:template> |
244 | 271 |
<!-- *************************************************************************** --> |
245 | 272 |
|
... | ... | |
247 | 274 |
<!-- searchbox |
248 | 275 |
**************************************************************************** --> |
249 | 276 |
<xsl:template name="searchbox"> |
250 |
<vbox style="padding-top:5px">
|
|
277 |
<vbox style="padding-top:2px">
|
|
251 | 278 |
<hbox> |
252 | 279 |
|
253 | 280 |
<textbox height="22px" style="font-size:12px;margin-right:0px" width="200px" id="searchboxtext" onkeypress="checkEnter(event)"/> |
254 | 281 |
<toolbarbutton type="toolbar" width="20" height="20" style="padding:5px !important" |
255 |
image="xslt/images/16x16/CRM--Schnellsuche.png" flex="0" oncommand="doSearch()"/>
|
|
282 |
image="image/icons/16x16/CRM--Schnellsuche.png" flex="0" oncommand="doSearch()"/>
|
|
256 | 283 |
</hbox> |
257 | 284 |
|
258 | 285 |
</vbox> |
... | ... | |
298 | 325 |
<input name="l_partnumber" class="checkbox" type="checkbox" value="Y" checked="true"/>Artikelnummer |
299 | 326 |
<input name="l_description" class="checkbox" type="checkbox" value="Y" checked="true"/>Artikelbeschreibung |
300 | 327 |
<input name="l_serialnumber" class="checkbox" type="checkbox" value="Y"/>Seriennummer |
301 |
<input name="l_unit" class="checkbox" type="checkbox" value="Y" checked="true"/>Ma?einheit
|
|
328 |
<input name="l_unit" class="checkbox" type="checkbox" value="Y" checked="true"/>Maszeinheit
|
|
302 | 329 |
<input name="l_listprice" class="checkbox" type="checkbox" value="Y"/>Listenpreis |
303 | 330 |
<input name="l_sellprice" class="checkbox" type="checkbox" value="Y" checked="true"/>Verkaufspreis |
304 | 331 |
<input name="l_lastcost" class="checkbox" type="checkbox" value="Y" checked="true"/>Einkaufspreis |
Auch abrufbar als: Unified diff
fallback fuer browser die kein XUL koennen