cvs: phd / package.xml /formats xhtml.php /themes/php phpdotnet.php
| From: | Hannes Magnusson | Date: | Sat, 03 May 2008 15:13:05 +0000 |
| Subject: | cvs: phd / package.xml /formats xhtml.php /themes/php phpdotnet.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1590@lists.php.net to get a copy of this message | ||
bjori Sat May 3 15:13:05 2008 UTC
Modified files:
/phd package.xml
/phd/themes/php phpdotnet.php
/phd/formats xhtml.php
Log:
Fixed bug#44881 (Class constants with $). (Hannes)
http://cvs.php.net/viewvc.cgi/phd/package.xml?r1=1.63&r2=1.64&diff_format=u
Index: phd/package.xml
diff -u phd/package.xml:1.63 phd/package.xml:1.64
--- phd/package.xml:1.63 Fri Apr 18 20:21:31 2008
+++ phd/package.xml Sat May 3 15:13:04 2008
@@ -40,6 +40,7 @@
</stability>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD
Style</license>
<notes>
+ - Fixed bug#44881 (Class constants with $). (Hannes)
- Fixed bug#44690 (Please restore manual main page). (Hannes)
- Added French support (for autogenerated texts). (Yannick)
- Added Danish support (for autogenerated texts). (Kalle Sommer)
http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.47&r2=1.48&diff_format=u
Index: phd/themes/php/phpdotnet.php
diff -u phd/themes/php/phpdotnet.php:1.47 phd/themes/php/phpdotnet.php:1.48
--- phd/themes/php/phpdotnet.php:1.47 Sat Mar 22 15:30:24 2008
+++ phd/themes/php/phpdotnet.php Sat May 3 15:13:04 2008
@@ -1,5 +1,5 @@
<?php
-/* $Id: phpdotnet.php,v 1.47 2008/03/22 15:30:24 bjori Exp $ */
+/* $Id: phpdotnet.php,v 1.48 2008/05/03 15:13:04 bjori Exp $ */
abstract class phpdotnet extends PhDTheme {
protected $elementmap = array(
@@ -271,7 +271,13 @@
}
$href = '<a href="' .$href. '">';
}
- if ($this->cchunk["fieldsynopsis"]["modifier"] ==
"const") {
+
+ if (
+ $this->cchunk["fieldsynopsis"]["modifier"] ==
"const" ||
+ (
+ $nfo = $this->format->getChunkInfo() AND
$nfo["fieldsynopsis"]["modifier"] == "const"
+ )
+ ) {
return '<var class="fieldsynopsis_varname">'.$href;
}
return '<var
class="'.$name.'">'.$href.'$';
http://cvs.php.net/viewvc.cgi/phd/formats/xhtml.php?r1=1.65&r2=1.66&diff_format=u
Index: phd/formats/xhtml.php
diff -u phd/formats/xhtml.php:1.65 phd/formats/xhtml.php:1.66
--- phd/formats/xhtml.php:1.65 Fri Mar 21 20:22:29 2008
+++ phd/formats/xhtml.php Sat May 3 15:13:04 2008
@@ -1,5 +1,5 @@
<?php
-/* $Id: xhtml.php,v 1.65 2008/03/21 20:22:29 bjori Exp $ */
+/* $Id: xhtml.php,v 1.66 2008/05/03 15:13:04 bjori Exp $ */
class XHTMLPhDFormat extends PhDFormat {
protected $elementmap = array( /* {{{ */
@@ -376,6 +376,9 @@
public function TEXT($str) {
return htmlspecialchars($str, ENT_QUOTES, "UTF-8");
}
+ public function getChunkInfo() {
+ return $this->cchunk;
+ }
public function format_suppressed_tags($open, $name, $attrs) {
/* Ignore it */
return "";