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

64 lines
2.9 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}
<!-- 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: 50%;">{osb f=tf field=name}</td>
<td style="width: 50%;"><input type="text" name="email_template_name" value="{$VAR.email_template_name}" {if $email_template_name == true}class="form_field_error"{/if} size="32"/></td>
</tr>
<tr valign="top">
<td style="width: 50%;">{osb f=tf field=setup_email_id}</td>
<td style="width: 50%;">{$list->menu('','email_template_setup_email_id','setup_email','name',$VAR.email_template_setup_email_id,'form_menu')}</td>
</tr>
<tr valign="top">
<td style="width: 50%;">{osb f=tf field=priority}</td>
<td style="width: 50%;">{$list->bool('email_template_priority',$VAR.email_template_priority,'form_menu')}</td>
</tr>
<tr valign="top">
<td style="width: 50%;">&nbsp;</td>
<td style="width: 50%;">&nbsp;</td>
</tr>
<tr valign="top">
<td style="width: 50%;">{osb f=tf field=sql_1}</td>
<td style="width: 50%;">{osb f=tf field=sql_2}</td>
</tr>
<tr valign="top">
<td style="width: 50%;"><textarea name="email_template_sql_1" cols="40" rows="2" {if $email_template_sql_1 == true}class="form_field_error"{/if}>{$VAR.email_template_sql_1}</textarea></td>
<td style="width: 50%;"><textarea name="email_template_sql_2" cols="40" rows="2" {if $email_template_sql_2 == true}class="form_field_error"{/if}>{$VAR.email_template_sql_2}</textarea></td>
</tr>
<tr valign="top">
<td style="width: 50%;">{osb f=tf field=sql_3}</td>
<td style="width: 50%;">{osb f=tf field=notes}</td>
</tr>
<tr valign="top">
<td style="width: 50%;"><textarea name="email_template_sql_3" cols="40" rows="2" {if $email_template_sql_3 == true}class="form_field_error"{/if}>{$VAR.email_template_sql_3}</textarea></td>
<td style="width: 50%;"><textarea name="email_template_notes" cols="40" rows="2" {if $email_template_notes == true}class="form_field_error"{/if}>{$VAR.email_template_notes}</textarea></td>
</tr>
{include file='file:../core/add_tr_submit.tpl'}
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>