{assign var=meth value=':'|explode:$VAR._page} {$method->exe($meth.0,$meth.1)} {if ($method->result == false)} {$block->display('core:method_error')} {else} {include file='file:../core/view_pre.tpl'} {if $form_validation} {$block->display('core:alert_fields')} {/if}
{include file='file:../core/view_tr_submit_delete.tpl'}
{osb f=tt}
{osb f=tf field=name}
{osb f=tf field=notes}
{osb f=tf field=status} {$list->bool('affiliate_template_status',$record.status,'form_menu')}
{osb f=tf field=affiliate_plugin} {$list->menu_files('','affiliate_template_affiliate_plugin',$record.affiliate_plugin,'affiliate_plugin','','.php','form_menu')}
{osb f=tf field=avail_campaign_id} {$list->menu_multi($record.avail_campaign_id,'affiliate_template_avail_campaign_id','campaign','name','','5','form_menu')}
{osb f=tf field=max_tiers}
{osb f=tf field=commission_minimum}
{osb f=tf field=new_commission_type} {$list->menu_staticlist('commissiontype','affiliate_template_new_commission_type','affiliate_template_new_commission_type',$record.new_commission_type,'form_menu')}
{osb f=tf field=recurr_commission_type} {$list->menu_staticlist('commissiontype','affiliate_template_recurr_commission_type','affiliate_template_recurr_commission_type',$record.recurr_commission_type,'form_menu')}
{osb f=tf field=recurr_max_commission_periods}
{section name=i start=0 loop=100 step=1} {/section}
{include file='file:../core/view_post.tpl'}

{/if}