- Timestamp:
- 2008-07-12T12:38:34+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/styles/standard/overview.xsl
r703 r705 14 14 15 15 16 16 <xsl:variable name="xscale">20</xsl:variable> 17 <xsl:variable name="yscale">10</xsl:variable> 18 17 19 18 20 … … 77 79 <xsl:with-param name="inpos" select="$inpos + 1"/> 78 80 <xsl:with-param name="xpos" select="$xpos"/> 79 <xsl:with-param name="ypos" select="$ypos + 1"/>81 <xsl:with-param name="ypos" select="$ypos + $yscale"/> 80 82 </xsl:call-template> 81 83 </xsl:if> … … 97 99 <xsl:param name="key"/> 98 100 <xsl:param name="xpos"/> 101 102 103 <xsl:variable name="xoffset"><xsl:value-of select="number($xpos*$xscale)" /></xsl:variable> 104 99 105 100 106 <!-- header item --> 101 107 <xsl:variable name="xoutpos"> 102 108 <xsl:choose> 103 <xsl:when test="$x pos >= 100"><xsl:value-of select="$xpos" /></xsl:when>104 <xsl:when test="$x pos >= 10">0<xsl:value-of select="$xpos" /></xsl:when>105 <xsl:otherwise>00<xsl:value-of select="$x pos" /></xsl:otherwise>109 <xsl:when test="$xoffset >= 100"><xsl:value-of select="$xoffset" /></xsl:when> 110 <xsl:when test="$xoffset >= 10">0<xsl:value-of select="$xoffset" /></xsl:when> 111 <xsl:otherwise>00<xsl:value-of select="$xoffset" /></xsl:otherwise> 106 112 </xsl:choose> 107 113 </xsl:variable> 108 114 109 115 <xsl:element name="node"> 110 <xsl:attribute name="id">-<xsl:value-of select="$x pos" />0000</xsl:attribute>116 <xsl:attribute name="id">-<xsl:value-of select="$xoffset" />0000</xsl:attribute> 111 117 <xsl:attribute name="user">overview-creator</xsl:attribute> 112 118 <xsl:attribute name="visible">true</xsl:attribute> … … 128 134 <xsl:with-param name="key" select="$key"/> 129 135 <xsl:with-param name="inpos" select="1"/> 130 <xsl:with-param name="xpos" select="$x pos"/>131 <xsl:with-param name="ypos" select=" 1"/>136 <xsl:with-param name="xpos" select="$xoffset"/> 137 <xsl:with-param name="ypos" select="$yscale"/> 132 138 </xsl:call-template> 133 139 </xsl:template>
Note:
See TracChangeset
for help on using the changeset viewer.