2010-11-29 22:41:08 +00:00
|
|
|
{$block->display('core:top_clean')}
|
2008-11-26 22:50:40 +00:00
|
|
|
|
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
|
|
|
|
2010-11-29 22:41:08 +00:00
|
|
|
{$method->exe($meth.0,'view')}
|
|
|
|
{if ($method->result == false)}
|
|
|
|
{$block->display('core:method_error')}
|
|
|
|
{else}
|
|
|
|
{include file='file:../core/view_pre.tpl'}
|
2008-11-26 22:50:40 +00:00
|
|
|
|
2010-11-29 22:41:08 +00:00
|
|
|
<!-- Display the field validation -->
|
|
|
|
{if $form_validation}
|
|
|
|
{$block->display('core:alert_fields')}
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
|
|
|
|
<!-- Display each record -->
|
|
|
|
<form id="view" method="post" action="" enctype="multipart/form-data">
|
2008-11-26 22:50:40 +00:00
|
|
|
|
2010-11-29 22:41:08 +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="row1">
|
|
|
|
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row1">
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 35%;"><b>{osb f=tf field=name}</b></td>
|
|
|
|
<td style="width: 65%;"><input type="text" name="product_translate_name" value="{$record.name}" size="32"/></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>{osb f=tf field=description_short}</b></td>
|
|
|
|
<td><input name="product_translate_description_short" rows="10" cols="80" value="{$record.description_short|htmlspecialchars}" size="50" /></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<br/>
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="3" class="body">
|
|
|
|
<tr>
|
|
|
|
<td> </td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>{osb f=tf field=description_full}</b></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><textarea name="product_translate_description_full" rows="13" cols="80" class="mce_editable">{$record.description_full|htmlspecialchars}</textarea></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<br/>
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="3" class="body">
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 35%;"><b>{osb f=tf field=email_template}</b></td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 65%;"><textarea name="product_translate_email_template" rows="3" cols="55" >{$record.email_template|htmlspecialchars}</textarea></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<table width="100%" border="0" cellspacing="6" cellpadding="1" class="row1">
|
|
|
|
<tr class="row1">
|
|
|
|
<!-- @todo Unable to use include file='file:../core/view_td_submit.tpl' the template dir is not set? -->
|
|
|
|
<td style="text-align: left;"><input type="submit" name="Submit" value="{t}Submit{/t}" class="form_button"/></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<input type="hidden" name="_page" value="product_translate:edit"/>
|
|
|
|
<input type="hidden" name="product_translate_id" value="{$record.id}"/>
|
|
|
|
<input type="hidden" name="do[]" value="product_translate:update"/>
|
|
|
|
<input type="hidden" name="id" value="{$VAR.id}"/>
|
|
|
|
<input type="hidden" name="product_translate_product_id" value="{$record.product_id}"/>
|
|
|
|
<input type="hidden" name="product_translate_language_id" value="{$record.language_id}"/>
|
|
|
|
</div>
|
|
|
|
</form>
|
2008-11-26 22:50:40 +00:00
|
|
|
{/if}
|
2010-11-29 22:41:08 +00:00
|
|
|
|
|
|
|
{$block->display('core:bottom_clean')}
|