cvs: smarty /docs/en/appendixes tips.xml /docs/en/designers language-combining-modifiers.xml /docs/en/designers/language-basic-syntax language-syntax-functions.xml language-syntax-quotes.xml language-syntax-variables.xml /docs/en/designers/language-builtin-functions language-function-capture.xml language-function-include-php.xml language-function-insert.xml language-function-section.xml /docs/en/designers/language-modifiers language-modifier-count-characters.xml language-modifier-count-paragraphs.xml language-modifier-count-sentences.xml language-modifier-count-words.xml language-modifier-date-format.xml language-modifier-default.xml language-modifier-escape.xml language-modifier-indent.xml language-modifier-nl2br.xml language-modifier-regex-replace.xml language-modifier-replace.xml language-modifier-spacify.xml language-modifier-string-format.xml language-modif ier-wordwra

"Nuno Lopes" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsnlopess1116679275@cvsserver>
nlopess		Sat May 21 08:41:15 2005 EDT

  Modified files:              
    /smarty/docs/en/appendixes	tips.xml 
    /smarty/docs/en/designers	language-combining-modifiers.xml 
    /smarty/docs/en/designers/language-basic-syntax	
                                                   	language-syntax-functions.xml 
                                                   	language-syntax-quotes.xml 
                                                   	language-syntax-variables.xml 
    /smarty/docs/en/designers/language-builtin-functions	
                                                        	language-function-capture.xml 
                                                        	language-function-include-php.xml 
                                                        	language-function-insert.xml 
                                                        	language-function-section.xml 
    /smarty/docs/en/designers/language-modifiers	
                                                	language-modifier-count-characters.xml 
                                                	language-modifier-count-paragraphs.xml 
                                                	language-modifier-count-sentences.xml 
                                                	language-modifier-count-words.xml 
                                                	language-modifier-date-format.xml 
                                                	language-modifier-default.xml 
                                                	language-modifier-escape.xml 
                                                	language-modifier-indent.xml 
                                                	language-modifier-nl2br.xml 
                                                	language-modifier-regex-replace.xml 
                                                	language-modifier-replace.xml 
                                                	language-modifier-spacify.xml 
                                                	language-modifier-string-format.xml 
                                                	language-modifier-wordwrap.xml 
    /smarty/docs/en/designers/language-variables	
                                                	language-assigned-variables.xml 
  Log:
  another patch by Peter. some WS.

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nlopess-20050521084115.txt (text/plain, 47.9 KB)
http://cvs.php.net/diff.php/smarty/docs/en/appendixes/tips.xml?r1=1.6&r2=1.7&ty=u
Index: smarty/docs/en/appendixes/tips.xml
diff -u smarty/docs/en/appendixes/tips.xml:1.6 smarty/docs/en/appendixes/tips.xml:1.7
--- smarty/docs/en/appendixes/tips.xml:1.6	Tue May 10 12:01:04 2005
+++ smarty/docs/en/appendixes/tips.xml	Sat May 21 08:41:14 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
  <chapter id="tips">
   <title>Tips &amp; Tricks</title>
   <para>
@@ -9,7 +9,8 @@
    <para>
     There may be times when you want to print a default value for an empty
     variable instead of printing nothing, such as printing "&amp;nbsp;" so that
-    table backgrounds work properly. Many would use an <link linkend="language.function.if">{if}</link> statement to
+    table backgrounds work properly. Many would use an
+    <link linkend="language.function.if">{if}</link> statement to
     handle this, but there is a shorthand way with Smarty, using the
     <emphasis>default</emphasis> variable modifier.
    </para>
@@ -32,7 +33,10 @@
 ]]>
     </programlisting>
    </example>
-   <para>See also <link linkend="language.modifier.default">default</link> and  <link linkend="tips.default.var.handling">Default Variable Handling</link></para>
+   <para>
+    See also <link linkend="language.modifier.default">default</link>
+    and <link linkend="tips.default.var.handling">Default Variable Handling</link>.
+   </para>
   </sect1>
 
   <sect1 id="tips.default.var.handling">
@@ -55,8 +59,12 @@
 ]]>
     </programlisting>
    </example>
-    <para>See also <link linkend="language.modifier.default">default</link> and  <link linkend="tips.blank.var.handling">Blank Variable Handling</link></para>
+   <para>
+    See also <link linkend="language.modifier.default">default</link> and
+    <link linkend="tips.blank.var.handling">Blank Variable Handling</link>.
+   </para>
   </sect1>
+
   <sect1 id="tips.passing.vars">
    <title>Passing variable title to header template</title>
    <para>
@@ -125,7 +133,8 @@
    <note>
     <para>
      As of Smarty 1.4.0, you can pass dates to Smarty as unix
-     timestamps, mysql timestamps, or any date parsable by  <ulink url="&url.php-manual;strtotime">strtotime()</ulink>.
+     timestamps, mysql timestamps, or any date parsable by
+     <ulink url="&url.php-manual;strtotime">strtotime()</ulink>.
     </para>
    </note>
    <example>
@@ -165,7 +174,8 @@
     </programlisting>
    </example>
    <para>
-    When using <link linkend="language.function.html.select.date">{html_select_date}</link> in a template, The programmer will most
+    When using <link linkend="language.function.html.select.date">{html_select_date}</link>
+    in a template, The programmer will most
     likely want to convert the output from the form back into timestamp
     format. Here is a function to help you with that.
    </para>
