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

96 lines
3.5 KiB
Smarty
Raw Normal View History

2009-08-03 04:10:16 +00:00
{assign var=meth value=':'|explode:$VAR._page}
<!-- {$meth.0}:{$meth.1} -->
<!-- Display the form validation -->
{if $form_validation}
2009-08-03 04:10:16 +00:00
{$block->display('core:alert_fields')}
{/if}
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>
<!-- 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 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>&nbsp;</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%;">&nbsp;</td>
<td style="width: 100%;">&nbsp;</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>