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
--
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|