diff --git a/docs/designers.sgml b/docs/designers.sgml index c9980a11..3db4c042 100644 --- a/docs/designers.sgml +++ b/docs/designers.sgml @@ -1737,7 +1737,7 @@ load_nav.php require_once("MySQL.class.php"); $sql = new MySQL; $sql->query("select * from site_nav_sections order by name",SQL_ALL); - $this->assign($sections,$sql->record); + $this->assign('sections',$sql->record); ?> @@ -1748,7 +1748,7 @@ index.tpl {* absolute path, or relative to $trusted_dir *} {include_php file="/path/to/load_nav.php"} -{foreach item=$curr_section from=$sections} +{foreach item="curr_section" from=$sections} <a href="{$curr_section.url}">{$curr_section.name}</a><br> {/foreach}