114 lines
5.2 KiB
Smarty
114 lines
5.2 KiB
Smarty
{assign var=meth value=':'|explode:$VAR._page}
|
|
<!-- {$meth.0}:{$meth.1} -->
|
|
|
|
{$method->exe($meth.0,$meth.1)}
|
|
{if ($method->result == false)}
|
|
{$block->display('core:method_error')}
|
|
{else}
|
|
{include file='file:../core/view_pre.tpl'}
|
|
|
|
<!-- Display the field validation -->
|
|
{if $form_validation}
|
|
{$block->display('core:alert_fields')}
|
|
{/if}
|
|
|
|
<!-- 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=name}</td>
|
|
<td style="width: 65%;"><input type="text" name="setup_email_name" value="{$record.name}" size="32"/></td>
|
|
</tr>
|
|
{if $list->is_installed('email_queue')}
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=queue}</td>
|
|
<td style="width: 65%;">{$list->bool('setup_email_queue',$record.queue,'" onChange="submit()')}</td>
|
|
</tr>
|
|
{/if}
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=notes}</td>
|
|
<td style="width: 65%;"><input type="text" name="setup_email_notes" value="{$record.notes}" size="32"/></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=from_name}</td>
|
|
<td style="width: 65%;"><input type="text" name="setup_email_from_name" value="{$record.from_name}" size="32"/></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=from_email}</td>
|
|
<td style="width: 65%;"><input type="text" name="setup_email_from_email" value="{$record.from_email}" size="32"/></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=cc_list}</td>
|
|
<td style="width: 65%;"><textarea name="setup_email_cc_list" cols="40" rows="5" >{$record.cc_list}</textarea></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=bcc_list}</td>
|
|
<td style="width: 65%;"><textarea name="setup_email_bcc_list" cols="40" rows="5" >{$record.bcc_list}</textarea></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=type}</td>
|
|
<td style="width: 65%;">{$list->bool('setup_email_type',$record.type)}<br/>
|
|
{t}If you select 'Yes', you will need to enter your SMTP server login details below.{/t}
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td colspan="2"> </td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=server}</td>
|
|
<td style="width: 65%;"><input type="text" name="setup_email_server" value="{$record.server}" size="32"/></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td style="width: 35%;">{osb f=tf field=username}</td>
|
|
<td style="width: 65%;"><input type="text" name="setup_email_username" value="{$record.username}" size="32"/></td>
|
|
</tr>
|
|
<tr class="row1" valign="middle" align="left">
|
|
<td style="width: 35%;">{osb f=tf field=password}</td>
|
|
<td style="width: 65%;"><input type="password" name="setup_email_password" value="{$record.password}" size="32"/></td>
|
|
</tr>
|
|
<tr class="row1" valign="middle" align="left">
|
|
<td colspan="2"> </td>
|
|
</tr>
|
|
<tr class="row1" valign="middle" align="left">
|
|
<td style="width: 35%;">{osb f=tf field=piping}</td>
|
|
<td style="width: 65%;">{$list->menu_staticlist('email_piping','setup_email_piping','setup_email_piping',$record.piping,'form_menu')}
|
|
</tr>
|
|
<tr class="row1" valign="middle" align="left">
|
|
<td style="width: 35%;">{osb f=tf field=piping_host}</td>
|
|
<td style="width: 65%;"><input type="text" name="setup_email_piping_host" value="{$record.piping_host}" size="32"/></td>
|
|
</tr>
|
|
<tr class="row1" valign="middle" align="left">
|
|
<td style="width: 35%;">{osb f=tf field=piping_username}</td>
|
|
<td style="width: 65%;"><input type="text" name="setup_email_piping_username" value="{$record.piping_username}" size="32"/></td>
|
|
</tr>
|
|
<tr class="row1" valign="middle" align="left">
|
|
<td style="width: 35%;">{osb f=tf field=piping_password}</td>
|
|
<td style="width: 65%;"><input type="password" name="setup_email_piping_password" value="{$record.piping_password}" size="32"/></td>
|
|
</tr>
|
|
<tr class="row1" valign="middle" align="left">
|
|
<td style="width: 35%;">{osb f=tf field=piping_action}</td>
|
|
<td style="width: 65%;">{$list->menu_staticlist('email_piping_action','setup_email_piping_action','setup_email_piping_action',$record.piping_action,'form_menu')}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
{include file='file:../core/view_tr_submit_delete.tpl'}
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
{include file='file:../core/view_post.tpl'}
|
|
</form>
|
|
{/if}
|