{assign var=meth value=':'|explode:$VAR._page} {$method->exe($meth.0,'view')} {if ($method->result == false)} {$block->display('core:method_error')} {else} {include file='file:../core/view_pre.tpl'} {if $record.prod_plugin == '1'} {t}Both hosting and product plugins cannot be configured for the same product.{/t} {else}
{if ($list->smarty_array('host_server','provision_plugin','','plugin'))} {foreach from=$plugin item=arr} {if $record.host_server_id == $arr.id} {/if} {/foreach} {/if}
{osb f=tf field=host} {$list->bool('product_host',$record.host,'" onchange="submit();')}
{osb f=tf field=host_server_id} {$list->menu('no','product_host_server_id','host_server','name',$record.host_server_id,'" onchange="document.product_view.submit();')}
{osb f=tf field=host_allow_domain} {if $record.host_allow_domain == ''} {$list->bool('product_host_allow_domain','1','form_menu')} {else} {$list->bool('product_host_allow_domain',$record.host_allow_domain,'form_menu')} {/if}
{osb f=tf field=host_allow_host_only} {if $record.host_allow_host_only != ''} {$list->bool('product_host_allow_host_only',$record.host_allow_host_only,'form_menu')} {else} {$list->bool('product_host_allow_host_only','0','form_menu')} {/if}
{osb f=tf field=host_discount_tld} {osb f=tf field=host_discount_tld_amount}
{$list->menu_multi($record.host_discount_tld,'product_host_discount_tld','host_tld','name','5','5','form_menu')} (example: 0.10 = 10%)
{assign var="afile" value=$arr.provision_plugin} {assign var="ablock" value="host_provision_plugin:plugin_prod_"} {assign var="blockfile" value="$ablock$afile"} {$block->display($blockfile)}
{include file='file:../core/view_td_submit.tpl'}
{include file='file:../core/view_post.tpl'}
{/if} {/if}