cvs: pear /HTML_Template_Flexy/Flexy/Compiler/Flexy Flexy.php

From: Date: Thu, 20 Jan 2005 01:45:14 +0000
Subject: cvs: pear /HTML_Template_Flexy/Flexy/Compiler/Flexy Flexy.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-28697@lists.php.net to get a copy of this message
alan_k Wed Jan 19 20:45:14 2005 EDT Modified files: /pear/HTML_Template_Flexy/Flexy/Compiler/Flexy Flexy.php Log: make flexy:include work nicely with nested templates. http://cvs.php.net/diff.php/pear/HTML_Template_Flexy/Flexy/Compiler/Flexy/Flexy.php?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Template_Flexy/Flexy/Compiler/Flexy/Flexy.php diff -u pear/HTML_Template_Flexy/Flexy/Compiler/Flexy/Flexy.php:1.2 pear/HTML_Template_Flexy/Flexy/Compiler/Flexy/Flexy.php:1.3 --- pear/HTML_Template_Flexy/Flexy/Compiler/Flexy/Flexy.php:1.2 Wed Jul 28 22:53:43 2004 +++ pear/HTML_Template_Flexy/Flexy/Compiler/Flexy/Flexy.php Wed Jan 19 20:45:14 2005 @@ -16,7 +16,7 @@ // | Authors: Alan Knowles <alan@akkbhome.com> | // +----------------------------------------------------------------------+ // -// $Id: Flexy.php,v 1.2 2004/07/29 02:53:43 alan_k Exp $ +// $Id: Flexy.php,v 1.3 2005/01/20 01:45:14 alan_k Exp $ // // Handler code for the <flexy: namespace // @@ -31,7 +31,7 @@ * * * -* @version $Id: Flexy.php,v 1.2 2004/07/29 02:53:43 alan_k Exp $ +* @version $Id: Flexy.php,v 1.3 2005/01/20 01:45:14 alan_k Exp $ */ class HTML_Template_Flexy_Compiler_Flexy_Flexy { @@ -137,7 +137,7 @@ return $this->compiler->appendPHP( "\n". "\$x = new HTML_Template_Flexy(\$this->options);\n". "\$x->compile('{$arg}');\n". - "\$x->outputObject(\$t);\n" + "include $x->compiledTemplate;\n" ); }

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