PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_QuickForm » Bug #7497

impossible to put two tags "label_*" in a template

Details

Submitted2006-04-26 21:22 UTC
Fromludo dot gml at laposte dot net
StatusWont fix
PackageHTML_QuickForm
PHP Version5.1.2
OSDebian
Roadmaps(Not assigned)

Comments

[2006-04-26 21:22 UTC] ludo dot gml at laposte dot net

Description:
------------
For this element template example, I've a problem :

when I haven't define a label "help_page" but I've
defined "help" label, QuickForm delete all, link and
image.

The bug is in file render/default.php, line 266.
The preg_replace() select this :

preg_replace() must be select only and

Test script:
---------------
$element_template =

* {label}


{error} {element}