Well, I haven't tested it, but you could try the following: $smarty->leftdelimiter="/*{*/"; $smarty->rightdelimiter="/*}*/"; $smarty->display("the_c_code_template.tpl"); $smarty->leftdelimiter="{"; $smarty->rightdelimiter="}"; I don't know if you can have delimiters that are more than 1 character long. Gabriel Am Donnerstag, 30.10.03 um 08:54 Uhr schrieb Matthias H. Risse: > hi smart people: > > i would like to use smarty with a template > not being a markup lang (html/xml/wml) or so, but > being code. of course code following c-syntax > style consists of various blocksequences ( { and } brackets ). > > do you think its smart to do such a thing with smarty > and if yes: is it possible to change smarty-tagstyle > just for one page (on the fly). i dont really want to > reedit all my other markup-templates which use {-brackets, > too. > > yours > matthias > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > With best regards Gabriel Birke -- KONTOR4_Neue Medien Nelkenstrasse 3 31515 Wunstorf Germany Phone: +49 5031-955244 Fax: +49 5031-955231 mailto:birke@kontor4.de http://www.kontor4.de -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php