cvs: smarty /docs designers.sgml
"Monte Ohrt" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmohrt1072119726@cvsserver> |
mohrt Mon Dec 22 14:02:06 2003 EDT
Modified files:
/smarty/docs designers.sgml
Log:
fix counter example
Index: smarty/docs/designers.sgml
diff -u smarty/docs/designers.sgml:1.92 smarty/docs/designers.sgml:1.93
--- smarty/docs/designers.sgml:1.92 Fri Dec 12 04:42:06 2003
+++ smarty/docs/designers.sgml Mon Dec 22 14:02:06 2003
@@ -3450,19 +3450,17 @@
<title>counter</title>
<programlisting>
{* initialize the count *}
-{counter start=0 skip=2 print=false}
-
-{counter}<br>
+{counter start=0 skip=2}<br>
{counter}<br>
{counter}<br>
{counter}<br>
OUTPUT:
+0<br>
2<br>
4<br>
-6<br>
-8<br></programlisting>
+6<br></programlisting>
</example>
</sect1>
<sect1 id="language.function.cycle">
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php