This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/faq/menu.tpl

27 lines
786 B
Smarty
Raw Normal View History

2009-08-03 04:10:16 +00:00
{assign var=meth value=':'|explode:$VAR._page}
<!-- {$meth.0}:{$meth.1} -->
{$method->exe('faq_category','category_list')}
{if ($method->result == false)}
{$block->display('core:method_error')}
{/if}
{if $faq_category_list_display == true}
2009-08-03 04:10:16 +00:00
<table width="140px" border="0" cellspacing="0" cellpadding="0" class="menu_background" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
<tr>
<td class="menu_1">{osb f=tt method=menu}</td>
</tr>
{foreach from=$faq_category_list_results item=record key=key}
<tr>
<td class="menu_2">&nbsp;&nbsp;<a href="?_page=faq:faq&category_id={$record.id}">{$record.name}</a></td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
{/if}