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/static_page_category/menu.tpl
2011-05-03 09:49:01 +10:00

29 lines
846 B
Smarty

{assign var=meth value=':'|explode:$VAR._page}
<!-- {$meth.0}:{$meth.1} -->
{$method->exe_noauth($meth.0,$meth.1)}
{if ($method->result == false)}
{$block->display('core:method_error')}
{else}
{if $static_page_category_display == true}
<table border="0" cellspacing="0" cellpadding="0" class="menu_background">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="menu_1" style="text-align: center; font-size: 90%; text-decoration: underline;"><b>{osb f=tt}</b></td>
</tr>
{foreach from=$static_page_category_results item=record key=key}
<tr>
<td class="menu_2"><a href="{$URL}?_page=static_page:page_list&amp;id={$record.id}">{$record.name}</a></td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
<br/>
{/if}
{/if}