Re: Block functions
| From: | Bertrand DUNOGIER | Date: | Tue, 26 Mar 2002 15:34:03 +0000 |
| Subject: | Re: Block functions | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3354@lists.php.net to get a copy of this message | ||
>> {myform name="blabla"}
>> {my_checkbox name="foo"}
>> {/myform}
AS far as I am concerned, i don't think that this shoul be implemented
in smarty. I don't like that kinda 'HTML output' functions... it is
just a way to output HTML code, and exactly the same think can be
achieved with copy-paste...
I think we have to keep smarty fast, and don't overload it with
"useless" functions.
By the way, i think that the html_select, html_select_date and all
functions like this should be part of the plugin repository and not
smarty base elements. I never use them and am never gonna do so. Since
block functions can now be added, i think we should make these
functions optional.
Bertrand