cvs: pear /HTML_Template_IT ITX.php

From: Date: Fri, 23 Aug 2002 10:57:46 +0000
Subject: cvs: pear /HTML_Template_IT ITX.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-5897@lists.php.net to get a copy of this message
mj Fri Aug 23 06:57:46 2002 EDT Modified files: /pear/HTML_Template_IT ITX.php Log: * Honor new classname of IT * Fix bug #18949 Index: pear/HTML_Template_IT/ITX.php diff -u pear/HTML_Template_IT/ITX.php:1.4 pear/HTML_Template_IT/ITX.php:1.5 --- pear/HTML_Template_IT/ITX.php:1.4 Fri Aug 23 06:55:16 2002 +++ pear/HTML_Template_IT/ITX.php Fri Aug 23 06:57:46 2002 @@ -16,7 +16,7 @@ // | Author: Ulf Wendel <ulf.wendel@phpdoc.de> | // +----------------------------------------------------------------------+ // -// $Id: ITX.php,v 1.4 2002/08/23 10:55:16 mj Exp $ +// $Id: ITX.php,v 1.5 2002/08/23 10:57:46 mj Exp $ // require_once('HTML/Template/IT.php'); @@ -35,10 +35,10 @@ * * @author Ulf Wendel <uw@netuse.de> * @access public -* @version $Id: ITX.php,v 1.4 2002/08/23 10:55:16 mj Exp $ +* @version $Id: ITX.php,v 1.5 2002/08/23 10:57:46 mj Exp $ * @package IT[X] */ -class IntegratedTemplateExtension extends IntegratedTemplate { +class IntegratedTemplateExtension extends HTML_Template_IT { /** * Array with all warnings. @@ -119,9 +119,8 @@ $this->checkblocknameRegExp = '@' . $this->blocknameRegExp . '@'; $this->functionRegExp = '@' . $this->functionPrefix . '(' . $this->functionnameRegExp . ')\s*\(@sm'; - - $this->IntegratedTemplate($root); - + + $this->HTML_Template_IT($root); } // end func constructor function init() @@ -342,7 +341,7 @@ // search the value in the list of blockvariables reset($variables); while (list($k, $variable) = each($variables)) { - if ($variable == $placeholder) { + if ($k == $placeholder) { $found = $block; break; }

« previous php.pear.cvs (#5897) next »