cvs: phd /themes/pear peartheme.php /themes/php phpdotnet.php

From: Date: Wed, 11 Feb 2009 21:32:39 +0000
Subject: cvs: phd /themes/pear peartheme.php /themes/php phpdotnet.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3209@lists.php.net to get a copy of this message
cweiske Wed Feb 11 21:32:39 2009 UTC Modified files: /phd/themes/pear peartheme.php /phd/themes/php phpdotnet.php Log: Fix bug #47362: <h1> tag gets omitted in bightml http://cvs.php.net/viewvc.cgi/phd/themes/pear/peartheme.php?r1=1.28&r2=1.29&diff_format=u Index: phd/themes/pear/peartheme.php diff -u phd/themes/pear/peartheme.php:1.28 phd/themes/pear/peartheme.php:1.29 --- phd/themes/pear/peartheme.php:1.28 Fri Jan 30 07:04:25 2009 +++ phd/themes/pear/peartheme.php Wed Feb 11 21:32:38 2009 @@ -466,10 +466,10 @@ return '</a>'; } - public function format_container_chunk_title($open, $name, $attrs) + public function format_container_chunk_title($open, $name, $attrs, $props) { if ($open) { - return '<h1>'; + return $props["empty"] ? '' : '<h1>'; } $ret = ''; if ($this->cchunk['container_chunk']) { http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.65&r2=1.66&diff_format=u Index: phd/themes/php/phpdotnet.php diff -u phd/themes/php/phpdotnet.php:1.65 phd/themes/php/phpdotnet.php:1.66 --- phd/themes/php/phpdotnet.php:1.65 Thu Jan 29 15:49:35 2009 +++ phd/themes/php/phpdotnet.php Wed Feb 11 21:32:38 2009 @@ -1,5 +1,5 @@ <?php -/* $Id: phpdotnet.php,v 1.65 2009/01/29 15:49:35 cweiske Exp $ */ +/* $Id: phpdotnet.php,v 1.66 2009/02/11 21:32:38 cweiske Exp $ */ abstract class phpdotnet extends PhDTheme { protected $elementmap = array( @@ -475,9 +475,9 @@ return $this->format_container_chunk($open, "reference", $attrs, $props); } - public function format_container_chunk_title($open, $name, $attrs) { + public function format_container_chunk_title($open, $name, $attrs, $props) { if ($open) { - return "<h1>"; + return $props["empty"] ? '' : '<h1>'; } $ret = ""; if ($this->cchunk["container_chunk"]) {

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