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/view.tpl

84 lines
3.5 KiB
Smarty
Raw Normal View History

2009-08-03 04:10:16 +00:00
{assign var=meth value=':'|explode:$VAR._page}
<!-- {$meth.0}:{$meth.1} -->
2009-08-03 04:10:16 +00:00
{$method->exe($meth.0,$meth.1)}
{if ($method->result == false)}
{$block->display('core:method_error')}
{else}
{include file='file:../core/view_pre.tpl'}
2009-08-03 04:10:16 +00:00
<!-- Display the field validation -->
{if $form_validation}
{$block->display('core:alert_fields')}
{/if}
2009-08-03 04:10:16 +00:00
<!-- Display each record -->
<form id="view" method="post" action="" enctype="multipart/form-data">
2009-08-03 04:10:16 +00:00
<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="{$record.name}" 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="{$record.terms}" 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',$record.status)}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=group_avail}</td>
<td style="width: 65%;">{$list->menu_multi($record.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($record.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',$record.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="{$record.fee}" 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="{$record.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="{$record.suspend_day}" 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',$record.enable_emails)}</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',$record.sweep_type,'form_menu')}</td>
</tr>
</table>
</td>
</tr>
{include file='file:../core/view_tr_submit_delete.tpl'}
</table>
</td>
</tr>
</table>
2009-08-03 04:10:16 +00:00
{include file='file:../core/view_post.tpl'}
</form>
{/if}