0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
postfixadmin/templates/sendmail.php
Christian Boltz 02195254d7 common.php
- define('POSTFIXADMIN', 1)

templates/*.php
- check if POSTFIXADMIN is defined to prevent direct access to the
  template files


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@256 a1433add-5e2c-0410-b055-b7f2511e0802
2007-12-02 19:23:08 +00:00

39 lines
1.3 KiB
PHP

<?php if( !defined('POSTFIXADMIN') ) die( "This file cannot be used standalone." ); ?>
<div id="edit_form">
<form name="mailbox" method="post">
<table>
<tr>
<td colspan="3"><h3><?php print $PALANG['pSendmail_welcome']; ?></h3></td>
</tr>
<tr>
<td><?php print $PALANG['pSendmail_admin'] . ":"; ?></td>
<td><?php print $SESSID_USERNAME; ?></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><?php print $PALANG['pSendmail_to'] . ":"; ?></td>
<td><input class="flat" type="text" name="fTo" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><?php print $PALANG['pSendmail_subject'] . ":"; ?></td>
<td><input class="flat" type="text" name="fSubject" value="<?php print $PALANG['pSendmail_subject_text']; ?>" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><?php print $PALANG['pSendmail_body'] . ":" ?></td>
<td>
<textarea class="flat" rows="10" cols="60" name="fBody"><?php print $CONF['welcome_text']; ?></textarea>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3" class="hlp_center"><input class="button" type="submit" name="submit" value="<?php print $PALANG['pSendmail_button']; ?>" /></td>
</tr>
<tr>
<td colspan="3" class="standout"><?php print $tMessage; ?></td>
</tr>
</table>
</form>
</div>