cvs: phd(PHD_0_4) / mktoc.php /themes/php chmsource.php phpdotnet.php

From: Date: Sun, 26 Oct 2008 00:00:26 +0000
Subject: cvs: phd(PHD_0_4) / mktoc.php /themes/php chmsource.php phpdotnet.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2294@lists.php.net to get a copy of this message
loudi Sun Oct 26 00:00:26 2008 UTC Modified files: (Branch: PHD_0_4) /phd/themes/php chmsource.php phpdotnet.php /phd mktoc.php Log: * added varlistentries to the CHM index => now php.ini directives appears in the CHM index http://cvs.php.net/viewvc.cgi/phd/themes/php/chmsource.php?r1=1.4.2.5.2.1&r2=1.4.2.5.2.2&diff_format=u Index: phd/themes/php/chmsource.php diff -u phd/themes/php/chmsource.php:1.4.2.5.2.1 phd/themes/php/chmsource.php:1.4.2.5.2.2 --- phd/themes/php/chmsource.php:1.4.2.5.2.1 Sun Oct 19 13:48:16 2008 +++ phd/themes/php/chmsource.php Sun Oct 26 00:00:26 2008 @@ -1,5 +1,5 @@ <?php -/* $Id: chmsource.php,v 1.4.2.5.2.1 2008/10/19 13:48:16 bjori Exp $ */ +/* $Id: chmsource.php,v 1.4.2.5.2.2 2008/10/26 00:00:26 loudi Exp $ */ require_once $ROOT . '/themes/php/chunkedhtml.php'; class chmsource extends chunkedhtml { @@ -309,7 +309,15 @@ $this->collectContent($attrs); return parent::format_container_chunk($open, $name, $attrs, $props); } - + + public function format_varlistentry($open, $name, $attrs) { + $this->collectContent($attrs); + fwrite($this->hhkStream, " <li><object type=\"text/sitemap\">\n" . + " <param name=\"Local\" value=\"{$this->lastContent["reference"]}\">\n" . + " <param name=\"Name\" value=\"" . htmlentities($this->lastContent["name"], ENT_QUOTES, 'UTF-8') . "\">\n" . + " </object>\n </li>\n"); + return false; + } public function format_root_chunk($open, $name, $attrs) { $this->collectContent($attrs); return parent::format_root_chunk($open, $name, $attrs); http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.53.2.4.2.1&r2=1.53.2.4.2.2&diff_format=u Index: phd/themes/php/phpdotnet.php diff -u phd/themes/php/phpdotnet.php:1.53.2.4.2.1 phd/themes/php/phpdotnet.php:1.53.2.4.2.2 --- phd/themes/php/phpdotnet.php:1.53.2.4.2.1 Sun Oct 19 17:13:34 2008 +++ phd/themes/php/phpdotnet.php Sun Oct 26 00:00:26 2008 @@ -1,5 +1,5 @@ <?php -/* $Id: phpdotnet.php,v 1.53.2.4.2.1 2008/10/19 17:13:34 bjori Exp $ */ +/* $Id: phpdotnet.php,v 1.53.2.4.2.2 2008/10/26 00:00:26 loudi Exp $ */ abstract class phpdotnet extends PhDTheme { protected $elementmap = array( @@ -84,6 +84,7 @@ 'qandaentry' => 'format_qandaentry', 'question' => 'format_question', 'answer' => 'format_answer', + 'varlistentry' => 'format_varlistentry', ); protected $textmap = array( 'acronym' => 'format_acronym_text', @@ -647,6 +648,9 @@ } return '</strong></dt>'; } + public function format_varlistentry($open, $name, $attrs) { + return false; + } } http://cvs.php.net/viewvc.cgi/phd/mktoc.php?r1=1.10.2.1.2.4&r2=1.10.2.1.2.5&diff_format=u Index: phd/mktoc.php diff -u phd/mktoc.php:1.10.2.1.2.4 phd/mktoc.php:1.10.2.1.2.5 --- phd/mktoc.php:1.10.2.1.2.4 Sun Oct 19 16:40:53 2008 +++ phd/mktoc.php Sun Oct 26 00:00:26 2008 @@ -29,7 +29,7 @@ * PhDHelper::getRefnameLink(), and allows easy refname->link resolution. * * @package PhD -* @version CVS: $Id: mktoc.php,v 1.10.2.1.2.4 2008/10/19 16:40:53 bjori Exp $ +* @version CVS: $Id: mktoc.php,v 1.10.2.1.2.5 2008/10/26 00:00:26 loudi Exp $ */ $r = new PhDReader($OPTIONS); @@ -74,7 +74,7 @@ } } if (empty($IDs[$lastid]["ldesc"])) { - if ($name == "title" || $name == "refpurpose") { + if ($name == "title" || $name == "refpurpose" || $name == "parameter") { $IDs[$lastid]["ldesc"] = trim($r->readContent($name)); } }

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