cvs: smarty /docs designers.sgml

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1062414717@cvsserver>
messju		Mon Sep  1 07:11:57 2003 EDT

  Modified files:              
    /smarty/docs	designers.sgml 
  Log:
  fixed example for simple math.
  
  
Index: smarty/docs/designers.sgml
diff -u smarty/docs/designers.sgml:1.78 smarty/docs/designers.sgml:1.79
--- smarty/docs/designers.sgml:1.78	Fri Aug 15 12:06:49 2003
+++ smarty/docs/designers.sgml	Mon Sep  1 07:11:57 2003
@@ -142,19 +142,19 @@
     <example>
      <title>math examples</title>
      <programlisting>	 
-{$foo + 1}
+{$foo+1}
 
-{$foo * $bar}
+{$foo*$bar}
 	 
 {* some more complicated examples *}
 	 
-{$foo-&gt;bar - $bar[1] * $baz-&gt;foo-&gt;bar() - 3 * 7}
+{$foo-&gt;bar-$bar[1]*$baz-&gt;foo-&gt;bar()-3*7}
 
 {if ($foo+$bar.test%$baz*134232+10+$b+10)}
 
-{$foo|truncate:"`$fooTruncCount / $barTruncFactor -1`"}
+{$foo|truncate:"`$fooTruncCount/$barTruncFactor-1`"}
 
-{assign var="foo" value="`$foo + $bar`"}</programlisting>
+{assign var="foo" value="`$foo+$bar`"}</programlisting>
 </example>
 	</sect1>
 

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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.