summaryrefslogtreecommitdiffstats
path: root/templates/show_mail_users.inc.php
diff options
context:
space:
mode:
authorPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-10-09 08:06:12 +0000
committerPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-10-09 08:06:12 +0000
commitf82f5454f9832303ef5075b73e5017549c3a19ae (patch)
tree71805afd7285d8d1829ec593ca787140eaea7c4e /templates/show_mail_users.inc.php
parentb18ff601386b5f59c264b554e7ded04890c4283e (diff)
downloadampache-f82f5454f9832303ef5075b73e5017549c3a19ae.tar.gz
ampache-f82f5454f9832303ef5075b73e5017549c3a19ae.tar.bz2
ampache-f82f5454f9832303ef5075b73e5017549c3a19ae.zip
Refactor mail handling a bit and make registration use the same method as the
other places that send mail.
Diffstat (limited to 'templates/show_mail_users.inc.php')
-rw-r--r--templates/show_mail_users.inc.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/show_mail_users.inc.php b/templates/show_mail_users.inc.php
index 5a328b5d..46aefe31 100644
--- a/templates/show_mail_users.inc.php
+++ b/templates/show_mail_users.inc.php
@@ -95,6 +95,15 @@
</tr>
-->
<tr>
+ <td><?php echo _('From'); ?>:</td>
+ <td>
+ <select name="from">
+ <option value="self" title="Self"><?php echo _('Yourself'); ?></option>
+ <option value="system" title="System"><?php echo _('Ampache'); ?></option>
+ </select>
+ </td>
+ </tr>
+ <tr>
<td><?php echo _('Subject'); ?>:</td>
<td colspan="3">
<input name="subject" value="<?php echo scrub_out($_POST['subject']); ?>" size="50"></input>