diff --git a/change_log.txt b/change_log.txt
index 32942ab0..af57575a 100644
--- a/change_log.txt
+++ b/change_log.txt
@@ -1,4 +1,5 @@
04/05/2009
+- replaced new array looping syntax {for $foo in $array} with {foreach $foo in $array} to avoid confusion
- added append array for short form of assign {$foo[]='bar'} and allow assignments to nested arrays {$foo['bla']['blue']='bar'}
04/04/2009
diff --git a/libs/debug.tpl b/libs/debug.tpl
index 585573c4..97fd8deb 100644
--- a/libs/debug.tpl
+++ b/libs/debug.tpl
@@ -89,33 +89,33 @@ td {
included templates & config files (load time in seconds)
-{for $template in $template_data}
+{foreach $template in $template_data}
{$template.name}
(compile {$template['compile_time']|string_format:"%.5f"}) (render {$template['render_time']|string_format:"%.5f"}) (cache {$template['cache_time']|string_format:"%.5f"})
-{/for}
+{/foreach}
assigned template variables
- {for $vars in $assigned_vars}
+ {foreach $vars in $assigned_vars}
${$vars@key|escape:'html'} |
{$vars|debug_print_var} |
- {/for}
+ {/foreach}
assigned config file variables (outer template scope)
- {for $vars in $config_vars}
+ {foreach $vars in $config_vars}
{$vars@key|escape:'html'} |
{$vars|debug_print_var} |
- {/for}
+ {/foreach}