From 25ec77ca153ba1125e96a3665ab1f2f8df1b583e Mon Sep 17 00:00:00 2001 From: messju Date: Fri, 24 Jun 2005 09:02:01 +0000 Subject: [PATCH] fixed examples --- .../language-function-section.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/en/designers/language-builtin-functions/language-function-section.xml b/docs/en/designers/language-builtin-functions/language-function-section.xml index adeb7735..55aab77c 100644 --- a/docs/en/designers/language-builtin-functions/language-function-section.xml +++ b/docs/en/designers/language-builtin-functions/language-function-section.xml @@ -112,7 +112,7 @@ $smarty->assign('custid',$data);
{* print out all the values of the $custid array reversed *} {section name=foo loop=$custid step=-1} - {$custid[foo]} + {$custid[foo]}
{/section} ]]> @@ -295,7 +295,7 @@ $smarty->assign('contact_info', $info); id: 1000
name: John Smith
address: 253 N 45th
- home phone: 555-555-5555
+ home phone: 555-555-5555
cell phone: 666-555-5555
e-mail: john@myexample.com

@@ -304,7 +304,6 @@ $smarty->assign('contact_info', $info); address: 417 Mulberry ln
home phone: 123-456-4
web: www.example.com
-
id: 1002
name: Jane Munson
@@ -316,7 +315,7 @@ $smarty->assign('contact_info', $info); sections and associative arrays - + assign('contacts',$data); ?> ]]> - +