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
|
|
|
|
|
|
|
<!-- Display the form validation -->
|
|
|
|
{if $form_validation}
|
2009-08-03 04:10:16 +00:00
|
|
|
{$block->display('core:alert_fields')}
|
2008-11-26 22:50:40 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
<!-- Display the form to collect the input values -->
|
2009-08-03 04:10:16 +00:00
|
|
|
<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=static_var_id}</td>
|
|
|
|
<td style="width: 65%;">{$list->menu('no','static_relation_static_var_id','static_var','name',$VAR.static_relation_static_var_id,'form_menu')}</td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 35%;">{osb f=tf field=module_id}</td>
|
|
|
|
<td style="width: 65%;">{$list->menu('no','static_relation_module_id','module','name',$VAR.static_relation_module_id,'form_menu')}</td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 35%;">{osb f=tf field=default_value}</td>
|
|
|
|
<td style="width: 65%;"><textarea name="static_relation_default_value" cols="40" rows="2" {if $static_relation_default_value == true}class="form_field_error"{/if}>{$VAR.static_relation_default_value}</textarea></td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 35%;">{osb f=tf field=description}</td>
|
|
|
|
<td style="width: 65%;"><textarea name="static_relation_description" cols="40" rows="2" {if $static_relation_description == true}class="form_field_error"{/if}>{$VAR.static_relation_description}</textarea></td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 35%;">{osb f=tf field=required}</td>
|
|
|
|
<td style="width: 65%;">{$list->bool('static_relation_required',$VAR.static_relation_required)}</td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 35%;">{osb f=tf field=sort_order}</td>
|
|
|
|
<td style="width: 65%;"><input type="text" name="static_relation_sort_order" value="{$VAR.static_relation_sort_order}" {if $static_relation_sort_order == true}class="form_field_error"{/if} size="3"/></td>
|
|
|
|
</tr>
|
|
|
|
{include file='file:../core/add_tr_submit.tpl'}
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</form>
|