@@ -269,7 +279,8 @@
     Traditionally, programming templates into your applications goes as
     follows: First, you accumulate your variables within your PHP
     application, (maybe with database queries.) Then, you instantiate your
-    Smarty object, <link linkend="api.assign">assign</link> the variables and <link linkend="api.display">display</link> the template. So lets
+    Smarty object, <link linkend="api.assign">assign</link> the variables and
+    <link linkend="api.display">display</link> the template. So lets
     say for example we have a stock ticker on our template. We would
     collect the stock data in our application, then assign these variables
     in the template and display it. Now wouldn't it be nice if you could
@@ -317,8 +328,13 @@
 ]]>
     </programlisting>
    </example>
-   	<para>See also <link linkend="language.function.include.php">{include_php}</link>, <link linkend="language.function.include">{include}</link> and <link linkend="language.function.php">{php}</link></para>
+   <para>
+    See also <link linkend="language.function.include.php">{include_php}</link>,
+    <link linkend="language.function.include">{include}</link> and
+    <link linkend="language.function.php">{php}</link>.
+   </para>
   </sect1>
+
   <sect1 id="tips.obfuscating.email">
    <title>Obfuscating E-mail Addresses</title>
    <para>
@@ -346,9 +362,12 @@
      e-mail collector to decode these values, but not likely.
     </para>
    </note>
-   <para>See also <link linkend="language.modifier.escape">escape</link></para>
+   <para>
+    See also <link linkend="language.modifier.escape">escape</link>.
+   </para>
   </sect1>
-</chapter>
+ </chapter>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-combining-modifiers.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/en/designers/language-combining-modifiers.xml
diff -u smarty/docs/en/designers/language-combining-modifiers.xml:1.4 smarty/docs/en/designers/language-combining-modifiers.xml:1.5
--- smarty/docs/en/designers/language-combining-modifiers.xml:1.4	Sun Apr 18 13:30:04 2004
+++ smarty/docs/en/designers/language-combining-modifiers.xml	Sat May 21 08:41:14 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <chapter id="language.combining.modifiers">
  <title>Combining Modifiers</title>
  <para>
@@ -33,8 +33,8 @@
  <screen>
 <![CDATA[
 Smokers are Productive, but Death Cuts Efficiency.
-S M O K E R S   A R E   P R O D U C T I V E ,   B U T   D E A T H   C U T S   E F F I C I E N C Y .
-s m o k e r s   a r e   p r o d u c t i v e ,   b u t   d e a t h   c u t s...
+S M O K E R S   A R ....snip....  H   C U T S   E F F I C I E N C Y .
+s m o k e r s   a r ....snip....  b u t   d e a t h   c u t s...
 s m o k e r s   a r e   p r o d u c t i v e ,   b u t . . .
 s m o k e r s   a r e   p. . .
 ]]>
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-basic-syntax/language-syntax-functions.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/designers/language-basic-syntax/language-syntax-functions.xml
diff -u smarty/docs/en/designers/language-basic-syntax/language-syntax-functions.xml:1.3 smarty/docs/en/designers/language-basic-syntax/language-syntax-functions.xml:1.4
--- smarty/docs/en/designers/language-basic-syntax/language-syntax-functions.xml:1.3	Sun May  8 15:47:01 2005
+++ smarty/docs/en/designers/language-basic-syntax/language-syntax-functions.xml	Sat May 21 08:41:14 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <sect1 id="language.syntax.functions">
  <title>Functions</title>
  <para>
@@ -28,15 +28,22 @@
   </programlisting>
  </example>
  <para>
-  Both built-in functions and custom functions have the same syntax in
-  the templates. Built-in functions are the inner workings of Smarty,
-  such as <link linkend="language.function.if"><command>if</command></link>, <link linkend="language.function.section"><command>section</command></link> and
-  <link linkend="language.function.strip"><command>strip</command></link>. They cannot be modified. Custom functions are
-  additional functions implemented via plugins. They can be modified to
-  your liking, or you can add new ones. <link linkend="language.function.html.options"><command>html_options</command></link> and
-  <link linkend="language.function.html.select.date"><command>html_select_date</command></link> are examples of custom functions.
+  Both <link linkend="language.builtin.functions">built-in functions</link>
+  and <link linkend="language.custom.functions">custom functions</link>
+  have the same syntax in the templates. Built-in functions are the
+  inner workings of Smarty, such as
+  <link linkend="language.function.if"><command>if</command></link>,
+  <link linkend="language.function.section"><command>section</command></link> and
+  <link linkend="language.function.strip"><command>strip</command></link>.
+  They cannot be modified. Custom functions are
+  additional functions implemented via <link linkend="plugins">plugins</link>.
+  They can be modified to your liking, or you can add new ones.
+  <link linkend="language.function.html.options"><command>html_options</command></link> and
+  <link linkend="language.function.html.select.date"><command>html_select_date</command></link>
+  are examples of custom functions.
  </para>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml
diff -u smarty/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml:1.4 smarty/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml:1.5
--- smarty/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml:1.4	Tue May 10 12:01:07 2005
+++ smarty/docs/en/designers/language-basic-syntax/language-syntax-quotes.xml	Sat May 21 08:41:14 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <sect1 id="language.syntax.quotes">
  <title>Embedding Vars in Double Quotes</title>
  <para>
