techtonik Wed Nov 3 15:57:34 2004 EDT
Modified files:
/phpdoc/xsl htmlhelp.xsl
Log:
use simple bold text for admonitions (note|important|warning|caution|tip)
default tables cellpadding=2, cellspacing=1 and border=0
http://cvs.php.net/diff.php/phpdoc/xsl/htmlhelp.xsl?r1=1.11&r2=1.12&ty=u
Index: phpdoc/xsl/htmlhelp.xsl
diff -u phpdoc/xsl/htmlhelp.xsl:1.11 phpdoc/xsl/htmlhelp.xsl:1.12
--- phpdoc/xsl/htmlhelp.xsl:1.11 Wed Nov 3 15:53:40 2004
+++ phpdoc/xsl/htmlhelp.xsl Wed Nov 3 15:57:33 2004
@@ -3,7 +3,7 @@
HTML Help specific stylesheet
- $Id: htmlhelp.xsl,v 1.11 2004/11/03 20:53:40 techtonik Exp $
+ $Id: htmlhelp.xsl,v 1.12 2004/11/03 20:57:33 techtonik Exp $
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
@@ -469,6 +469,31 @@
</h3>
</xsl:template>
+<!-- Use simple bold text for admonitions (note|important|warning|caution|tip) -->
+<xsl:template name="nongraphical.admonition">
+ <div class="{name(.)}">
+ <xsl:if test="$admon.style">
+ <xsl:attribute name="style">
+ <xsl:value-of select="$admon.style"/>
+ </xsl:attribute>
+ </xsl:if>
+
+ <b>
+ <xsl:call-template name="anchor"/>
+ <xsl:apply-templates select="." mode="object.title.markup"/>
+ <xsl:text>: </xsl:text>
+ </b>
+
+ <xsl:apply-templates/>
+ </div>
+</xsl:template>
+
+<!-- Tune table cellpadding and cellspacing -->
+<xsl:param name="html.cellspacing" select="'1'"/>
+<xsl:param name="html.cellpadding" select="'2'"/>
+<!-- Tune table borders -->
+<xsl:param name="table.borders.with.css" select="1"/>
+
<!-- Special REFERENCE PAGE formatting for HH -->