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

From: Date: Sat, 03 May 2008 16:27:53 +0000
Subject: cvs: phd / package.xml /themes/php phpdotnet.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1593@lists.php.net to get a copy of this message
bjori Sat May 3 16:27:53 2008 UTC Modified files: /phd package.xml /phd/themes/php phpdotnet.php Log: - Fixed bug#44776 (Request for change in titles). (Hannes) - Replace a utf8 char with its entity - Fix dc-title to only cover the actual title, not the refname too http://cvs.php.net/viewvc.cgi/phd/package.xml?r1=1.66&r2=1.67&diff_format=u Index: phd/package.xml diff -u phd/package.xml:1.66 phd/package.xml:1.67 --- phd/package.xml:1.66 Sat May 3 16:09:32 2008 +++ phd/package.xml Sat May 3 16:27:53 2008 @@ -43,6 +43,7 @@ - Fixed bug#44881 (Class constants with $). (Hannes) - Fixed bug#44786 (Remove irrelevant version information). (Hannes) - Fixed bug#44785 (Separating &lt;title&gt; from &lt;note&gt;). (Hannes) + - Fixed bug#44776 (Request for change in titles). (Hannes) - Fixed bug#44690 (Please restore manual main page). (Hannes) - Added French support (for autogenerated texts). (Yannick) - Added Danish support (for autogenerated texts). (Kalle Sommer) http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.49&r2=1.50&diff_format=u Index: phd/themes/php/phpdotnet.php diff -u phd/themes/php/phpdotnet.php:1.49 phd/themes/php/phpdotnet.php:1.50 --- phd/themes/php/phpdotnet.php:1.49 Sat May 3 15:32:30 2008 +++ phd/themes/php/phpdotnet.php Sat May 3 16:27:53 2008 @@ -1,5 +1,5 @@ <?php -/* $Id: phpdotnet.php,v 1.49 2008/05/03 15:32:30 bjori Exp $ */ +/* $Id: phpdotnet.php,v 1.50 2008/05/03 16:27:53 bjori Exp $ */ abstract class phpdotnet extends PhDTheme { protected $elementmap = array( @@ -119,7 +119,6 @@ protected $lang = "en"; protected $CURRENT_ID = ""; - protected $refname; /* Current Chunk settings */ protected $cchunk = array(); @@ -133,6 +132,7 @@ ), "examples" => 0, "verinfo" => false, + "refname" => array(), ); public function __construct(array $IDs, array $filenames, $ext = "php", $chunked = true) { @@ -314,15 +314,18 @@ if ($open) { $retval = ""; if ($this->cchunk["verinfo"]) { + $refname = current($this->cchunk["refname"]); $retval = '<p class="verinfo">(' .(htmlspecialchars($this->versionInfo($this->refname), ENT_QUOTES, "UTF-8")). ')</p>'; } - $retval .= '<p class="refpurpose dc-title">'. $this->refname. ' — '; + $refnames = implode('</span> -- <span class="refname">', $this->cchunk["refname"]); + + $retval .= '<p class="refpurpose"><span class="refname">'. $refnames. '</span> &mdash; <span class="dc-title">'; return $retval; } - return "</p>\n"; + return "</span></p>\n"; } public function format_refname_text($value, $tag) { - $this->refname = $value; + $this->cchunk["refname"][] = $this->format->TEXT($value); return false; } public function format_chunk($open, $name, $attrs, $props) {

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