Re: [SMARTY] delimiter style
| From: | messju mohr | Date: | Tue, 14 Dec 2004 14:41:04 +0000 |
| Subject: | Re: [SMARTY] delimiter style | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12031@lists.php.net to get a copy of this message | ||
On Tue, Dec 14, 2004 at 09:00:26AM -0500, Robert wrote:
> Do you tend to leave the left and right delimiter style to {}, or do you
> change them to avoid any possible brace collisions with other languages that
> use {}, like CSS or JS that you may embed in your pages?
i tend to leave them as they are. now each time i embed css or js into
the template i ask myself: does this have to be hardcoded here or
shouldn't this be in an external .css or .js-file? and for the very
rare cases where it has to be "hardcode here" there is {literal}.
> Robert
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php