2010-11-29 22:41:08 +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}
|
2010-11-29 22:41:08 +00:00
|
|
|
{$block->display('core:alert_fields')}
|
2008-11-26 22:50:40 +00:00
|
|
|
{/if}
|
|
|
|
|
2010-11-29 22:41:08 +00:00
|
|
|
<!-- tinyMCE -->
|
|
|
|
<script type="text/javascript" src="includes/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
|
|
|
|
<script type="text/javascript" src="themes/{$THEME_NAME}/tinymce.js"></script>
|
|
|
|
|
2008-11-26 22:50:40 +00:00
|
|
|
<!-- 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">
|
2008-11-26 22:50:40 +00:00
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
2010-11-29 22:41:08 +00:00
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
|
|
|
<tr valign="top">
|
|
|
|
<td class="row1">
|
|
|
|
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 10%;">{osb f=tf field=name}</td>
|
|
|
|
<td><input type="text" name="product_translate_name" value="{$VAR.product_translate_name}" {if $product_translate_name == true}class="form_field_error"{/if}/></td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 10%;">{osb f=tf field=description_short}</td>
|
|
|
|
<td><textarea name="product_translate_description_short" cols="50" rows="3" {if $product_translate_description_short == true}class="form_field_error"{/if}>{$VAR.product_translate_description_short|htmlspecialchars}</textarea></td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 10%;">{osb f=tf field=description_full}</td>
|
|
|
|
<td><textarea name="product_translate_description_full" cols="50" rows="3" {if $product_translate_description_full == true}class="form_field_error"{/if}>{$VAR.product_translate_description_full|htmlspecialchars}</textarea></td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 10%;">{osb f=tf field=email_template}</td>
|
|
|
|
<td><textarea name="product_translate_email_template" cols="50" rows="3" {if $product_translate_email_template == true}class="form_field_error"{/if}>{$VAR.product_translate_email_template}</textarea></td>
|
|
|
|
</tr>
|
|
|
|
<!-- @todo Unable to use include file='file:../core/add_tr_submit.tpl' the template dir is not set? -->
|
|
|
|
<tr valign="top">
|
|
|
|
<td> </td>
|
|
|
|
<td>
|
|
|
|
<input type="submit" name="Submit" value="{t}Submit{/t}" class="form_button"/>
|
|
|
|
<input type="hidden" name="_page" value="{$meth.0}:view"/>
|
|
|
|
<input type="hidden" name="_page_current" value="{$VAR._page}"/>
|
|
|
|
<input type="hidden" name="do[]" value="{$meth.0}:{$meth.1}"/>
|
|
|
|
<script type="text/javascript">
|
|
|
|
<!--
|
|
|
|
if (document.getElementById('focus'))
|
|
|
|
document.getElementById('focus').focus();
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<input type="hidden" name="product_translate_product_id" value="{$VAR.product_translate_product_id}"/>
|
|
|
|
<input type="hidden" name="product_translate_language_id" value="{$VAR.product_translate_language_id}"/>
|
|
|
|
{if $VAR._escape}
|
|
|
|
<input type="hidden" name="_escape" value="1"/>
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
</form>
|