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

76 lines
3.5 KiB
Smarty

{assign var=meth value=':'|explode:$VAR._page}
<!-- {$meth.0}:{$meth.1} -->
<!-- Display the form validation -->
{if $form_validation}
{$block->display('core:alert_fields')}
{/if}
<!-- Display the form to collect the input values -->
<form id="add" method="post" action="" enctype="multipart/form-data">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr valign="top">
<td class="table_heading">{osb f=tt}</td>
</tr>
<tr valign="top">
<td class="row1">
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=name}</td>
<td style="width: 65%;"><input type="text" name="net_term_name" value="{$VAR.net_term_name}" {if $net_term_name == true}class="form_field_error"{/if} size="16"/></td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=terms}</td>
<td style="width: 65%;"><input type="text" name="net_term_terms" value="{$VAR.net_term_terms}" {if $net_term_terms == true}class="form_field_error"{/if} size="32"/></td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=status}</td>
<td style="width: 65%;">{$list->bool('net_term_status',1)}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=group_avail}</td>
<td style="width: 65%;">{$list->menu_multi($VAR.net_term_group_avail,'net_term_group_avail','group','name','5','5','form_menu')}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=checkout_id}</td>
<td style="width: 65%;">{$list->menu_multi($VAR.net_term_checkout_id,'net_term_checkout_id','checkout','name','5','5','form_menu')}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=fee_type}</td>
<td style="width: 65%;">{$list->menu_staticlist('commissiontype','net_term_fee_type','net_term_fee_type',$VAR.net_term_fee_type,'form_menu')}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=fee}</td>
<td style="width: 65%;"><input type="text" name="net_term_fee" value="{$VAR.net_term_fee}" {if $net_term_fee == true}class="form_field_error"{/if} size="5"/></td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=fee_day}</td>
<td style="width: 65%;"><input type="text" name="net_term_fee_day" value="{$VAR.net_term_fee_day}" size="5"/></td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=suspend_day}</td>
<td style="width: 65%;"><input type="text" name="net_term_suspend_day" value="{$VAR.net_term_suspend_day}" {if $net_term_suspend_day == true}class="form_field_error"{/if} size="5"/></td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=enable_emails}</td>
<td style="width: 65%;">{$list->bool('net_term_enable_emails',1)}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=sweep_type}</td>
<td style="width: 65%;">{$list->menu_staticlist('charge_sweep','net_term_sweep_type','net_term_sweep_type',$VAR.net_term_sweep_type,'form_menu')}</td>
</tr>
{include file='file:../core/add_tr_submit.tpl'}
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>