PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_QuickForm » Bug #734

Renderer_ArraySmarty; doesn't work "error" and "required" templates notes.

Details

Submitted2004-02-11 10:41 UTC
Frommichalm3 at o2 dot pl
Assignedths
StatusClosed
PackageHTML_QuickForm
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2004-02-11 10:41 UTC] michalm3 at o2 dot pl

Description:
------------
I am using HTML_QuickForm_Renderer_ArraySmarty.

My Smarty delimiters "{","}" are changed to another ones.

I am not sure if this is an error or intended thing but now for setRequiredTemplate(...) and setErrorTemplate(...) it is obligatory to use {$label}, {$html} placeholder. When user change Smarty delimiter it is intuitive he change delimiters for these placeholders too.

I spend some time to find out why my required rule note does not work and I think it would be useful to change '{$html' to $this->_tpl->left_delimiter.'$html' (the same for $label) in ArraySmarty.php.

[2004-02-11 12:30 UTC] ths at php dot net

This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.

Thank you for the report, and for helping us make PEAR better.