cvs: phd / package.xml /formats xhtml.php
| From: | Hannes Magnusson | Date: | Sat, 03 Nov 2007 17:14:45 +0000 |
| Subject: | cvs: phd / package.xml /formats xhtml.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-334@lists.php.net to get a copy of this message | ||
bjori Sat Nov 3 17:14:45 2007 UTC
Modified files:
/phd package.xml
/phd/formats xhtml.php
Log:
- Added support for errorcode, symbol and superscript elements
- Suppressed the contrib element
(used by few translations)
http://cvs.php.net/viewvc.cgi/phd/package.xml?r1=1.10&r2=1.11&diff_format=u
Index: phd/package.xml
diff -u phd/package.xml:1.10 phd/package.xml:1.11
--- phd/package.xml:1.10 Fri Oct 26 15:07:25 2007
+++ phd/package.xml Sat Nov 3 17:14:45 2007
@@ -27,6 +27,8 @@
- Added partial rendering
- Added various verbosity levels
- Added getopt() parsing for few configuration options
+ - Added support for errorcode, symbol and superscript elements (used by few translations)
+ - Suppressed the contrib element
</notes>
<contents>
<dir baseinstalldir="phd" name="/">
http://cvs.php.net/viewvc.cgi/phd/formats/xhtml.php?r1=1.40&r2=1.41&diff_format=u
Index: phd/formats/xhtml.php
diff -u phd/formats/xhtml.php:1.40 phd/formats/xhtml.php:1.41
--- phd/formats/xhtml.php:1.40 Sat Nov 3 16:44:09 2007
+++ phd/formats/xhtml.php Sat Nov 3 17:14:45 2007
@@ -1,5 +1,5 @@
<?php
-/* $Id: xhtml.php,v 1.40 2007/11/03 16:44:09 bjori Exp $ */
+/* $Id: xhtml.php,v 1.41 2007/11/03 17:14:45 bjori Exp $ */
class XHTMLPhDFormat extends PhDFormat {
protected $elementmap = array( /* {{{ */
@@ -53,6 +53,7 @@
'code' => 'code',
'collab' => 'span',
'collabname' => 'span',
+ 'contrib' => 'format_suppressed_tags',
'colspec' => 'format_colspec',
'command' => 'strong',
'computeroutput' => 'span',
@@ -72,6 +73,7 @@
),
'envar' => 'span',
'errortype' => 'span',
+ 'errorcode' => 'span',
'example' => 'div',
'formalpara' => 'p',
'fieldsynopsis' => array(
@@ -186,8 +188,10 @@
'example' => 'format_example_content',
),
'step' => 'format_step',
+ 'superscript' => 'sup',
'subscript' => 'sub',
'systemitem' => 'format_systemitem',
+ 'symbol' => 'span',
'synopsis' => 'pre',
'tag' => 'code',
'table' => 'format_table',
@@ -242,6 +246,7 @@
protected $textmap = array(
'segtitle' => 'format_segtitle_text',
'affiliation' => 'format_suppressed_text',
+ 'contrib' => 'format_suppressed_text',
'shortaffil' => 'format_suppressed_text',
'programlisting' => 'format_programlisting_text',
'alt' => 'format_alt_text',