goba            Wed Jun  4 14:32:15 2003 EDT

  Modified files:              
    /phpdoc/dsssl       phpweb.dsl.in 
  Log:
  Use include ""; instead of require(); for consistency.
  
  Define the page's parameters at one place (in the nav
  array), as introduced in XSL sheets, instead of calling
  the header() and footer() functions with params. There
  is already support for this in phpweb
  
Index: phpdoc/dsssl/phpweb.dsl.in
diff -u phpdoc/dsssl/phpweb.dsl.in:1.4 phpdoc/dsssl/phpweb.dsl.in:1.5
--- phpdoc/dsssl/phpweb.dsl.in:1.4      Fri Jun  7 15:29:57 2002
+++ phpdoc/dsssl/phpweb.dsl.in  Wed Jun  4 14:32:15 2003
@@ -7,7 +7,7 @@
 
 <!--
 
-  $Id: phpweb.dsl.in,v 1.4 2002/06/07 19:29:57 goba Exp $
+  $Id: phpweb.dsl.in,v 1.5 2003/06/04 18:32:15 goba Exp $
 
   HTML-specific stylesheet customization for use by the online manual.
 
@@ -44,15 +44,10 @@
        (php-code
                (string-append
                        newline
-                       "require('shared-manual.inc');" newline
+                       "include \"shared-manual.inc\";" newline
                        "sendManualHeaders('@ENCODING@','@LANG@');" newline
                        (phpweb-header-navigation nd) newline
-                       "manualHeader('"
-                       (phpweb-quote (phpweb-node-title nd))
-                       "','"
-                       (phpweb-quote (html-base-filename nd))
-                       "');"
-                       newline
+                       "manualHeader();" newline
                )
        )
 )
@@ -61,12 +56,7 @@
 (define (phpweb-footer #!optional (nd (current-node)))
        (php-code
                (string-append
-                       "manualFooter('"
-                       (phpweb-quote (phpweb-node-title nd))
-                       "','"
-                       (phpweb-quote (html-base-filename nd))
-                       "');"
-                       newline
+                       "manualFooter();" newline
                )
        )
 )
@@ -170,6 +160,8 @@
                (string-append
                        "setupNavigation(array(" newline
                        "  'home' => " (phpweb-header-nav-array home #t)
+                       "  'this' => array('" (phpweb-quote (html-base-filename nd))
+                       "', '" (phpweb-quote (phpweb-node-title nd)) "')," newline
                        "  'prev' => " (phpweb-header-nav-array prev #t)
                        "  'next' => " (phpweb-header-nav-array next #t)
                        "  'up'   => " (phpweb-header-nav-array up #t)



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to