goba Sat Apr 20 07:39:57 2002 EDT
Modified files:
/phpdoc/xsl htmlhelp.xsl.in
Log:
Adding support for custom context menu
Index: phpdoc/xsl/htmlhelp.xsl.in
diff -u phpdoc/xsl/htmlhelp.xsl.in:1.25 phpdoc/xsl/htmlhelp.xsl.in:1.26
--- phpdoc/xsl/htmlhelp.xsl.in:1.25 Fri Apr 19 08:55:24 2002
+++ phpdoc/xsl/htmlhelp.xsl.in Sat Apr 20 07:39:57 2002
@@ -3,7 +3,7 @@
HTML Help specific stylesheet
- $Id: htmlhelp.xsl.in,v 1.25 2002/04/19 12:55:24 goba Exp $
+ $Id: htmlhelp.xsl.in,v 1.26 2002/04/20 11:39:57 goba Exp $
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
@@ -44,9 +44,10 @@
</xsl:template>
-<!-- We need quite different body attribute[s] than the defaults -->
+<!-- We need quite different body attributes than the defaults -->
<xsl:template name="body.attributes">
<xsl:attribute name="onload">displayPage();</xsl:attribute>
+ <xsl:attribute name="oncontextmenu">if(prefs_context_override){return
+false;}</xsl:attribute>
</xsl:template>
<!-- Our HTML head part is *extra* slim -->