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/affiliate/mail_multi.tpl

66 lines
2.6 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} -->
{$method->exe($meth.0,'search_form')}
{if ($method->result == false)}
{$block->display('core:method_error')}
{else}
<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=from}</td>
<td style="width: 65%;">
{if $VAR.mail_email_id != ''}
{$list->menu('','mail_email_id','setup_email','name',$smarty.const.DEFAULT_SETUP_EMAIL,'form_menu')}
{else}
{$list->menu('','mail_email_id','setup_email','name',$setup.mail_email_id,'form_menu')}
{/if}
</td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=to}</td>
<td style="width: 65%;"><a href="?_page=affiliate:search_show&amp;search_id={$VAR.search_id}">{osb f=tf field=multi}</a></td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=subject}</td>
<td style="width: 65%;"><input type="text" name="mail_subject" value="{$VAR.mail_subject}" {if $mail_subject == true}class="form_field_error"{/if} size="50"/></td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=message}</td>
<td style="width: 65%;"><textarea name="mail_message" {if $mail_message == true}class="form_field_error" {/if} cols="55" rows="6">{$VAR.mail_message}</textarea></td>
</tr>
<tr valign="top">
<td style="width: 35%;">{osb f=tf field=priority}</td>
<td style="width: 65%;">{$list->bool('mail_priority',false,'form_menu')}</td>
</tr>
<tr valign="top">
<td style="width: 35%;">&nbsp;</td>
<td style="width: 65%;"><input type="image" name="imageField" src="themes/{$THEME_NAME}/images/icons/mail_32.gif" alt="{t}Submit{/t}"/></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div>
<input type="hidden" name="_page" value="{$VAR._page}"/>
<input type="hidden" name="do[]" value="{$meth.0}:{$meth.1}"/>
<input type="hidden" name="search_id" value="{$VAR.search_id}"/>
</div>
</form>
{/if}