- Timestamp:
- 10/08/2013 08:03:29 PM (11 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 58675ce
- Parents:
- 09a35dd
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml-1_1/admon.xsl
r09a35dd r15c7d39 5 5 6 6 <!-- ******************************************************************** 7 $Id $7 $Id: admon.xsl 9352 2012-05-12 23:17:11Z bobstayton $ 8 8 ******************************************************************** 9 9 … … 63 63 64 64 <div> 65 <xsl:apply-templates select="." mode="class.attribute"/> 65 <xsl:call-template name="common.html.attributes"/> 66 <xsl:call-template name="id.attribute"/> 66 67 <xsl:if test="$admon.style != ''"> 67 68 <xsl:attribute name="style"> … … 70 71 </xsl:if> 71 72 72 <table border="0"> 73 <xsl:attribute name="summary"> 74 <xsl:value-of select="$admon.type"/> 75 <xsl:if test="title|info/title"> 76 <xsl:text>: </xsl:text> 77 <xsl:value-of select="(title|info/title)[1]"/> 78 </xsl:if> 79 </xsl:attribute> 73 <table border="{$table.border.off}"> 74 <!-- omit summary attribute in html5 output --> 75 <xsl:if test="$div.element != 'section'"> 76 <xsl:attribute name="summary"> 77 <xsl:value-of select="$admon.type"/> 78 <xsl:if test="title|info/title"> 79 <xsl:text>: </xsl:text> 80 <xsl:value-of select="(title|info/title)[1]"/> 81 </xsl:if> 82 </xsl:attribute> 83 </xsl:if> 80 84 <tr> 81 85 <td rowspan="2" align="center" valign="top"> 82 <xsl:attribute name="width"> 83 <xsl:apply-templates select="." mode="admon.graphic.width"/> 84 </xsl:attribute> 86 85 87 <img alt="[{$alt}]"> 86 88 <xsl:attribute name="src"> … … 89 91 </img> 90 92 </td> 91 <th align=" left">93 <th align="{$direction.align.start}"> 92 94 <xsl:call-template name="anchor"/> 93 95 <xsl:if test="$admon.textlabel != 0 or title or info/title"> … … 97 99 </tr> 98 100 <tr> 99 <td align=" left" valign="top">101 <td align="{$direction.align.start}" valign="top"> 100 102 <xsl:apply-templates/> 101 103 </td> … … 107 109 <xsl:template name="nongraphical.admonition"> 108 110 <div> 109 <xsl:apply-templates select="." mode="class.attribute"/> 111 <xsl:call-template name="common.html.attributes"> 112 <xsl:with-param name="inherit" select="1"/> 113 </xsl:call-template> 114 <xsl:call-template name="id.attribute"/> 110 115 <xsl:if test="$admon.style"> 111 116 <xsl:attribute name="style">
Note:
See TracChangeset
for help on using the changeset viewer.