cvs: phd(PHD_0_4) / package.xml /themes/pear peartheme.php /themes/php phpdotnet.php
| From: | Christian Weiske | Date: | Wed, 11 Feb 2009 21:33:32 +0000 |
| Subject: | cvs: phd(PHD_0_4) / package.xml /themes/pear peartheme.php /themes/php phpdotnet.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3210@lists.php.net to get a copy of this message | ||
cweiske Wed Feb 11 21:33:32 2009 UTC
Modified files: (Branch: PHD_0_4)
/phd package.xml
/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/package.xml?r1=1.74.2.19.2.42&r2=1.74.2.19.2.43&diff_format=u
Index: phd/package.xml
diff -u phd/package.xml:1.74.2.19.2.42 phd/package.xml:1.74.2.19.2.43
--- phd/package.xml:1.74.2.19.2.42 Wed Feb 11 20:30:24 2009
+++ phd/package.xml Wed Feb 11 21:33:32 2009
@@ -58,6 +58,7 @@
- Fix HTML problems with empty paragraphs in examples and qandaset questions (Christian)
- Support <uri> and <screenshot> (Christian)
- Copy images automatically using MediaManager (Christian)
+ - Fix bug #47362: <h1> tag gets omitted in bightml (Christian)
</notes>
<contents>
http://cvs.php.net/viewvc.cgi/phd/themes/pear/peartheme.php?r1=1.8.2.2.2.9&r2=1.8.2.2.2.10&diff_format=u
Index: phd/themes/pear/peartheme.php
diff -u phd/themes/pear/peartheme.php:1.8.2.2.2.9 phd/themes/pear/peartheme.php:1.8.2.2.2.10
--- phd/themes/pear/peartheme.php:1.8.2.2.2.9 Fri Jan 30 07:04:47 2009
+++ phd/themes/pear/peartheme.php Wed Feb 11 21:33:32 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.53.2.4.2.11&r2=1.53.2.4.2.12&diff_format=u
Index: phd/themes/php/phpdotnet.php
diff -u phd/themes/php/phpdotnet.php:1.53.2.4.2.11 phd/themes/php/phpdotnet.php:1.53.2.4.2.12
--- phd/themes/php/phpdotnet.php:1.53.2.4.2.11 Wed Feb 11 05:07:46 2009
+++ phd/themes/php/phpdotnet.php Wed Feb 11 21:33:32 2009
@@ -1,5 +1,5 @@
<?php
-/* $Id: phpdotnet.php,v 1.53.2.4.2.11 2009/02/11 05:07:46 cweiske Exp $ */
+/* $Id: phpdotnet.php,v 1.53.2.4.2.12 2009/02/11 21:33:32 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"]) {