@@ -28,8 +28,11 @@
 ]]>
   </programlisting>
  </example>
- <para>See also <link linkend="language.modifier.escape">escape</link></para>
+ <para>
+  See also <link linkend="language.modifier.escape">escape</link>.
+ </para>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml
diff -u smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml:1.4 smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml:1.5
--- smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml:1.4	Tue May 10 12:01:07 2005
+++ smarty/docs/en/designers/language-basic-syntax/language-syntax-variables.xml	Sat May 21 08:41:14 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <sect1 id="language.syntax.variables">
  <title>Variables</title>
  <para>
@@ -8,7 +8,8 @@
   that are indexed numerically or non-numerically. You can also reference
   object properties and methods. Config file variables are an exception to the
   dollar sign syntax. They can be referenced with surrounding hashmarks, or
-  with the special $smarty.config variable.
+  with the special
+  <link linkend="language.variables.smarty.config">$smarty.config</link> variable.
  </para>
  <example>
   <title>Variables</title>
@@ -23,6 +24,7 @@
 {#foo#}       <-- display the config file variable "foo"
 {$smarty.config.foo} <-- synonym for {#foo#}
 {$foo[bar]}   <-- syntax only valid in a section loop, see {section}
+{assign var=foo value="baa"}{$foo} <--  displays "baa", see {assign}
 
 Many other combinations are allowed
 
@@ -36,9 +38,12 @@
 ]]>
   </programlisting>
  </example>
- <para>See also <link linkend="language.variables.smarty">$smarty reserved variables</link> 
-and <link linkend="language.config.variables">Config Variables</link></para>
+ <para>
+  See also <link linkend="language.variables.smarty">$smarty reserved variables</link>
+  and <link linkend="language.config.variables">Config Variables</link>.
+ </para>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml
diff -u smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml:1.3 smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml:1.4
--- smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml:1.3	Tue May 10 16:54:42 2005
+++ smarty/docs/en/designers/language-builtin-functions/language-function-capture.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <sect1 id="language.function.capture">
  <title>capture</title>
  <informaltable frame="all">
@@ -41,10 +41,11 @@
   variable instead of displaying it. Any content between {capture
   name="foo"} and {/capture} is collected into the variable specified
   in the name attribute. The captured content can be used in the
-  template from the special variable $smarty.capture.foo where foo is
-  the value passed in the name attribute. If you do not supply a name
-  attribute, then "default" will be used. All {capture} commands must
-  be paired with {/capture}. You can nest capture commands.
+  template from the special variable <link
+   linkend="language.variables.smarty.capture">$smarty.capture.foo</link>
+  where foo is the value passed in the name attribute. If you do not
+  supply a name attribute, then "default" will be used. All {capture}
+  commands must be paired with {/capture}. You can nest capture commands.
  </para>
  <note>
   <title>Technical Note</title>
@@ -56,10 +57,11 @@
  </note>
  <caution>
   <para>
-   Be careful when capturing <command>insert</command> output. If
-   you have caching turned on and you have <command>insert</command>
-   commands that you expect to run within cached content, do not
-   capture this content.
+   Be careful when capturing <link
+   linkend="language.function.insert"><command>insert</command></link>
+   output. If you have caching turned on and you have
+   <command>insert</command> commands that you expect to run
+   within cached content, do not capture this content.
   </para>
  </caution>
  <para>
@@ -82,7 +84,11 @@
    </programlisting>
   </example>
  </para>
+ <para>
+  See also <link linkend="language.function.assign">assign </link>.
+ </para>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-builtin-functions/language-function-include-php.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/designers/language-builtin-functions/language-function-include-php.xml
diff -u smarty/docs/en/designers/language-builtin-functions/language-function-include-php.xml:1.3 smarty/docs/en/designers/language-builtin-functions/language-function-include-php.xml:1.4
--- smarty/docs/en/designers/language-builtin-functions/language-function-include-php.xml:1.3	Tue May 10 11:09:47 2005
+++ smarty/docs/en/designers/language-builtin-functions/language-function-include-php.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <sect1 id="language.function.include.php">
  <title>include_php</title>
  <informaltable frame="all">
@@ -59,13 +59,16 @@
  </note>
  <para>
   include_php tags are used to include a php script in your template.
-  If security is enabled, then the php script must be located in the
-  $trusted_dir path. The include_php tag must have the attribute
+  If <link linkend="variable.security">security is enabled</link>,
+  then the php script must be located in the <link
+  linkend="variable.trusted.dir">$trusted_dir</link> path.
+  The include_php tag must have the attribute
   "file", which contains the path to the included php file, either
   relative to $trusted_dir, or an absolute path.
  </para>
  <para>
-  include_php is a nice way to handle componentized templates, and
+  include_php is a nice way to handle <link
+  linkend="tips.componentized.templates">componentized templates</link>, and
   keep PHP code separate from the template files. Lets say you have a
   template that shows your site navigation, which is pulled
   dynamically from a database. You can keep your PHP logic that grabs
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-builtin-functions/language-function-insert.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/designers/language-builtin-functions/language-function-insert.xml
diff -u smarty/docs/en/designers/language-builtin-functions/language-function-insert.xml:1.2 smarty/docs/en/designers/language-builtin-functions/language-function-insert.xml:1.3
--- smarty/docs/en/designers/language-builtin-functions/language-function-insert.xml:1.2	Tue May 10 16:54:42 2005
+++ smarty/docs/en/designers/language-builtin-functions/language-function-insert.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <sect1 id="language.function.insert">
  <title>insert</title>
  <informaltable frame="all">
