For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > December 2004 > Re: [SMARTY] delimiter style









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] delimiter style
Messju Mohr

2004-12-14, 4:09 pm

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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com