mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-20 03:36:20 +02:00
f0a153f0fc
- use smtp_get_admin_email() to determinate the mail sender - rename $SESSID_USERNAME to $smtp_from_email - replaced tMessage with flash_error() / flash_info() sendmail.php: - changes compared to Dale's patch: - use flash_info() for $PALANG['pSendmail_result_success'] broadcast-message.php: - use flash_error() for $PALANG['pBroadcast_error_empty'] instead of hardcoding it in the template sendmail.tpl,templates/broadcast-message.tpl: - replace <h3> with <th> - replaced $SESSID_USERNAME / $CONF[admin_email] with $smtp_from_email - mark labels with <label> - mark non-editable fields with <em> - align buttons with input fields - remove tMessage sendmail.tpl: - changes compared to Dale's patch: - fixed colspan for buttons cell templates/broadcast-message.tpl: - remove hardcoded error message (see broadcast-message.php change above) - changes compared to Dale's patch: - fixed colspan for <th> This commit is part of the huge cleanup patch by Dale Blount (lnxus@SF), https://sourceforge.net/tracker/?func=detail&atid=937966&aid=3370510&group_id=191583 git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1094 a1433add-5e2c-0410-b055-b7f2511e0802
36 lines
1013 B
Smarty
36 lines
1013 B
Smarty
<div id="edit_form">
|
|
<form name="mailbox" method="post" action="">
|
|
<table>
|
|
<tr>
|
|
<th colspan="3">{$PALANG.pSendmail_welcome}</th>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pSendmail_admin}:</label></td>
|
|
<td><em>{$smtp_from_email}</em></td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pSendmail_to}:</label></td>
|
|
<td><input class="flat" type="text" name="fTo" /></td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pSendmail_subject}:</label></td>
|
|
<td><input class="flat" type="text" name="fSubject" value="{$PALANG.pSendmail_subject_text}" /></td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pSendmail_body}:</label></td>
|
|
<td>
|
|
<textarea class="flat" rows="10" cols="60" name="fBody">{$CONF.welcome_text}</textarea>
|
|
</td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"> </td>
|
|
<td colspan="2"><input class="button" type="submit" name="submit" value="{$PALANG.pSendmail_button}" /></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|