Re: [SMARTY] html_options bug
| From: | messju mohr | Date: | Wed, 19 Mar 2003 09:41:54 +0000 |
| Subject: | Re: [SMARTY] html_options bug | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8734@lists.php.net to get a copy of this message | ||
On Wed, Mar 19, 2003 at 04:19:36AM -0500, lists@yewlands.com wrote:
> Morning
>
> I have just been checking a site a new noticed a couple of things.
>
> I have the html options file from the cvs.
>
> In the docs it says that if the name attribute is passed it will create the
> <select> tags, but this is optional. Then inside the functions.html_options.php
> file $name is initialised to 'select', so the <select> tage will always be
> created.
> This has a knock on effect for things like date select.
> IE causes all the options to be displayed as text, this is how I came across this.
>
> Removing the $name = 'select' line solves this problem.
this was fixed and comitted by me yesterday already.
greetings
messju
> Matt