You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by fe...@apache.org on 2006/04/15 15:40:02 UTC
svn commit: r394287 -
/jakarta/cactus/trunk/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl
Author: felipeal
Date: Sat Apr 15 06:40:00 2006
New Revision: 394287
URL: http://svn.apache.org/viewcvs?rev=394287&view=rev
Log:
fixed reference to images dir
Modified:
jakarta/cactus/trunk/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl
Modified: jakarta/cactus/trunk/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl
URL: http://svn.apache.org/viewcvs/jakarta/cactus/trunk/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl?rev=394287&r1=394286&r2=394287&view=diff
==============================================================================
--- jakarta/cactus/trunk/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl (original)
+++ jakarta/cactus/trunk/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl Sat Apr 15 06:40:00 2006
@@ -926,6 +926,11 @@
</xsl:call-template>
</xsl:variable>
+ <!-- Base directory - to get images -->
+ <xsl:variable name="basedir">
+ <xsl:call-template name="get-base-directory"/>
+ </xsl:variable>
+
<xsl:variable name="perdirnav"
select="document(concat($xdocdir,'/',$dir,'/navigation.xml'))/navigation"/>
@@ -940,7 +945,15 @@
</xsl:otherwise>
</xsl:choose>
<li>
- <img src="images/cactusbanner.gif"/>
+ <img>
+ <xsl:attribute name="alt">
+ <xsl:call-template name="get-title"/>
+ </xsl:attribute>
+ <xsl:attribute name="src">
+ <xsl:value-of select="$basedir"/>
+ <xsl:text>images/cactusbanner.gif</xsl:text>
+ </xsl:attribute>
+ </img>
</li>
</ul>
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org