diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-03-27 04:29:23 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-03-27 04:29:23 +0000 |
commit | 7673d000dd8ec85908a99a1174840c8ca3c53e16 (patch) | |
tree | 8cbce751084279e680055f156824c52ea3b3b88b /templates/show_mail_users.inc.php | |
parent | 75434cbeb6e6c2e4107b9932a79b3d146dbdcc0f (diff) | |
download | ampache-7673d000dd8ec85908a99a1174840c8ca3c53e16.tar.gz ampache-7673d000dd8ec85908a99a1174840c8ca3c53e16.tar.bz2 ampache-7673d000dd8ec85908a99a1174840c8ca3c53e16.zip |
added some more to flagging and updated mail page to fit new standards
Diffstat (limited to 'templates/show_mail_users.inc.php')
-rw-r--r-- | templates/show_mail_users.inc.php | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/templates/show_mail_users.inc.php b/templates/show_mail_users.inc.php new file mode 100644 index 00000000..19960474 --- /dev/null +++ b/templates/show_mail_users.inc.php @@ -0,0 +1,59 @@ +<?php +/* + + Copyright (c) 2001 - 2006 Ampache.org + All rights reserved. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +*/ +?> +<form name="mail" method="post" action="<?php echo conf('web_path'); ?>/admin/mail.php" enctype="multipart/form-data"> +<span class="header1"><?php echo _('Send E-mail to Users'); ?></span> +<table class="text-box"> + <tr> + <td><?php echo _('Mail to'); ?>:</td> + <td> + <select name="to"> + <option value="all" <?php if ($to == 'all') { echo "selected=\"selected\""; } ?>>All</option> + <option value="users" <?php if ($to == 'user') { echo "selected=\"selected\""; } ?>>Users</option> + <option value="admins" <?php if ($to == 'admin') { echo "selected=\"selected\""; } ?>>Admins</option> + </select> + </td> + </tr> + + <tr> + <td><?php echo _('Subject'); ?>:</td> + <td> + <input name="subject" value="<?php echo scrub_out($_POST['subject']); ?>" size="50"></input> + </td> + </tr> + + <tr> + <td valign="top"><?php echo _('Message'); ?>:</td> + <td> + <textarea class="input" name="message" rows="20" cols="70"><?php echo scrub_out($message); ?></textarea> + </td> + </tr> + + <tr> + <td> </td> + <td> + <input type="hidden" name="action" value="send_mail" /> + <input class="button" type="submit" value="<?php echo _('Send Mail'); ?>" /> + </td> + </tr> +</table> +</form> |