bjori Thu Aug 30 13:56:43 2007 UTC
Modified files: /phd/formats xhtml.php Log: - Fix info titles in <example>s - Add <abstract> "support" http://cvs.php.net/viewvc.cgi/phd/formats/xhtml.php?r1=1.20&r2=1.21&diff_format=u Index: phd/formats/xhtml.php diff -u phd/formats/xhtml.php:1.20 phd/formats/xhtml.php:1.21 --- phd/formats/xhtml.php:1.20 Thu Aug 30 13:54:15 2007 +++ phd/formats/xhtml.php Thu Aug 30 13:56:43 2007 @@ -1,8 +1,9 @@ <?php -/* $Id: xhtml.php,v 1.20 2007/08/30 13:54:15 bjori Exp $ */ +/* $Id: xhtml.php,v 1.21 2007/08/30 13:56:43 bjori Exp $ */ class XHTMLPhDFormat extends PhDFormat { protected $elementmap = array( /* {{{ */ + 'abstract' => 'div', /* Docbook-xsl prints "abstract"... */ 'acronym' => 'acronym', 'article' => 'format_container_chunk', 'author' => 'div', @@ -137,6 +138,10 @@ 'title' => array( /* DEFAULT */ 'h1', 'example' => 'format_bold_paragraph', + 'info' => array( + /* DEFAULT */ 'h1', + 'example' => 'format_bold_paragraph', + ), 'legalnotice' => 'h4', 'note' => 'format_note_title', 'refsect1' => 'h3',