@@ -53,10 +53,11 @@
   </tgroup>
  </informaltable>
  <para>
-  Insert tags work much like include tags, except that insert tags
-  are not cached when you have template <link
-  linkend="caching">caching</link> enabled. They will be
-  executed on every invocation of the template.
+  Insert tags work much like <link
+  linkend="language.function.include">include</link> tags,
+  except that insert tags are not cached when you have
+  template <link linkend="caching">caching</link> enabled. They
+  will be executed on every invocation of the template.
  </para>
  <para>
   Let's say you have a template with a banner slot at the top of
@@ -71,7 +72,8 @@
   <title>function insert</title>
   <programlisting>
    {* example of fetching a banner *}
-   {insert name="getBanner" lid=#banner_location_id# sid=#site_id#}</programlisting>
+   {insert name="getBanner" lid=#banner_location_id# sid=#site_id#}
+  </programlisting>
  </example>
  <para>
   In this example, we are using the name "getBanner" and passing the
@@ -98,8 +100,9 @@
    included (only once) before the insert function is executed. This
    is the case where the insert function may not exist yet, and a php
    script must be included first to make it work. The path can be
-   either absolute, or relative to $trusted_dir. When security is
-   enabled, the script must reside in $trusted_dir.
+   either absolute, or relative to $trusted_dir. When <link
+   linkend="variable.security">security is enabled</link>, the script
+   must reside in <link linkend="variable.trusted.dir">$trusted_dir</link>.
   </para>
   <para>
    The Smarty object is passed as the second argument. This way you
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-builtin-functions/language-function-section.xml?r1=1.6&r2=1.7&ty=u
Index: smarty/docs/en/designers/language-builtin-functions/language-function-section.xml
diff -u smarty/docs/en/designers/language-builtin-functions/language-function-section.xml:1.6 smarty/docs/en/designers/language-builtin-functions/language-function-section.xml:1.7
--- smarty/docs/en/designers/language-builtin-functions/language-function-section.xml:1.6	Tue May 10 07:42:38 2005
+++ smarty/docs/en/designers/language-builtin-functions/language-function-section.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <sect1 id="language.function.section">
  <title>section,sectionelse</title>
  <informaltable frame="all">
@@ -284,7 +284,8 @@
    <title>Technical Note</title>
    <para>
     If the step and start section properties are not
-    modified, then this works the same as the iteration section
+    modified, then this works the same as the <link 
+    linkend="section.property.iteration">iteration</link> section
     property, except it starts on 0 instead of 1.
    </para>
   </note>
@@ -386,9 +387,10 @@
   <note>
    <para>
     This is not affected by the section properties start, step and
-    max, unlike the index property. Iteration also starts with 1
-    instead of 0 like index. rownum is an alias to iteration, they work
-    identical.
+    max, unlike the <link linkend="section.property.index">index</link>
+    property. Iteration also starts with 1 instead of 0 like index. <link
+    linkend="section.property.rownum">rownum</link> is an alias to iteration,
+    they work identical.
    </para>
   </note>
   <example>
@@ -503,7 +505,8 @@
   <title>rownum</title>
   <para>
    rownum is used to display the current loop iteration,
-   starting with one. It is an alias to iteration, they work
+   starting with one. It is an alias to <link
+   linkend="section.property.iteration">iteration</link>, they work
    identically.
   </para>
   <example>
@@ -627,8 +630,13 @@
 ]]>
    </screen>
   </example>
+  <para>
+   See also <link linkend="language.function.foreach">foreach</link>
+   and <link linkend="language.variables.smarty.loops">$smarty.section</link>.
+  </para>
  </sect2>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-count-characters.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-count-characters.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-count-characters.xml:1.3 smarty/docs/en/designers/language-modifiers/language-modifier-count-characters.xml:1.4
--- smarty/docs/en/designers/language-modifiers/language-modifier-count-characters.xml:1.3	Tue May 10 12:01:09 2005
+++ smarty/docs/en/designers/language-modifiers/language-modifier-count-characters.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
  <sect1 id="language.modifier.count.characters">
   <title>count_characters</title>
   <informaltable frame="all">
@@ -67,12 +67,13 @@
 ]]>
    </screen>
   </example>
-   <para>See also <link linkend="language.modifier.count.paragraphs">count_paragraphs</link>, 
-   			<link linkend="language.modifier.count.sentences">count_sentences</link> and
-			<link linkend="language.modifier.count.words">count_words</link>
-			
-			</para>
-</sect1>
+  <para>
+   See also <link linkend="language.modifier.count.paragraphs">count_paragraphs</link>,
+   <link linkend="language.modifier.count.sentences">count_sentences</link> and
+   <link linkend="language.modifier.count.words">count_words</link>.
+  </para>
+ </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -92,4 +93,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-count-paragraphs.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-count-paragraphs.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-count-paragraphs.xml:1.3 smarty/docs/en/designers/language-modifiers/language-modifier-count-paragraphs.xml:1.4
--- smarty/docs/en/designers/language-modifiers/language-modifier-count-paragraphs.xml:1.3	Tue May 10 12:01:09 2005
+++ smarty/docs/en/designers/language-modifiers/language-modifier-count-paragraphs.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
  <sect1 id="language.modifier.count.paragraphs">
   <title>count_paragraphs</title>
   <para>
