goba            Thu Sep  2 16:36:59 2004 EDT

  Modified files:              
    /livedocs   livedoc_funcs.php 
  Log:
  merge the ifs so it becomes a big list :) - plus fix the function list exlusion to 
work properly
  
http://cvs.php.net/diff.php/livedocs/livedoc_funcs.php?r1=1.16&r2=1.17&ty=u
Index: livedocs/livedoc_funcs.php
diff -u livedocs/livedoc_funcs.php:1.16 livedocs/livedoc_funcs.php:1.17
--- livedocs/livedoc_funcs.php:1.16     Thu Sep  2 15:33:25 2004
+++ livedocs/livedoc_funcs.php  Thu Sep  2 16:36:58 2004
@@ -361,12 +361,10 @@
                                $ret .= "<a href='".generate_url_for_id($lang, 
$row[1])."'>".$title."</a>";
                        }
 
-                       // Do not go into listing functions on refgroup pages
-                       if (!(strncmp($current_page, 'refs.', 5) == 0 && 
strncmp($row[1], 'function.', 9) != 0)) {
-                               // Go very deep on refgroup pages
-                               if (strncmp($row[1], 'refs.', 5) == 0 || ($level < 2 
&& strncmp($row[1], 'ref', 3)) ||  $level < 1) {
-                                       $ret .= do_contents($row[0], $level + 1);
-                               }
+                       // Do not go into listing functions on refgroup pages, but
+                       // otherwise go very deep into refgroup pages
+                       if (!(strncmp($current_page, 'refs.', 5) == 0 && 
strncmp($row[1], 'ref.', 4) == 0) && (strncmp($row[1], 'refs.', 5) == 0 || ($level < 2 
&& strncmp($row[1], 'ref', 3)) ||  $level < 1)) {
+                               $ret .= do_contents($row[0], $level + 1);
                        }
                        $ret .= "</li>\n";
                }

Reply via email to