69 lines
2.6 KiB
Smarty
69 lines
2.6 KiB
Smarty
{assign var=meth value=':'|explode:$VAR._page}
|
|
<!-- {$meth.0}:{$meth.1} -->
|
|
|
|
{$method->exe('account','search_form')}
|
|
{if ($method->result == false)}
|
|
{$block->display('core:method_error')}
|
|
{else}
|
|
<form id="mail_multi" 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%;">{t}Mail From{/t}</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%;">{t}Mail To{/t}</td>
|
|
<td style="width: 65%;">
|
|
<a href="?_page=account:search_show&search_id={$VAR.search_id}">{t}Send to all search results{/t}</a>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{t}Subject{/t}</td>
|
|
<td style="width: 65%;"><input id="focus" 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%;">{t}Message{/t}</td>
|
|
<td style="width: 65%;"><textarea name="mail_message" {if $mail_message == true}class="form_field_error" {/if} cols="55" rows="4">{$VAR.mail_message}</textarea></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{t}Priority{/t}</td>
|
|
<td style="width: 65%;">{$list->bool('mail_priority',$VAR.mail_priority)}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;"> </td>
|
|
<td style="width: 65%;">
|
|
<input type="submit" name="Submit" value="{t}Submit{/t}" class="form_button"/>
|
|
<input type="hidden" name="_page" value="{$meth.0}:view"/>
|
|
<input type="hidden" name="do[]" value="{$meth.0}:{$meth.1}"/>
|
|
<input type="hidden" name="search_id" value="{$VAR.search_id}"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</form>
|
|
{/if}
|
|
|
|
{$block->display('core:bottom_frame')}
|