You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by ni...@apache.org on 2003/12/30 01:00:06 UTC
cvs commit: xml-forrest/src/core/context/skins/common/xslt/html document2html.xsl
nicolaken 2003/12/29 16:00:06
Modified: src/core/context/skins/common/xslt/html document2html.xsl
Log:
Make the alt attribute more cute and functional when the images are not present.
Revision Changes Path
1.3 +2 -2 xml-forrest/src/core/context/skins/common/xslt/html/document2html.xsl
Index: document2html.xsl
===================================================================
RCS file: /home/cvs/xml-forrest/src/core/context/skins/common/xslt/html/document2html.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- document2html.xsl 28 Dec 2003 22:54:16 -0000 1.2
+++ document2html.xsl 30 Dec 2003 00:00:06 -0000 1.3
@@ -245,7 +245,7 @@
</xsl:when>
<xsl:when test="not($disable-external-link-image='true') and contains(@href, ':') and not(contains(@href, $config/group-url)) and not(contains(@href, $config/project-url))">
<a href="{@href}">
- <xsl:apply-templates/> <img src="{$skin-img-dir}/external-link.gif" border="0" alt="links outside of this site"/> 
+ <xsl:apply-templates/> <img src="{$skin-img-dir}/external-link.gif" border="0" alt=" -> "/> 
</a>
</xsl:when>
<xsl:otherwise>