iliaa           Sat Aug 14 17:43:08 2004 EDT

  Modified files:              
    /livedocs   handlers.php livedoc.php 
  Log:
  http://livedocs.aborla.net/patch.php?id=aliases.update&download=linux
  
  
http://cvs.php.net/diff.php/livedocs/handlers.php?r1=1.7&r2=1.8&ty=u
Index: livedocs/handlers.php
diff -u livedocs/handlers.php:1.7 livedocs/handlers.php:1.8
--- livedocs/handlers.php:1.7   Mon May 24 16:09:17 2004
+++ livedocs/handlers.php       Sat Aug 14 17:43:08 2004
@@ -18,7 +18,7 @@
 // | Special Handlers for $aliases                                        |
 // +----------------------------------------------------------------------+
 //
-// $Id: handlers.php,v 1.7 2004/05/24 20:09:17 iliaa Exp $
+// $Id: handlers.php,v 1.8 2004/08/14 21:43:08 iliaa Exp $
 
 
 /***********************************
@@ -27,9 +27,9 @@
 
 function handle_appendixes_funcref() 
 {
-       global $current_page_title, $children, $lang;
+       global $title, $children, $lang;
 
-       $ret = "<h1>$current_page_title</h1>\n";
+       $ret = "<h1>$title</h1>\n";
        foreach ($children as $id => $title) {
                $url = generate_url_for_id($lang, $id);
                $ret .= "<h2 class='funcref'><a href='$url'>$title</a></h2>\n";
http://cvs.php.net/diff.php/livedocs/livedoc.php?r1=1.107&r2=1.108&ty=u
Index: livedocs/livedoc.php
diff -u livedocs/livedoc.php:1.107 livedocs/livedoc.php:1.108
--- livedocs/livedoc.php:1.107  Tue May 25 07:33:48 2004
+++ livedocs/livedoc.php        Sat Aug 14 17:43:08 2004
@@ -18,7 +18,7 @@
 // | Generate an HTML version of a phpdoc/docbook page on the fly         |
 // +----------------------------------------------------------------------+
 //
-// $Id: livedoc.php,v 1.107 2004/05/25 11:33:48 wez Exp $
+// $Id: livedoc.php,v 1.108 2004/08/14 21:43:08 iliaa Exp $
 
 define('LIVEDOC_SOURCE', dirname(__FILE__));
 include LIVEDOC_SOURCE . '/livedoc_funcs.php';
@@ -61,20 +61,21 @@
                        'language.custom.functions' => 'handle_appendixes_funcref',
                        'language.basic.syntax' => 'handle_appendixes_funcref',
                        'language.variables' => 'handle_appendixes_funcref',
+                       'manual' => 'handle_contents'
                        );
 } elseif (BUILD_TYPE == 'phpdoc') {
        $aliases = array(
                        // For PHPdoc
                        'api'             => 'streams',
                        'appendixes'      => 'handle_appendixes_funcref',
-                       'faq'             => 'faq.general',
-                       'features'        => 'features.http-auth',
+                       'faq'             => 'handle_appendixes_funcref',
+                       'features'        => 'handle_appendixes_funcref',
                        'funcref'         => 'handle_appendixes_funcref',
                        'getting-started' => 'introduction',
-                       'installation'    => 'install.general',
-                       'langref'         => 'language.basic-syntax',
+                       'install'         => 'handle_appendixes_funcref',
+                       'langref'         => 'handle_appendixes_funcref',
                        'manual'          => 'handle_contents',
-                       'security'        => 'security.index',
+                       'security'        => 'handle_appendixes_funcref',
                        'indexes'         => 'handle_index'
                        );
 } else {

Reply via email to