goba Thu Sep 2 12:18:24 2004 EDT
Modified files: /livedocs livedoc_funcs.php Log: *always* go into the refs sections (refgroups) when building a toc http://cvs.php.net/diff.php/livedocs/livedoc_funcs.php?r1=1.10&r2=1.11&ty=u Index: livedocs/livedoc_funcs.php diff -u livedocs/livedoc_funcs.php:1.10 livedocs/livedoc_funcs.php:1.11 --- livedocs/livedoc_funcs.php:1.10 Sat Aug 14 17:41:37 2004 +++ livedocs/livedoc_funcs.php Thu Sep 2 12:18:23 2004 @@ -359,7 +359,7 @@ $ret .= "<a href='".generate_url_for_id($lang, $row[1])."'>".$title."</a>"; } - if (($level < 2 && strncmp($row[1], 'ref', 3)) || $level < 1) { + if (strncmp($row[1], 'refs.', 5) || ($level < 2 && strncmp($row[1], 'ref', 3)) || $level < 1) { $ret .= do_contents($row[0], $level + 1); } $ret .= "</li>\n";