@@ -38,12 +38,13 @@
 ]]>
    </screen>
   </example>
-     <para>See also <link linkend="language.modifier.count.characters">count_characters</link>, 
-   			<link linkend="language.modifier.count.sentences">count_sentences</link> and
-			<link linkend="language.modifier.count.words">count_words</link>
-			
-			</para>
-</sect1>
+  <para>
+   See also <link linkend="language.modifier.count.characters">count_characters</link>,
+   <link linkend="language.modifier.count.sentences">count_sentences</link> and
+   <link linkend="language.modifier.count.words">count_words</link>.		
+  </para>
+ </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-count-sentences.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-count-sentences.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-count-sentences.xml:1.3 smarty/docs/en/designers/language-modifiers/language-modifier-count-sentences.xml:1.4
--- smarty/docs/en/designers/language-modifiers/language-modifier-count-sentences.xml:1.3	Tue May 10 12:01:09 2005
+++ smarty/docs/en/designers/language-modifiers/language-modifier-count-sentences.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
  <sect1 id="language.modifier.count.sentences">
   <title>count_sentences</title>
   <para>
@@ -37,12 +37,13 @@
 ]]>
    </screen>
   </example>
-       <para>See also <link linkend="language.modifier.count.characters">count_characters</link>,
-   			<link linkend="language.modifier.count.paragraphs">count_paragraphs</link> and
-			<link linkend="language.modifier.count.words">count_words</link>
-			
-			</para>
-</sect1>
+  <para>
+   See also <link linkend="language.modifier.count.characters">count_characters</link>,
+   <link linkend="language.modifier.count.paragraphs">count_paragraphs</link> and
+   <link linkend="language.modifier.count.words">count_words</link>.
+  </para>
+ </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -62,4 +63,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-count-words.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-count-words.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-count-words.xml:1.3 smarty/docs/en/designers/language-modifiers/language-modifier-count-words.xml:1.4
--- smarty/docs/en/designers/language-modifiers/language-modifier-count-words.xml:1.3	Tue May 10 12:01:10 2005
+++ smarty/docs/en/designers/language-modifiers/language-modifier-count-words.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
  <sect1 id="language.modifier.count.words">
   <title>count_words</title>
   <para>
@@ -37,13 +37,13 @@
 ]]>
    </screen>
   </example>
-         <para>See also <link linkend="language.modifier.count.characters">count_characters</link>, 
-   			<link linkend="language.modifier.count.paragraphs">count_paragraphs</link> and
-			<link linkend="language.modifier.count.sentences">count_sentences</link>
-			
-			</para>
-			
-</sect1>
+  <para>
+   See also <link linkend="language.modifier.count.characters">count_characters</link>,
+   <link linkend="language.modifier.count.paragraphs">count_paragraphs</link> and
+   <link linkend="language.modifier.count.sentences">count_sentences</link>.
+  </para>		
+ </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -63,4 +63,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-date-format.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-date-format.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-date-format.xml:1.3 smarty/docs/en/designers/language-modifiers/language-modifier-date-format.xml:1.4
--- smarty/docs/en/designers/language-modifiers/language-modifier-date-format.xml:1.3	Tue May 10 12:01:11 2005
+++ smarty/docs/en/designers/language-modifiers/language-modifier-date-format.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
  <sect1 id="language.modifier.date.format">
   <title>date_format</title>
   <informaltable frame="all">
@@ -211,8 +211,13 @@
     </para>
    </note>
   </para>
-  <para>See also <link linkend="language.variables.smarty.now">$smarty.now</link>, <link linkend="language.function.html.select.date">{html_select_date}</link> and <link linkend="tips.dates">date tips</link></para>
-</sect1>
+  <para>
+   See also <link linkend="language.variables.smarty.now">$smarty.now</link>,
+   <link linkend="language.function.html.select.date">{html_select_date}</link>
+   and <link linkend="tips.dates">date tips</link>.
+  </para>
+ </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -232,4 +237,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-default.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-default.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-default.xml:1.2 smarty/docs/en/designers/language-modifiers/language-modifier-default.xml:1.3
--- smarty/docs/en/designers/language-modifiers/language-modifier-default.xml:1.2	Tue May 10 12:01:11 2005
+++ smarty/docs/en/designers/language-modifiers/language-modifier-default.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
  <sect1 id="language.modifier.default">
   <title>default</title>
   <informaltable frame="all">
@@ -67,9 +67,12 @@
 ]]>
    </screen>
   </example>
-  <para>See also <link linkend="tips.default.var.handling">Default Variable Handling</link> and  <link linkend="tips.blank.var.handling">Blank Variable Handling</link></para>
-  
-</sect1>
+  <para>
+   See also <link linkend="tips.default.var.handling">Default Variable Handling</link>
+   and <link linkend="tips.blank.var.handling">Blank Variable Handling</link>.
+  </para>
+ </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -89,4 +92,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-escape.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-escape.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-escape.xml:1.3 smarty/docs/en/designers/language-modifiers/language-modifier-escape.xml:1.4
--- smarty/docs/en/designers/language-modifiers/language-modifier-escape.xml:1.3	Tue May 10 12:01:11 2005
+++ smarty/docs/en/designers/language-modifiers/language-modifier-escape.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
  <sect1 id="language.modifier.escape">
   <title>escape</title>
   <informaltable frame="all">
