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

31 lines
888 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}
{include file='file:../core/search_show_pre.tpl'}
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="2">
{$method->exe_noauth($meth.0,'tpl_search_show')}
<!-- LOOP THROUGH EACH RECORD -->
{foreach from=$search_show item=record}
<tr class="{$record._C}">
<td>{$record.name|capitalize}</td>
<td><div style="text-align: center;"><a href="?_page=import:import&amp;plugin={$record.name}">{t}Plugin Options{/t}</a></div></td>
</tr>
{/foreach}
<!-- END OF RESULT LOOP -->
</table>
</td>
</tr>
</table>
</form>
</div>
{/if}