svn: /web/php/branches/PROTOTYPE_2010/include/ shared-manual.inc

From: Date: Sun, 26 Dec 2010 13:37:46 +0000
Subject: svn: /web/php/branches/PROTOTYPE_2010/include/ shared-manual.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-9814@lists.php.net to get a copy of this message
bjori Sun, 26 Dec 2010 13:37:46 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306676 Log: Fix toc for the index manual page Changed paths: U web/php/branches/PROTOTYPE_2010/include/shared-manual.inc Modified: web/php/branches/PROTOTYPE_2010/include/shared-manual.inc =================================================================== --- web/php/branches/PROTOTYPE_2010/include/shared-manual.inc 2010-12-26 13:37:31 UTC (rev 306675) +++ web/php/branches/PROTOTYPE_2010/include/shared-manual.inc 2010-12-26 13:37:46 UTC (rev 306676) @@ -16,11 +16,14 @@ "children" => array(), ); } - $menu[] = array( - "title" => $setup["up"][1], - "link" => $setup["up"][0], - "children" => $siblings, - ); + // The index manual page has no parent.. + if ($setup["up"][0]) { + $menu[] = array( + "title" => $setup["up"][1], + "link" => $setup["up"][0], + "children" => $siblings, + ); + } $_SERVER["BASE_PAGE"] = "/manual/" . $setup["head"][1] . "/" . $setup["this"][0]; site_header($setup["this"][1] . " - Manual ", array("current" => "docs", "leftmenu" => $menu));

« previous php.webmaster (#9814) next »