- Timestamp:
- 12/10/2013 11:37:38 PM (11 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 112db9d
- Parents:
- f2a5108
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml-1_1/admon.xsl
rf2a5108 rb1a51ac1 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.