]> granicus.if.org Git - docbook-dsssl/commitdiff
Added admon.textlabel parameter to enable turning off
authorBob Stayton <bobs@sagehill.net>
Wed, 7 May 2003 05:39:54 +0000 (05:39 +0000)
committerBob Stayton <bobs@sagehill.net>
Wed, 7 May 2003 05:39:54 +0000 (05:39 +0000)
the text label such as Note, Warning.

xsl/html/admon.xsl

index 8f0da7184efea73daad218e761d2720d5867e053..d9d3f5f1406e45bbb54b2247ad30c7f2f3415b0f 100644 (file)
@@ -82,7 +82,9 @@
         </td>
         <th align="left">
           <xsl:call-template name="anchor"/>
-          <xsl:apply-templates select="." mode="object.title.markup"/>
+          <xsl:if test="$admon.textlabel != 0">
+            <xsl:apply-templates select="." mode="object.title.markup"/>
+          </xsl:if>
         </th>
       </tr>
       <tr>
 
     <h3 class="title">
       <xsl:call-template name="anchor"/>
+      <xsl:if test="$admon.textlabel != 0">
+        <xsl:apply-templates select="." mode="object.title.markup"/>
+      </xsl:if>
       <xsl:apply-templates select="." mode="object.title.markup"/>
     </h3>