For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > August 2007 > cvs: phd /formats xhtml.php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phd /formats xhtml.php
Hannes Magnusson

2007-08-30, 7:32 pm

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/f...1&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',
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com