2009-08-03 04:10:16 +00:00
|
|
|
{assign var=meth value=':'|explode:$VAR._page}
|
|
|
|
<!-- {$meth.0}:{$meth.1} -->
|
2008-11-26 22:50:40 +00:00
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
{$method->exe($meth.0,$meth.1)}
|
|
|
|
{if ($method->result == false)}
|
|
|
|
{$block->display('core:method_error')}
|
2008-11-26 22:50:40 +00:00
|
|
|
{else}
|
2009-08-03 04:10:16 +00:00
|
|
|
{include file='file:../core/search_show_pre.tpl'}
|
2008-11-26 22:50:40 +00:00
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
<!-- BEGIN THE RESULTS CONTENT AREA -->
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
|
<!-- DISPLAY THE SEARCH HEADING -->
|
|
|
|
<tr valign="middle" align="center" class="table_heading">
|
|
|
|
<td class="table_heading" style="width: 20px;"> </td>
|
|
|
|
<td class="table_heading">{translate module=host_registrar_plugin}field_name{/translate}</td>
|
|
|
|
<td class="table_heading"> </td>
|
|
|
|
</tr>
|
|
|
|
<!-- LOOP THROUGH EACH RECORD -->
|
|
|
|
{foreach from=$host_registrar_plugin item=record}
|
|
|
|
<tr class="{$record._C}">
|
|
|
|
<td>
|
|
|
|
{if $record.status == '1'}
|
|
|
|
<img src="themes/{$THEME_NAME}/images/icons/go_16.gif" alt="Enabled" width="16" height="16" style="border: 0px;"/>
|
|
|
|
{else}
|
|
|
|
<img src="themes/{$THEME_NAME}/images/icons/stop_16.gif" alt="Disabled" width="16" height="16" style="border: 0px;"/>
|
|
|
|
{/if}
|
|
|
|
</td>
|
|
|
|
<td>{$record.name}</td>
|
|
|
|
<td style="text-align: center;">
|
|
|
|
{if $record.status == '1'}
|
|
|
|
<a href="?_page=host_registrar_plugin:view&id={$record.id}">{t}View / Edit Plugin{/t}</a>
|
|
|
|
{else}
|
|
|
|
<a href="?_page=host_registrar_plugin:add&host_registrar_plugin_file={$record.name}">{t}Install Plugin{/t}</a>
|
|
|
|
{/if}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
<!-- END OF RESULT LOOP -->
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
2008-11-26 22:50:40 +00:00
|
|
|
{/if}
|
|
|
|
</div>
|