@@ -81,7 +81,8 @@
    </screen>
   </example>
   <para>
-   See also <link linkend="language.escaping">Escaping Smarty Parsing</link> and <link linkend="tips.obfuscating.email">Obfuscating E-mail Addresses</link>.
+   See also <link linkend="language.escaping">Escaping Smarty Parsing</link>
+   and <link linkend="tips.obfuscating.email">Obfuscating E-mail Addresses</link>.
   </para>
  </sect1>
 
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-indent.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-indent.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-indent.xml:1.2 smarty/docs/en/designers/language-modifiers/language-modifier-indent.xml:1.3
--- smarty/docs/en/designers/language-modifiers/language-modifier-indent.xml:1.2	Mon Jun 28 05:15:19 2004
+++ smarty/docs/en/designers/language-modifiers/language-modifier-indent.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
  <sect1 id="language.modifier.indent">
   <title>indent</title>
   <informaltable frame="all">
@@ -95,7 +95,12 @@
 ]]>
    </screen>
   </example>
-</sect1>
+  <para>
+   See also <link linkend="language.modifier.strip">strip</link>
+   and <link linkend="language.modifier.spacify">spacify</link>.
+  </para>
+ </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -115,4 +120,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-nl2br.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-nl2br.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-nl2br.xml:1.2 smarty/docs/en/designers/language-modifiers/language-modifier-nl2br.xml:1.3
--- smarty/docs/en/designers/language-modifiers/language-modifier-nl2br.xml:1.2	Tue May 10 12:01:11 2005
+++ smarty/docs/en/designers/language-modifiers/language-modifier-nl2br.xml	Sat May 21 08:41:15 2005
@@ -1,10 +1,11 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
  <sect1 id="language.modifier.nl2br">
   <title>nl2br</title>
   <para>
    All linebreaks will be converted to &lt;br /&gt; tags in the given
-   variable. This is equivalent to the PHP <ulink url="&url.php-manual;nl2br">nl2br()</ulink> function.
+   variable. This is equivalent to the PHP
+   <ulink url="&url.php-manual;nl2br">nl2br()</ulink> function.
   </para>
   <example>
    <title>nl2br</title>
@@ -36,8 +37,13 @@
 ]]>
    </screen>
   </example>
-<para>See also <link linkend="language.modifier.wordwrap">word_wrap</link>, <link linkend="language.modifier.count.paragraphs">count_paragraphs</link> and <link linkend="language.modifier.count.sentences">count_sentences</link></para>
-</sect1>
+  <para>
+   See also <link linkend="language.modifier.wordwrap">word_wrap</link>,
+   <link linkend="language.modifier.count.paragraphs">count_paragraphs</link>
+   and <link linkend="language.modifier.count.sentences">count_sentences</link>.
+  </para>
+ </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -57,4 +63,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-regex-replace.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-regex-replace.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-regex-replace.xml:1.1 smarty/docs/en/designers/language-modifiers/language-modifier-regex-replace.xml:1.2
--- smarty/docs/en/designers/language-modifiers/language-modifier-regex-replace.xml:1.1	Tue Apr 13 04:40:22 2004
+++ smarty/docs/en/designers/language-modifiers/language-modifier-regex-replace.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
  <sect1 id="language.modifier.regex.replace">
   <title>regex_replace</title>
   <informaltable frame="all">
@@ -38,7 +38,8 @@
   </informaltable>
   <para>
    A regular expression search and replace on a variable. Use the
-   syntax for preg_replace() from the PHP manual.
+   syntax for <ulink
+   url="&url.php-manual;preg_replace">preg_replace()</ulink> from the PHP manual.
   </para>
   <example>
    <title>regex_replace</title>
@@ -75,7 +76,12 @@
 ]]>
    </screen>
   </example>
-</sect1>
+  <para>
+   See also <link linkend="language.modifier.replace">replace</link>
+   and <link linkend="language.modifier.escape">escape</link>.
+  </para>
+ </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -95,4 +101,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-replace.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-replace.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-replace.xml:1.1 smarty/docs/en/designers/language-modifiers/language-modifier-replace.xml:1.2
--- smarty/docs/en/designers/language-modifiers/language-modifier-replace.xml:1.1	Tue Apr 13 04:40:22 2004
+++ smarty/docs/en/designers/language-modifiers/language-modifier-replace.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
  <sect1 id="language.modifier.replace">
   <title>replace</title>
   <informaltable frame="all">
@@ -37,7 +37,8 @@
    </tgroup>
   </informaltable>
   <para>
-   A simple search and replace on a variable.
+   A simple search and replace on a variable. This is equivalent to the PHP
+   <ulink url="&url.php-manual;str_replace">str_replace()</ulink> function.
   </para>
   <example>
    <title>replace</title>
@@ -73,7 +74,12 @@
 ]]>
    </screen>
   </example>
