cvs: phd / package.xml /themes/php phpdotnet.php

From: Date: Thu, 10 Jan 2008 18:19:49 +0000
Subject: cvs: phd / package.xml /themes/php phpdotnet.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1025@lists.php.net to get a copy of this message
bjori Thu Jan 10 18:19:49 2008 UTC Modified files: /phd/themes/php phpdotnet.php /phd package.xml Log: Fixed bug#43428 (Empty TOC) http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.33&r2=1.34&diff_format=u Index: phd/themes/php/phpdotnet.php diff -u phd/themes/php/phpdotnet.php:1.33 phd/themes/php/phpdotnet.php:1.34 --- phd/themes/php/phpdotnet.php:1.33 Thu Dec 6 20:39:51 2007 +++ phd/themes/php/phpdotnet.php Thu Jan 10 18:19:48 2008 @@ -1,5 +1,5 @@ <?php -/* $Id: phpdotnet.php,v 1.33 2007/12/06 20:39:51 bjori Exp $ */ +/* $Id: phpdotnet.php,v 1.34 2008/01/10 18:19:48 bjori Exp $ */ abstract class phpdotnet extends PhDTheme { protected $elementmap = array( @@ -300,7 +300,7 @@ $content = ""; if ($name == "reference") { $chunks = PhDHelper::getChildren($id); - if (count($chunks) > 1) { + if (count($chunks)) { $content = '<h2>'.$this->autogen("toc", $props["lang"]). '</h2><ul class="chunklist chunklist_reference">'; foreach($chunks as $chunkid => $junk) { $content .= '<li><a href="' .($this->chunked ? "" : "#").$chunkid. '.' .$this->ext. '">' .(PhDHelper::getDescription($chunkid, false)). '</a> — ' .(PhDHelper::getDescription($chunkid, true)). '</li>'; http://cvs.php.net/viewvc.cgi/phd/package.xml?r1=1.24&r2=1.25&diff_format=u Index: phd/package.xml diff -u phd/package.xml:1.24 phd/package.xml:1.25 --- phd/package.xml:1.24 Thu Jan 10 17:53:21 2008 +++ phd/package.xml Thu Jan 10 18:19:49 2008 @@ -26,6 +26,7 @@ <notes> - Removed support for phnotify - Fixed E_NOTICE on empty references + - Fixed bug#43428 (Empty TOC) - Added index chaching (Edward Z.) - Added option (-l/--list) to list the supported formats/themes </notes>

« previous php.doc.cvs (#1025) next »