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/account_admin/iframe_mail_one.tpl
2008-11-26 14:50:40 -08:00

103 lines
3.9 KiB
Smarty

{ $block->display("core:top_clean") }
{ $method->exe("account_admin","search_form") }
{ if ($method->result == FALSE) }
{ $block->display("core:method_error") }
{else}
<form name="account_admin_mail" method="post" action="">
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr valign="top">
<td width="65%" class="table_heading">
<div align="center">
{translate module=account_admin}
title_mail
{/translate}
</div>
</td>
</tr>
<tr valign="top">
<td width="65%" class="row1">
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
<tr valign="top">
<td width="35%">
{translate module=account_admin}
mail_from
{/translate}
</td>
<td 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 width="35%">
{translate module=account_admin}
mail_to
{/translate}
</td>
<td width="65%">
{html_select_account name="mail_account_id" default=$VAR.mail_account_id}
</td>
</tr>
<tr valign="top">
<td width="35%">
{translate module=account_admin}
mail_subject
{/translate}
</td>
<td 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 width="35%">
{translate module=account_admin}
mail_message
{/translate}
</td>
<td 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 width="35%">
{translate module=account_admin}
mail_priority
{/translate}
</td>
<td width="65%">
<select name="mail_priority" >
<option value="0">{translate}false{/translate}</option>
<option value="1">{translate}true{/translate}</option>
</select>
</td>
</tr>
<tr valign="top">
<td width="35%">&nbsp;</td>
<td width="65%">
<input type="submit" name="Submit2" value="{translate}submit{/translate}" class="form_button">
<input type="hidden" name="_page" value="account_admin:iframe_mail_one">
<input type="hidden" name="do[]" value="account_admin:mail_one">
<input type="hidden" name="_escape" value="1">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<script language="JavaScript">
document.getElementById('focus').focus();
</script>
{/if}