svn: /phd/trunk/phpdotnet/phd/Package/Pear/ Web.php XHTML.php
| From: | Moacir de Oliveira Miranda Júnior | Date: | Sat, 22 Aug 2009 16:16:33 +0000 |
| Subject: | svn: /phd/trunk/phpdotnet/phd/Package/Pear/ Web.php XHTML.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4740@lists.php.net to get a copy of this message | ||
moacir Sat, 22 Aug 2009 16:16:33 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=287576
Log:
fixing titles
Changed paths:
U phd/trunk/phpdotnet/phd/Package/Pear/Web.php
U phd/trunk/phpdotnet/phd/Package/Pear/XHTML.php
Modified: phd/trunk/phpdotnet/phd/Package/Pear/Web.php
===================================================================
--- phd/trunk/phpdotnet/phd/Package/Pear/Web.php 2009-08-22 15:35:55 UTC (rev 287575)
+++ phd/trunk/phpdotnet/phd/Package/Pear/Web.php 2009-08-22 16:16:33 UTC (rev 287576)
@@ -43,7 +43,7 @@
// Fetch the siblings information
$toc = array();
$siblings = Format::getChildrens($parent);
- foreach ($siblings as $sibling => $array) {
+ foreach ((array)$siblings as $sibling => $array) {
$toc[] = array($sibling.$ext, empty($array["sdesc"]) ?
$array["ldesc"] : $array["sdesc"]);
}
Modified: phd/trunk/phpdotnet/phd/Package/Pear/XHTML.php
===================================================================
--- phd/trunk/phpdotnet/phd/Package/Pear/XHTML.php 2009-08-22 15:35:55 UTC (rev 287575)
+++ phd/trunk/phpdotnet/phd/Package/Pear/XHTML.php 2009-08-22 16:16:33 UTC (rev 287576)
@@ -162,7 +162,7 @@
'refname' => 'format_refname',
'refnamediv' => 'format_suppressed_tags',
'refpurpose' => 'format_refpurpose',
- 'refsection' => 'format_container_chunk',
+ 'refsection' => 'format_div',
'refsynopsisdiv' => 'format_refsynopsisdiv',
'row' => 'format_row',
'screen' => 'format_screen',
@@ -172,8 +172,6 @@
'sect3' => 'format_chunk',
'sect4' => 'format_chunk',
'sect5' => 'format_chunk',
-// 'section' => 'format_chunk',
-// 'section' => 'format_container_chunk',
'section' => array(
/* DEFAULT */ 'div',
@@ -219,14 +217,17 @@
'thead' => 'format_th',
'title' => array(
/* DEFAULT */ 'h1',
+ 'formalpara' => 'h5',
'article' => 'format_container_chunk_title',
'appendix' => 'format_container_chunk_title',
'chapter' => 'format_container_chunk_title',
- //'example' => 'format_example_title',
+ 'example' => 'format_bold_paragraph',
'part' => 'format_container_chunk_title',
'preface' => 'format_container_chunk_title',
'info' => array(
/* DEFAULT */ 'h1',
+ 'example' => 'format_bold_paragraph',
+ 'note' => 'format_note_title',
'article' => 'format_container_chunk_title',
'appendix' => 'format_container_chunk_title',
'chapter' => 'format_container_chunk_title',
@@ -250,6 +251,11 @@
'table' => 'format_table_title',
'warning' => 'format_warning_title',
),
+ 'indexdiv' => 'dt',
+ 'legalnotice' => 'h4',
+ 'note' => 'format_note_title',
+ 'phd:toc' => 'strong',
+ 'procedure' => 'b',
'refsect1' => 'h2',
'refsect2' => 'h3',
'refsect3' => 'h4',
@@ -266,7 +272,14 @@
),
),
),
+ 'sect1' => 'h2',
+ 'sect2' => 'h3',
+ 'sect3' => 'h4',
+ 'sect4' => 'h5',
+ 'segmentedlist' => 'strong',
+ 'simplesect' => 'h3',
'table' => 'format_table_title',
+ 'variablelist' => 'strong',
'warning' => 'format_warning_title',
),
'tip' => 'format_admonition',