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/product_cat/add.tpl

53 lines
2.2 KiB
Smarty
Raw Normal View History

<!-- Display the form validation -->
{if $form_validation}
2009-08-03 04:10:16 +00:00
{$block->display('core:alert_fields')}
{/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 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>
2009-08-03 04:10:16 +00:00
</form>