Moved "For example" out of the smarty tag

This commit is contained in:
gerald
2004-07-03 08:41:02 +00:00
parent 6874b3a22b
commit 9513f59a5d

View File

@@ -47,9 +47,8 @@ Topic: {$topic|truncate:40:"..."}
as modifiers has two little pitfalls: First: Sometimes the order as modifiers has two little pitfalls: First: Sometimes the order
of the function-parameters is not the desirable one of the function-parameters is not the desirable one
(<literal>{"%2.f"|sprintf:$float}</literal> actually works, but (<literal>{"%2.f"|sprintf:$float}</literal> actually works, but
asks for the more intuitive <literal>{For example: asks for the more intuitive. For example:<literal>{$float|string_format:"%2.f"}</literal>
$float|string_format:"%2.f"}</literal> that is provided by the that is provided by the Smarty distribution). Second: with <link
Smarty distribution). Second: with <link
linkend="variable.security">$security</link> turned on all linkend="variable.security">$security</link> turned on all
php-functions that are to be used as modifiers have to be php-functions that are to be used as modifiers have to be
declared trusted in the <link linkend="variable.security.settings"> declared trusted in the <link linkend="variable.security.settings">