Hello,
I just noticed, that all value attributes for textfields got lost.
That's the problem:
input.class.php:49
// create the string with the smarty delimiters and all attributes
$string = 'fs_input_' . $this->getAttributeValue('type') . ' name="' . $this->getAttributeValue('name') . '"';
$this->deleteAttribute('type'); $this->deleteAttribute('value');
The value attribute is deleted without being added to the string..
Is there any reason not just to change it to
// create the string with the smarty delimiters and all attributes
$string = 'fs_input_' . $this->getAttributeValue('type');
and handling the name & value attribute later with all the others?
(That way, my fix to use smarty vars & functions would also apply to
that two attributes.)
-david
|