fix typos

This commit is contained in:
mohrt
2002-12-05 15:27:06 +00:00
parent a18eaf7194
commit 021676b5ba

View File

@@ -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}</programlisting>
</example>