aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/xhtml/lfs-admon.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'stylesheets/xhtml/lfs-admon.xsl')
-rw-r--r--stylesheets/xhtml/lfs-admon.xsl13
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">