diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-12-19 21:17:48 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-12-19 21:17:48 +0000 |
commit | f7bd105db3cf74fb6d2bfed726cf5d187cb1109f (patch) | |
tree | 0077803fc32f39b293b3860f6ffa765eefcec94f /stylesheets/xhtml/lfs-admon.xsl | |
parent | 6d3af72bf2b333798eba7b88075fccab9441519f (diff) |
Updated the stylesheets and Makefile.
Removed contrib/, index-pdf.xml and goTidy.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4428 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/xhtml/lfs-admon.xsl')
-rw-r--r-- | stylesheets/xhtml/lfs-admon.xsl | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/stylesheets/xhtml/lfs-admon.xsl b/stylesheets/xhtml/lfs-admon.xsl index e83956d12..9b03394a9 100644 --- a/stylesheets/xhtml/lfs-admon.xsl +++ b/stylesheets/xhtml/lfs-admon.xsl @@ -21,19 +21,20 @@ <xsl:otherwise>Note</xsl:otherwise> </xsl:choose> </xsl:variable> + <xsl:variable name="alt"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="$admon.type"/> + </xsl:call-template> + </xsl:variable> <div class="{name(.)}"> <div class ="admonhead"> - <img alt="[{$admon.type}]"> + <img alt="[{$alt}]"> <xsl:attribute name="src"> <xsl:call-template name="admon.graphic"/> </xsl:attribute> </img> <h3 class="admontitle"> - <xsl:value-of select="$admon.type"/> - <xsl:if test="title"> - <xsl:text>: </xsl:text> - <xsl:value-of select="title"/> - </xsl:if> + <xsl:apply-templates select="." mode="object.title.markup"/> </h3> </div> <div class="admonbody"> |