-</sect1>
+  <para>
+   See also <link linkend="language.modifier.regex.replace">regex_replace</link>
+   and <link linkend="language.modifier.escape">escape</link>.
+  </para>
+ </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -93,4 +99,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-spacify.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-spacify.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-spacify.xml:1.1 smarty/docs/en/designers/language-modifiers/language-modifier-spacify.xml:1.2
--- smarty/docs/en/designers/language-modifiers/language-modifier-spacify.xml:1.1	Tue Apr 13 04:40:22 2004
+++ smarty/docs/en/designers/language-modifiers/language-modifier-spacify.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
  <sect1 id="language.modifier.spacify">
   <title>spacify</title>
   <informaltable frame="all">
@@ -61,12 +61,17 @@
    <screen>
 <![CDATA[
 Something Went Wrong in Jet Crash, Experts Say.
-S o m e t h i n g   W e n t   W r o n g   i n   J e t   C r a s h ,   E x p e r t s   S a y .
-S^^o^^m^^e^^t^^h^^i^^n^^g^^ ^^W^^e^^n^^t^^ ^^W^^r^^o^^n^^g^^ ^^i^^n^^ ^^J^^e^^t^^ ^^C^^r^^a^^s^^h^^,^^ ^^E^^x^^p^^e^^r^^t^^s^^ ^^S^^a^^y^^.
+S o m e t h i n g   W .... snip ....  s h ,   E x p e r t s   S a y .
+S^^o^^m^^e^^t^^h^^i^^n^^g^^ .... snip .... ^^e^^r^^t^^s^^ ^^S^^a^^y^^.
 ]]>
    </screen>
   </example>
-</sect1>
+  <para>
+   See also <link linkend="language.modifier.wordwrap">wordwrap</link>
+   and <link linkend="language.modifier.nl2br">nl2br</link>.
+  </para>
+ </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -86,4 +91,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-string-format.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-string-format.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-string-format.xml:1.1 smarty/docs/en/designers/language-modifiers/language-modifier-string-format.xml:1.2
--- smarty/docs/en/designers/language-modifiers/language-modifier-string-format.xml:1.1	Tue Apr 13 04:40:22 2004
+++ smarty/docs/en/designers/language-modifiers/language-modifier-string-format.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
  <sect1 id="language.modifier.string.format">
   <title>string_format</title>
   <informaltable frame="all">
@@ -31,7 +31,8 @@
   </informaltable>
   <para>
    This is a way to format strings, such as decimal numbers and such.
-   Use the syntax for sprintf for the formatting.
+   Use the syntax for <ulink url="&url.php-manual;sprintf">sprintf</ulink>
+   for the formatting.
   </para>
   <example>
    <title>string_format</title>
@@ -67,7 +68,11 @@
 ]]>
    </screen>
   </example>
-</sect1>
+  <para>
+   See also <link linkend="language.modifier.date.format">date_format</link>.
+  </para>
+ </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -87,4 +92,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers/language-modifier-wordwrap.xml?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-wordwrap.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-wordwrap.xml:1.2 smarty/docs/en/designers/language-modifiers/language-modifier-wordwrap.xml:1.3
--- smarty/docs/en/designers/language-modifiers/language-modifier-wordwrap.xml:1.2	Tue May 10 12:01:11 2005
+++ smarty/docs/en/designers/language-modifiers/language-modifier-wordwrap.xml	Sat May 21 08:41:15 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
  <sect1 id="language.modifier.wordwrap">
   <title>wordwrap</title>
   <informaltable frame="all">
@@ -51,7 +51,8 @@
    to wrap the text to the next line (default is carriage return \n).
    By default, wordwrap will attempt to wrap at a word boundary. If
    you want to cut off at the exact character length, pass the optional
-   third parameter of true.
+   third parameter of true. This is equivalent to the PHP <ulink
+   url="&url.php-manual;wordwrap">wordwrap()</ulink> function.
   </para>
   <example>
    <title>wordwrap</title>
@@ -108,8 +109,11 @@
 ]]>
    </screen>
   </example>
-<para>See also <link linkend="language.modifier.nl2br">nl2br</link></para>
-</sect1>
+  <para>
+   See also <link linkend="language.modifier.nl2br">nl2br</link>.
+  </para>
+ </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -129,4 +133,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-variables/language-assigned-variables.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/en/designers/language-variables/language-assigned-variables.xml
diff -u smarty/docs/en/designers/language-variables/language-assigned-variables.xml:1.1 smarty/docs/en/designers/language-variables/language-assigned-variables.xml:1.2
--- smarty/docs/en/designers/language-variables/language-assigned-variables.xml:1.1	Tue Apr 13 04:40:22 2004
+++ smarty/docs/en/designers/language-variables/language-assigned-variables.xml	Sat May 21 08:41:15 2005
@@ -1,45 +1,43 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
-   <sect1 id="language.assigned.variables">
-    <title>Variables assigned from PHP</title>
-    <para>
-   	 Variables that are assigned from PHP are referenced by preceding them with
-   	 a dollar sign <literal>$</literal>. Variables assigned from within the
-   	 template with the <link linkend="language.function.assign">assign</link>
-   	 function are also displayed this way.
-    </para>
-    <example>
-
-     <title>assigned variables</title>
-     <programlisting>
+<!-- $Revision: 1.2 $ -->
+<sect1 id="language.assigned.variables">
+ <title>Variables assigned from PHP</title>
+ <para>
+  Variables that are assigned from PHP are referenced by preceding them with
+  a dollar sign <literal>$</literal>. Variables assigned from within the
+  template with the <link linkend="language.function.assign">assign</link>
+  function are also displayed this way.
+ </para>
+ <example>
+  <title>assigned variables</title>
+  <programlisting>
 <![CDATA[
 Hello {$firstname}, glad to see you could make it.
 <br />
 Your last login was on {$lastLoginDate}.
 ]]>
