43 lines
1.2 KiB
Smarty
43 lines
1.2 KiB
Smarty
{assign var=meth value=':'|explode:$VAR._page}
|
|
<!-- {$meth.0}:{$meth.1} -->
|
|
|
|
{$method->exe($meth.0,'category_list')}
|
|
{if ($method->result == false)}
|
|
{$block->display('core:method_error')}
|
|
{else}
|
|
|
|
{if $faq_category_list_display == true}
|
|
<table width="100%" class="body">
|
|
<tr>
|
|
<td style="border-bottom: dotted 1px #888888;padding-bottom: 5px;">
|
|
<a href="?_page=faq_category:faq_category">{translate module=faq}faqs{/translate}</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding-top: 15px;"><b>{translate module=faq_category}categories{/translate}</b></td>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right">
|
|
<table width="90%" class="body">
|
|
<tr>
|
|
{foreach name=forcatlist from=$faq_category_list_results item=record}
|
|
<td>
|
|
<a href="?_page=faq:list&id={$record.id}">{$record.name} ({$record.children})</a>
|
|
</td>
|
|
{if ($smarty.foreach.forcatlist.iteration%3 eq 0)}
|
|
</tr>
|
|
<tr>
|
|
{/if}
|
|
{/foreach}
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{else}
|
|
|
|
{t}Sorry, no pages were found in this category, or your account is not authorized for this category.{/t}
|
|
{/if}
|
|
{/if}
|