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/file/menu.tpl

33 lines
873 B
Smarty
Raw Normal View History

{ $method->exe("file","category_list")}
{ if ($method->result == FALSE) } { $block->display("core:method_error") }
{/if}
{if $file_category_display == true}
<table width="140" 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">
<center>
{translate}
files
{/translate}
</center>
</td>
</tr>
{foreach from=$file_category_results item=record key=key}
<tr>
<td class="menu_2"> &nbsp;&nbsp;
<a href="{$URL}?_page=file:list&id={$record.id}">
{$record.name}
</a>
</td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
<br>
{/if}