cvs: phd / build.php

From: Date: Sat, 29 Sep 2007 16:44:19 +0000
Subject: cvs: phd / build.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-98@lists.php.net to get a copy of this message
bjori Sat Sep 29 16:44:19 2007 UTC Modified files: /phd build.php Log: Pass the actual element name, not the function name, to the text handlers http://cvs.php.net/viewvc.cgi/phd/build.php?r1=1.27&r2=1.28&diff_format=u Index: phd/build.php diff -u phd/build.php:1.27 phd/build.php:1.28 --- phd/build.php:1.27 Sat Sep 29 15:44:25 2007 +++ phd/build.php Sat Sep 29 16:44:19 2007 @@ -1,5 +1,5 @@ <?php -/* $Id: build.php,v 1.27 2007/09/29 15:44:25 bjori Exp $ */ +/* $Id: build.php,v 1.28 2007/09/29 16:44:19 bjori Exp $ */ function err($no, $str, $file, $line) { global $notify; @@ -188,7 +188,7 @@ } if ($tagname) { - $retval = $themes[$theme]->{$tagname}($value, $tagname); + $retval = $themes[$theme]->{$tagname}($value, $parentname); if ($retval !== false) { $skip[] = $theme; $themes[$theme]->appendData($retval, false); @@ -204,7 +204,7 @@ $tagname = $reader->notXPath($tagname, $reader->depth-1); } if ($tagname) { - $retval = $format->{$tagname}($value, $tagname); + $retval = $format->{$tagname}($value, $parentname); } } if ($retval === false) {

« previous php.doc.cvs (#98) next »