Re: "disabled" tags ?
| From: | Rainer Müller | Date: | Thu, 10 Feb 2005 16:32:48 +0000 |
| Subject: | Re: "disabled" tags ? | ||
| References: | 1 2 3 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-2641@lists.php.net to get a copy of this message | ||
Attila Csipa wrote:
It seems that smarty plugins generally do not support really well the 'disabled' tag. For example, on SELECT statements this can be remedied by manually defining the <SELECT> tag, but having the disabled attribute for others, like the select_date and select_time plugins is more than tricky without modifying the plugins themselves. Is there any opinion on this ? I made some quick patches for my needs that add this functionality but I'm not sure of any 'official' standpoint from other smarty developers to the usefulness of this - if needed, these could be applied to CVS.You can use the following code: {html_select_date all_extra="disabled=\"disabled\""} This applies to all three select boxes then. HTH, Rainer