nlopess Sun Mar 21 06:17:55 2004 EDT
Modified files: /livedocs livedoc.php Log: fixing my crap aliases back on-line http://cvs.php.net/diff.php/livedocs/livedoc.php?r1=1.83&r2=1.84&ty=u Index: livedocs/livedoc.php diff -u livedocs/livedoc.php:1.83 livedocs/livedoc.php:1.84 --- livedocs/livedoc.php:1.83 Sat Mar 20 05:17:23 2004 +++ livedocs/livedoc.php Sun Mar 21 06:17:54 2004 @@ -18,7 +18,7 @@ // | Generate an HTML version of a phpdoc/docbook page on the fly | // +----------------------------------------------------------------------+ // -// $Id: livedoc.php,v 1.83 2004/03/20 10:17:23 nlopess Exp $ +// $Id: livedoc.php,v 1.84 2004/03/21 11:17:54 nlopess Exp $ define('LIVEDOC_SOURCE', dirname(__FILE__)); include LIVEDOC_SOURCE . '/common.php'; @@ -40,10 +40,6 @@ $date = gmdate('Y-m-d H:i:s') . ' GMT'; -// Loading title and navigation data -list($title, $filename, $fileid, $dirid) = do_nav($idx, $fb_idx, $lang, $current_page, $nav, $children); - - /***************************************************************************** * Aliases and XML -> style mapping * Please keep the arrays sorted by keys @@ -63,6 +59,9 @@ ); if (isset($_GET['i'])) { + // Loading title and navigation data + list($title, $filename, $fileid, $dirid) = do_nav($idx, $fb_idx, $lang, $current_page, $nav, $children); + echo manual_page_header(); func_index(); $filename = 'index'; @@ -83,6 +82,9 @@ } } +// Loading title and navigation data +list($title, $filename, $fileid, $dirid) = do_nav($idx, $fb_idx, $lang, $current_page, $nav, $children); + if (!$special_content) { if ($filename == null) {