You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by cr...@apache.org on 2003/01/17 02:19:38 UTC
cvs commit: xml-forrest/src/resources/skins/krysalis-site/xslt/html site2xhtml.xsl
crossley 2003/01/16 17:19:38
Modified: src/resources/skins/forrest-site/xslt/html site2xhtml.xsl
src/resources/skins/krysalis-site/xslt/html site2xhtml.xsl
Log:
The valign attribute was incorrectly on the <a> element rather than
the <img> element.
Thanks to: Ralf Hauser
PR: FOR-25
Revision Changes Path
1.16 +3 -3 xml-forrest/src/resources/skins/forrest-site/xslt/html/site2xhtml.xsl
Index: site2xhtml.xsl
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/skins/forrest-site/xslt/html/site2xhtml.xsl,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- site2xhtml.xsl 29 Nov 2002 12:25:14 -0000 1.15
+++ site2xhtml.xsl 17 Jan 2003 01:19:38 -0000 1.16
@@ -259,8 +259,8 @@
<xsl:variable name="image" select="image"/>
<xsl:variable name="width" select="width"/>
<xsl:variable name="height" select="height"/>
- <a href="{$url}" valign="top">
- <img alt="{$name} logo" border="0">
+ <a href="{$url}">
+ <img alt="{$name} logo" valign="top" border="0">
<xsl:attribute name="src">
<xsl:if test="not(starts-with($image, 'http://'))"><xsl:value-of select="$root"/></xsl:if>
<xsl:value-of select="$image"/>
1.2 +3 -3 xml-forrest/src/resources/skins/krysalis-site/xslt/html/site2xhtml.xsl
Index: site2xhtml.xsl
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/skins/krysalis-site/xslt/html/site2xhtml.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- site2xhtml.xsl 7 Dec 2002 16:26:34 -0000 1.1
+++ site2xhtml.xsl 17 Jan 2003 01:19:38 -0000 1.2
@@ -307,8 +307,8 @@
<xsl:variable name="image" select="image"/>
<xsl:variable name="width" select="width"/>
<xsl:variable name="height" select="height"/>
- <a href="{$url}" valign="top">
- <img alt="{$name} logo" border="0">
+ <a href="{$url}">
+ <img alt="{$name} logo" valign="top" border="0">
<xsl:attribute name="src">
<xsl:if test="not(starts-with($image, 'http://'))"><xsl:value-of select="$root"/></xsl:if>
<xsl:value-of select="$image"/>