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/page_list.tpl

37 lines
1.0 KiB
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($meth.0,$meth.1)}
{if ($method->result == false)}
{$block->display('core:method_error')}
{else}
{if $static_page_display == true}
{foreach from=$static_page_results item=record}
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr valign="top">
<td class="table_heading_cart"><a href="{$URL}?_page=static_page:page_show&amp;name={$record.name}">{$record.title}</a></td>
</tr>
<tr>
<td style="background-color: #FFFFFF;">
<table width="100%" border="0" cellpadding="4">
<tr>
<td class="body">{$record.intro}</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
{/foreach}
{else}
{t}Sorry, no pages were found in this category, or your account is not authorized for this category.{/t}
{/if}
{/if}