cvs: pear /HTML_QuickForm/docs/renderers FlexyStatic_example.php
| From: | Thomas | Date: | Thu, 24 Jun 2004 19:23:10 +0000 |
| Subject: | cvs: pear /HTML_QuickForm/docs/renderers FlexyStatic_example.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21093@lists.php.net to get a copy of this message | ||
ths Thu Jun 24 15:23:10 2004 EDT
Modified files:
/pear/HTML_QuickForm/docs/renderers FlexyStatic_example.php
Log:
fix short open tag and Call-time pass-by-reference warning
http://cvs.php.net/diff.php/pear/HTML_QuickForm/docs/renderers/FlexyStatic_example.php?r1=1.3&r2=1.4&ty=u
Index: pear/HTML_QuickForm/docs/renderers/FlexyStatic_example.php
diff -u pear/HTML_QuickForm/docs/renderers/FlexyStatic_example.php:1.3
pear/HTML_QuickForm/docs/renderers/FlexyStatic_example.php:1.4
--- pear/HTML_QuickForm/docs/renderers/FlexyStatic_example.php:1.3 Mon Nov 3 07:55:53 2003
+++ pear/HTML_QuickForm/docs/renderers/FlexyStatic_example.php Thu Jun 24 15:23:10 2004
@@ -1,11 +1,11 @@
-<?
+<?php
/**
* Example of usage for HTML_QuickForm Object renderer
* with Flexy template engine and static template
*
* @author Ron McClain <mixtli@cats.ucsc.edu>
*
- * $Id: FlexyStatic_example.php,v 1.3 2003/11/03 12:55:53 avb Exp $
+ * $Id: FlexyStatic_example.php,v 1.4 2004/06/24 19:23:10 ths Exp $
*/
require_once('HTML/Template/Flexy.php');
@@ -127,7 +127,7 @@
$template = new HTML_Template_Flexy($options);
-$renderer =& new HTML_QuickForm_Renderer_ObjectFlexy(&$template);
+$renderer =& new HTML_QuickForm_Renderer_ObjectFlexy($template);
$renderer->setLabelTemplate("label.html");
$renderer->setHtmlTemplate("html.html");