changeorder.xsl 1.41 KB
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="move-button[@style='fwd']">
  <input border="0" type="image" name="{@id}" src="{$context}/wcf/changeorder/move-down.png" width="9" height="9"/>
</xsl:template>

<xsl:template match="move-button[@style='bwd']">
  <input border="0" type="image" name="{@id}" src="{$context}/wcf/changeorder/move-up.png" width="9" height="9"/>
</xsl:template>

<xsl:template match="move-button[@style='cut']">
  <input border="0" type="image" name="{@id}" src="{$context}/wcf/changeorder/cut.png" width="9" height="9" title="{@title}"/>
</xsl:template>

<xsl:template match="move-button[@style='uncut']">
  <input border="0" type="image" name="{@id}" src="{$context}/wcf/changeorder/uncut.png" width="9" height="9" title="{@title}"/>
</xsl:template>

<xsl:template match="move-button[@style='paste-before']">
  <input border="0" type="image" name="{@id}" src="{$context}/wcf/changeorder/paste-before.png" width="9" height="9" title="{@title}"/>
</xsl:template>

<xsl:template match="move-button[@style='paste-after']">
  <input border="0" type="image" name="{@id}" src="{$context}/wcf/changeorder/paste-after.png" width="9" height="9" title="{@title}"/>
</xsl:template>

<xsl:template match="move-button">
  <img src="{$context}/wcf/changeorder/move-empty.png" width="9" height="9"/>
</xsl:template>

</xsl:stylesheet>