New modifiers

Note: The following section describes additional modifiers, which are available to you in the Yana Framework and are not part of to the basic functionality of the Smarty template engine. The basic functions of the Smarty template engine are described in the documentation at http://smarty.net/docs.

css

[%$foo|css%]

Creates a link to a given path to a CSS-Datei.

Example:

[%"default.css"|css%]

Output:

<link rel="stylesheet" type="text/css"
href="default.css">

date

[%$foo|date%]

From a variable containing an UTC, this modifier creates a JavaScript statement, that outputs the current time using the correct time zone of the client browser.