cvs: smarty /docs/en/designers language-modifiers.xml
"gerald croes" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsgerald1088844062@cvsserver> |
gerald Sat Jul 3 04:41:02 2004 EDT
Modified files:
/smarty/docs/en/designers language-modifiers.xml
Log:
Moved "For example" out of the smarty tag
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers.xml?r1=1.13&r2=1.14&ty=u
Index: smarty/docs/en/designers/language-modifiers.xml
diff -u smarty/docs/en/designers/language-modifiers.xml:1.13 smarty/docs/en/designers/language-modifiers.xml:1.14
--- smarty/docs/en/designers/language-modifiers.xml:1.13 Sun Apr 18 13:30:04 2004
+++ smarty/docs/en/designers/language-modifiers.xml Sat Jul 3 04:41:02 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.13 $ -->
+<!-- $Revision: 1.14 $ -->
<chapter id="language.modifiers">
<title>Variable Modifiers</title>
<para>
@@ -47,9 +47,8 @@
as modifiers has two little pitfalls: First: Sometimes the order
of the function-parameters is not the desirable one
(<literal>{"%2.f"|sprintf:$float}</literal> actually works, but
- asks for the more intuitive <literal>{For example:
- $float|string_format:"%2.f"}</literal> that is provided by the
- Smarty distribution). Second: with <link
+ asks for the more intuitive. For example:<literal>{$float|string_format:"%2.f"}</literal>
+ that is provided by the Smarty distribution). Second: with <link
linkend="variable.security">$security</link> turned on all
php-functions that are to be used as modifiers have to be
declared trusted in the <link linkend="variable.security.settings">
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php