Forum Moderators: coopster

Message Too Old, No Replies

Smarty Templates syntax

<!--% %--> instead of {}

         

Jaze

11:11 pm on Oct 3, 2007 (gmt 0)

10+ Year Member



Hi,

Can anyone give me a heads up as to why our Smarty templates are using the syntax <!--% %--> instead of what looks like should be standard {}?

Is there a way to customise the tags or was their a particular (archive) version that used this syntax instead?

-- edit --
what's more is the Smarty.class.php file has:
/**
* The left delimiter used for the template tags.
*
* @var string
*/
var $left_delimiter = '{';

/**
* The right delimiter used for the template tags.
*
* @var string
*/
var $right_delimiter = '}';

[edited by: Jaze at 11:20 pm (utc) on Oct. 3, 2007]

Jaze

11:30 pm on Oct 3, 2007 (gmt 0)

10+ Year Member



Never mind.. found it.

Of course one can override a classes settings.
duh!

Found the override in a settings file.
[smarty.php.net...]
Page 11. If anyone is wondering...

About time I posted here again.