cvs: phd(PHD_0_4) / package.xml /formats xhtml.php /themes/pear peartheme.php /themes/php phpdotnet.php
| From: | Christian Weiske | Date: | Thu, 29 Jan 2009 15:49:47 +0000 |
| Subject: | cvs: phd(PHD_0_4) / package.xml /formats xhtml.php /themes/pear peartheme.php /themes/php phpdotnet.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3109@lists.php.net to get a copy of this message | ||
cweiske Thu Jan 29 15:49:47 2009 UTC
Modified files: (Branch: PHD_0_4)
/phd package.xml
/phd/formats xhtml.php
/phd/themes/pear peartheme.php
/phd/themes/php phpdotnet.php
Log:
Add support for <uri>
http://cvs.php.net/viewvc.cgi/phd/package.xml?r1=1.74.2.19.2.39&r2=1.74.2.19.2.40&diff_format=u
Index: phd/package.xml
diff -u phd/package.xml:1.74.2.19.2.39 phd/package.xml:1.74.2.19.2.40
--- phd/package.xml:1.74.2.19.2.39 Wed Jan 28 23:33:57 2009
+++ phd/package.xml Thu Jan 29 15:49:46 2009
@@ -56,6 +56,7 @@
- Replace ereg_replace with preg_replace
- Implement request #47201: Allow custom source code highlighter (e.g. Geshi) (Christian)
- Fix HTML problems with empty paragraphs in examples and qandaset questions (Christian)
+ - Support <uri> (Christian)
</notes>
<contents>
http://cvs.php.net/viewvc.cgi/phd/formats/xhtml.php?r1=1.67.2.2.2.18&r2=1.67.2.2.2.19&diff_format=u
Index: phd/formats/xhtml.php
diff -u phd/formats/xhtml.php:1.67.2.2.2.18 phd/formats/xhtml.php:1.67.2.2.2.19
--- phd/formats/xhtml.php:1.67.2.2.2.18 Wed Jan 28 23:33:56 2009
+++ phd/formats/xhtml.php Thu Jan 29 15:49:46 2009
@@ -1,5 +1,5 @@
<?php
-/* $Id: xhtml.php,v 1.67.2.2.2.18 2009/01/28 23:33:56 cweiske Exp $ */
+/* $Id: xhtml.php,v 1.67.2.2.2.19 2009/01/29 15:49:46 cweiske Exp $ */
class XHTMLPhDFormat extends PhDFormat {
protected $elementmap = array( /* {{{ */
@@ -271,6 +271,7 @@
'titleabbrev' => 'format_suppressed_tags',
'type' => 'span',
'userinput' => 'format_userinput',
+ 'uri' => 'tt',
'variablelist' => 'format_variablelist',
'varlistentry' => 'format_varlistentry',
'varname' => array(
http://cvs.php.net/viewvc.cgi/phd/themes/pear/peartheme.php?r1=1.8.2.2.2.7&r2=1.8.2.2.2.8&diff_format=u
Index: phd/themes/pear/peartheme.php
diff -u phd/themes/pear/peartheme.php:1.8.2.2.2.7 phd/themes/pear/peartheme.php:1.8.2.2.2.8
--- phd/themes/pear/peartheme.php:1.8.2.2.2.7 Wed Jan 28 23:33:57 2009
+++ phd/themes/pear/peartheme.php Thu Jan 29 15:49:47 2009
@@ -185,7 +185,7 @@
),
'tbody' => 'tbody',
'term' => 'dt',
- 'uri' => 'format_uri',
+ 'uri' => 'tt',
'userinput' => 'format_userinput',
'variablelist' => 'format_div',
'varlistentry' => 'format_dl',
@@ -893,14 +893,6 @@
return ')</code></p>';
}
- public function format_uri($open, $name, $attrs, $props)
- {
- if ($open) {
- return '<font color="red">';
- }
- return '</font>';
- }
-
public function format_refsynopsisdiv($open, $name, $attrs, $props)
{
if ($open) {
http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.53.2.4.2.9&r2=1.53.2.4.2.10&diff_format=u
Index: phd/themes/php/phpdotnet.php
diff -u phd/themes/php/phpdotnet.php:1.53.2.4.2.9 phd/themes/php/phpdotnet.php:1.53.2.4.2.10
--- phd/themes/php/phpdotnet.php:1.53.2.4.2.9 Mon Jan 26 21:45:28 2009
+++ phd/themes/php/phpdotnet.php Thu Jan 29 15:49:47 2009
@@ -1,5 +1,5 @@
<?php
-/* $Id: phpdotnet.php,v 1.53.2.4.2.9 2009/01/26 21:45:28 cweiske Exp $ */
+/* $Id: phpdotnet.php,v 1.53.2.4.2.10 2009/01/29 15:49:47 cweiske Exp $ */
abstract class phpdotnet extends PhDTheme {
protected $elementmap = array(
@@ -86,6 +86,7 @@
'qandaentry' => 'format_qandaentry',
'question' => 'format_question',
'answer' => 'format_answer',
+ 'uri' => 'tt',
'varlistentry' => 'format_varlistentry',
);
protected $textmap = array(