2009-08-03 04:10:16 +00:00
|
|
|
{assign var=meth value=':'|explode:$VAR._page}
|
|
|
|
<!-- {$meth.0}:{$meth.1} -->
|
2008-11-26 22:50:40 +00:00
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
{$method->exe($meth.0,$meth.1)}
|
|
|
|
{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
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
<!-- Display the field validation -->
|
|
|
|
{if $form_validation}
|
|
|
|
{$block->display('core:alert_fields')}
|
|
|
|
{/if}
|
2008-11-26 22:50:40 +00:00
|
|
|
|
2009-08-03 04:10:16 +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
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
<!-- Display each record -->
|
|
|
|
<form id="view" 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%;">{$list->menu('','email_template_translate_email_template_id','email_template','name',$record.email_template_id,'form_menu')}</td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 35%;">{osb f=tf field=language_id}</td>
|
|
|
|
<td style="width: 65%;">{$list->menu_files('','email_template_translate_language_id',$record.language_id,'language','','_core.xml','form_menu')}</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="{$record.subject}" size="48"/></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">{$record.message_text|htmlspecialchars}</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">{$record.message_html|htmlspecialchars}</textarea></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="row1">
|
|
|
|
{include file='file:../core/view_tr_submit_delete.tpl'}
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
{include file='file:fields.tpl'}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2008-11-26 22:50:40 +00:00
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
{include file='file:../core/view_post.tpl'}
|
|
|
|
</form>
|
2008-11-26 22:50:40 +00:00
|
|
|
{/if}
|