cvs: pear /HTML_Template_Flexy/Flexy/Compiler/Standard Flexy.php
| From: | Alan Knowles | Date: | Thu, 16 Oct 2003 00:43:13 +0000 |
| Subject: | cvs: pear /HTML_Template_Flexy/Flexy/Compiler/Standard Flexy.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-13645@lists.php.net to get a copy of this message | ||
alan_k Wed Oct 15 20:43:13 2003 EDT
Modified files:
/pear/HTML_Template_Flexy/Flexy/Compiler/Standard Flexy.php
Log:
refix the fix I unfixed
Index: pear/HTML_Template_Flexy/Flexy/Compiler/Standard/Flexy.php
diff -u pear/HTML_Template_Flexy/Flexy/Compiler/Standard/Flexy.php:1.7
pear/HTML_Template_Flexy/Flexy/Compiler/Standard/Flexy.php:1.8
--- pear/HTML_Template_Flexy/Flexy/Compiler/Standard/Flexy.php:1.7 Sat Oct 11 22:14:20 2003
+++ pear/HTML_Template_Flexy/Flexy/Compiler/Standard/Flexy.php Wed Oct 15 20:43:13 2003
@@ -16,7 +16,7 @@
// | Authors: Alan Knowles <alan@akkbhome.com> |
// +----------------------------------------------------------------------+
//
-// $Id: Flexy.php,v 1.7 2003/10/12 02:14:20 alan_k Exp $
+// $Id: Flexy.php,v 1.8 2003/10/16 00:43:13 alan_k Exp $
//
// Handler code for the <flexy: namespace
//
@@ -31,7 +31,7 @@
*
*
*
-* @version $Id: Flexy.php,v 1.7 2003/10/12 02:14:20 alan_k Exp $
+* @version $Id: Flexy.php,v 1.8 2003/10/16 00:43:13 alan_k Exp $
*/
class HTML_Template_Flexy_Compiler_Standard_Flexy {
@@ -102,7 +102,8 @@
continue;
}
$v = substr($v,1,-1);
- $ret .= $this->compiler->appendPhp('echo
HTML_Javascript_Convert::convertVar(\''.$prefix .
$k.'\','.$element->toVar($v) .',true);');
+ $ret .= $this->compiler->appendPhp(
+ 'echo HTML_Javascript_Convert::convertVar('.$element->toVar($v)
.',\''.$prefix . $k.'\',true);');
$ret .= $this->compiler->appendHTML("\n");
}
$ret .= $this->compiler->appendHTML("</script>");