-     </programlisting>
-     <para>
-      This will output:
-     </para>
-     <screen>
+  </programlisting>
+  <para>
+   This will output:
+  </para>
+  <screen>
 <![CDATA[
 Hello Doug, glad to see you could make it.
 <br />
 Your last login was on January 11th, 2001.
 ]]>
-     </screen>
-    </example>
-
-		<sect2 id="language.variables.assoc.arrays">
-			<title>Associative arrays</title>
-			<para>
- 			You can also reference associative array variables that are
- 			assigned from PHP by specifying the key after the '.' (period)
- 			symbol.
-			</para>
-   <example>
-    <title>accessing associative array variables</title>
-    <programlisting role="php">
+  </screen>
+ </example>
+ <sect2 id="language.variables.assoc.arrays">
+  <title>Associative arrays</title>
+  <para>
+   You can also reference associative array variables that are
+   assigned from PHP by specifying the key after the '.' (period)
+   symbol.
+  </para>
+  <example>
+   <title>accessing associative array variables</title>
+   <programlisting role="php">
 <![CDATA[
 <?php
 $smarty = new Smarty;
@@ -51,11 +49,11 @@
 $smarty->display('index.tpl');
 ?>
 ]]>
-    </programlisting>
-    <para>
-     where the content of index.tpl is:
-    </para>
-    <programlisting>
+   </programlisting>
+   <para>
+    where the content of index.tpl is:
+   </para>
+   <programlisting>
 <![CDATA[
 {$Contacts.fax}<br />
 {$Contacts.email}<br />
@@ -63,29 +61,29 @@
 {$Contacts.phone.home}<br />
 {$Contacts.phone.cell}<br />
 ]]>
-    </programlisting>
-    <para>
-     this will output:
-    </para>
-    <screen>
+   </programlisting>
+   <para>
+    this will output:
+   </para>
+   <screen>
 <![CDATA[    
 555-222-9876<br />
 [email protected]<br />
 555-444-3333<br />
 555-111-1234<br />
 ]]>
-    </screen>
-   </example>
-		</sect2>
-  <sect2 id="language.variables.array.indexes">
-			<title>Array indexes</title>
-			<para>
- 			You can reference arrays by their index, much like native PHP
- 			syntax.
-			</para>
-   <example>
+   </screen>
+  </example>
+ </sect2>
+ <sect2 id="language.variables.array.indexes">
+  <title>Array indexes</title>
+  <para>
+   You can reference arrays by their index, much like native PHP
+   syntax.
+  </para>
+  <example>
    <title>accessing arrays by index</title>
-    <programlisting role="php">
+   <programlisting role="php">
 <![CDATA[
 <?php
 
@@ -99,11 +97,11 @@
 
 ?>
 ]]>
-    </programlisting>
-    <para>
-     where index.tpl is:
-    </para>
-    <programlisting>
+   </programlisting>
+   <para>
+    where index.tpl is:
+   </para>
+   <programlisting>
 <![CDATA[
 {$Contacts[0]}<br />
 {$Contacts[1]}<br />
@@ -111,46 +109,48 @@
 {$Contacts[2][0]}<br />
 {$Contacts[2][1]}<br />
 ]]>
-     </programlisting>
-     <para>
-      This will output:
-     </para>
-     <screen>
+   </programlisting>
+   <para>
+    This will output:
+   </para>
+   <screen>
 <![CDATA[
 555-222-9876<br />
 [email protected]<br />
 555-444-3333<br />
 555-111-1234<br />
 ]]>
-      </screen>
-     </example>
-		 </sect2>
-   <sect2 id="language.variables.objects">
-			 <title>Objects</title>
-			 <para>
-			  Properties of objects assigned from PHP can be referenced
-			  by specifying the property name after the '-&gt;' symbol.
-			 </para>
-    <example>
-     <title>accessing object properties</title>
-     <programlisting>
+   </screen>
+  </example>
+ </sect2>
+ <sect2 id="language.variables.objects">
+  <title>Objects</title>
+  <para>
+   Properties of <link linkend="advanced.features.objects">objects</link>
+   assigned from PHP can be referenced by specifying the property
+   name after the '-&gt;' symbol.
+  </para>
+  <example>
+   <title>accessing object properties</title>
+   <programlisting>
 <![CDATA[
 name: {$person->name}<br />
 email: {$person->email}<br />
 ]]>
-     </programlisting>
-     <para>
-      this will output:
-     </para>
-     <screen>
+   </programlisting>
+   <para>
+    this will output:
+   </para>
+   <screen>
 <![CDATA[
 name: Zaphod Beeblebrox<br />
 email: [email protected]<br />
 ]]>
-     </screen>
-    </example>
-		 </sect2>
+   </screen>
+  </example>
+ </sect2>
 </sect1>
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -170,4 +170,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.