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

23 lines
763 B
Smarty

{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}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle" style="font-family: Verdana, Arial, Helvetica, sans-serif; color: #000066; text-decoration: underline; font-size: 120%;"><b>{$static_page_results.title}</b></td>
</tr>
<tr>
<td style="font-family: Verdana, Arial, Helvetica, sans-serif;">{$static_page_results.body}</td>
</tr>
</table>
{else}
{t}Sorry, the requested page was not found, or you do not have the required level of authorisation to view it.{/t}
{/if}
{/if}