53 lines
2.2 KiB
Smarty
53 lines
2.2 KiB
Smarty
<!-- 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 width="65%" class="table_heading"><center>{osb f=tt module=product_cat method=add}</center></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="65%" class="row1">
|
|
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
|
<tr valign="top">
|
|
<td width="35%">{osb f=tf module=product_cat field=name}</td>
|
|
<td width="65%"><input type="text" name="product_cat_name" value="{$VAR.product_cat_name}" {if $product_cat_name == true}class="form_field_error"{/if} /></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="35%">{osb f=tf module=product_cat field=group_avail}</td>
|
|
<td width="65%">{$list->menu_multi($VAR.product_cat_group_avail,'product_cat_group_avail','group','name','','10','form_menu')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="35%">{osb f=tf module=product_cat field=template}</td>
|
|
<td width="65%">{$list->menu_files('','product_cat_template',$VAR.product_cat_template,'product_cat','t_','.tpl','form_menu')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="35%">{osb f=tf module=product_cat field=max}</td>
|
|
<td width="65%"><input type="text" name="product_cat_max" value="{$VAR.product_cat_max}" {if $product_cat_max == true}class="form_field_error"{/if} size="3"/></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="35%"></td>
|
|
<td width="65%">
|
|
<input type="submit" name="Submit" value="{t}Submit{/t}" class="form_button"/>
|
|
<input type="hidden" name="_page" value="product_cat_translate:add"/>
|
|
<input type="hidden" name="_page_current" value="product_cat:add"/>
|
|
<input type="hidden" name="do[]" value="product_cat:add"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</form>
|