opensmtpdadmin/templates/sendmail.tpl

40 lines
1.1 KiB
Smarty

<?php if (count($list_domains) > 0) { ?>
<div id="edit_form">
<form name="sendmail" method="post">
<table>
<tr>
<td colspan="3"><h3><?php echo $LANG['Sendmail_welcome']; ?></h3></td>
</tr>
<tr>
<td><?php echo $LANG['Sendmail_admin'] . ":"; ?></td>
<td><?php echo $SESSID_USERNAME; ?></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><?php echo $LANG['Sendmail_to'] . ":"; ?></td>
<td><input class="flat" type="text" name="to" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><?php echo $LANG['Sendmail_subject'] . ":"; ?></td>
<td><input class="flat" type="text" name="subject" value="<?php echo $LANG['Sendmail_subject_text']; ?>" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><?php echo $LANG['Sendmail_body'] . ":"; ?></td>
<td>
<textarea class="flat" rows="10" cols="60" name="body"><?php echo $LANG['Sendmail_body_text']; ?></textarea>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3" class="help_center"><input class="button" type="submit" name="submit" value="<?php echo $LANG['Sendmail_button']; ?>" /></td>
</tr>
<tr>
<td colspan="3" class="standout"><?php echo $message ?? '&nbsp;'; ?></td>
</tr>
</table>
</form>
</div>
<?php } ?>