cvs: phpdoc /xsl htmlhelp.xsl.in
| From: | Gabor Hojtsy | Date: | Mon, 20 May 2002 12:27:52 +0000 |
| Subject: | cvs: phpdoc /xsl htmlhelp.xsl.in | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969345704@lists.php.net to get a copy of this message | ||
goba Mon May 20 08:27:52 2002 EDT
Modified files:
/phpdoc/xsl htmlhelp.xsl.in
Log:
Adding some tweaks to make the new CHMs work
Index: phpdoc/xsl/htmlhelp.xsl.in
diff -u phpdoc/xsl/htmlhelp.xsl.in:1.26 phpdoc/xsl/htmlhelp.xsl.in:1.27
--- phpdoc/xsl/htmlhelp.xsl.in:1.26 Sat Apr 20 07:39:57 2002
+++ phpdoc/xsl/htmlhelp.xsl.in Mon May 20 08:27:52 2002
@@ -3,7 +3,7 @@
HTML Help specific stylesheet
- $Id: htmlhelp.xsl.in,v 1.26 2002/04/20 11:39:57 goba Exp $
+ $Id: htmlhelp.xsl.in,v 1.27 2002/05/20 12:27:52 goba Exp $
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
@@ -39,14 +39,14 @@
<xsl:apply-templates select="$node"
mode="object.title.markup.textonly"/>
</title>
- <script language="JavaScript1.2">function
displayNotes(){document.all['unotes'].innerHTML=parent.nbuff.document.body.innerHTML;}</script>
+ <script language="JavaScript1.2">function
displayNotes(){_displayNotes();}</script>
<script language="JavaScript1.2" src="_script.js"></script>
</xsl:template>
<!-- We need quite different body attributes than the defaults -->
<xsl:template name="body.attributes">
- <xsl:attribute name="onload">displayPage();</xsl:attribute>
+ <xsl:attribute name="onload">st_html=true; displayPage();</xsl:attribute>
<xsl:attribute name="oncontextmenu">if(prefs_context_override){return
false;}</xsl:attribute>
</xsl:template>
@@ -105,9 +105,11 @@
</tr>
<tr align="center" valign="middle">
<td colspan="3">
- <a href="javascript:thisPageOnline();">This page online</a>
- <xsl:text disable-output-escaping="yes"> &nbsp; </xsl:text>
- <a href="javascript:bugOnPage();">Report a bug</a>
+ <div id="#onlinelinks">
+ <a href="javascript:thisPageOnline();">This page online</a>
+ <xsl:text disable-output-escaping="yes"> &nbsp; </xsl:text>
+ <a href="javascript:bugOnPage();">Report a bug</a>
+ </div>
</td>
</tr>
</table>