96 lines
3.5 KiB
Smarty
96 lines
3.5 KiB
Smarty
{assign var=meth value=':'|explode:$VAR._page}
|
|
<!-- {$meth.0}:{$meth.1} -->
|
|
|
|
<!-- Display the form 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 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 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=email_template_id}</td>
|
|
<td style="width: 65%;">
|
|
{if $VAR.id != ''}
|
|
{$list->menu('','email_template_translate_email_template_id','email_template','name',$VAR.id,'form_menu')}
|
|
{else}
|
|
{$list->menu('','email_template_translate_email_template_id','email_template','name',$VAR.email_template_translate_email_template_id,'form_menu')}
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=language_id}</td>
|
|
<td style="width: 65%;">
|
|
{if $VAR.email_template_translate_language_id == ''}
|
|
{$list->menu_files('','email_template_translate_language_id',$smarty.const.DEFAULT_LANGUAGE,'language','','_core.xml','form_menu')}
|
|
{else}
|
|
{$list->menu_files('','email_template_translate_language_id',$VAR.email_template_translate_language_id,'language','','_core.xml','form_menu')}
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=subject}</td>
|
|
<td style="width: 65%;"><input type="text" name="email_template_translate_subject" value="{$VAR.email_template_translate_subject}" {if $email_template_translate_subject == true}class="form_field_error"{/if}/></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="row1">
|
|
<tr>
|
|
<td><b>{osb f=tf field=message_text}</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center"><textarea name="email_template_translate_message_text" cols="90" rows="12" {if $email_template_translate_message_text == true}class="form_field_error"{/if}>{$VAR.email_template_translate_message_text}</textarea></td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><b>{osb f=tf field=message_html}</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td><textarea id="email_template_translate_message_html" name="email_template_translate_message_html" class="mce_editable" cols="85" rows="17">{$VAR.email_template_translate_message_html}</textarea></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="row1">
|
|
<tr>
|
|
<td style="width: 0%;"> </td>
|
|
<td style="width: 100%;"> </td>
|
|
</tr>
|
|
{include file='file:../core/add_tr_submit.tpl'}
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
{include file='file:fields.tpl'}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</form>
|