~ubuntu-branches/debian/sid/ampache/sid

« back to all changes in this revision

Viewing changes to templates/show_mail_users.inc.php

  • Committer: Package Import Robot
  • Author(s): Charlie Smotherman
  • Date: 2013-08-27 13:19:48 UTC
  • mfrom: (1.2.9)
  • Revision ID: package-import@ubuntu.com-20130827131948-1czew0zxn6u70dtv
Tags: 3.6-rzb2752+dfsg-1
* New upsteam snapshot.  Contains important bug fixes to the installer.
* Correct typo in ampache-common.postrm.
* Remove courtousy copy of php-getid3, during repack.  Closes: #701526
* Update package to use dh_linktree to make the needed sym links to the
  needed system libs that were removed during repack.
* Update debian/rules to reflect upstreams removing/moving of modules.
* Update debian/ampache-common.install to reflect upstreams removal of files.
* Updated to use new apache2.4 API. Closes: #669756
* Updated /debian/po/de.po thx David Prévot for the patch.  Closes:  #691963
* M3U import is now ordered, fixed upstream.  Closes: #684984
* Text input area has been resized so IPv6 addresses will now fit, fixed
  upstream.  Closes:  #716230
* Added ampache-common.preinst to make sure that the courtousy copies of code
  dirs are empty so dh_linktree can do it's magic on upgrades.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
 
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
 
2
/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
3
3
/**
4
 
 * Show Mail Users
5
 
 *
6
4
 *
7
5
 * LICENSE: GNU General Public License, version 2 (GPLv2)
8
 
 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
 
6
 * Copyright 2001 - 2013 Ampache.org
9
7
 *
10
8
 * This program is free software; you can redistribute it and/or
11
9
 * modify it under the terms of the GNU General Public License v2
20
18
 * along with this program; if not, write to the Free Software
21
19
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22
20
 *
23
 
 * @package     Ampache
24
 
 * @copyright   2001 - 2011 Ampache.org
25
 
 * @license     http://opensource.org/licenses/gpl-2.0 GPLv2
26
 
 * @link        http://www.ampache.org/
27
21
 */
28
 
 
29
22
?>
30
23
 
31
 
<?php show_box_top(T_('Send E-mail to Users'), 'box box_mail_users'); ?>
 
24
<?php UI::show_box_top(T_('Send E-mail to Users'), 'box box_mail_users'); ?>
32
25
<form name="mail" method="post" action="<?php echo Config::get('web_path'); ?>/admin/mail.php?action=send_mail" enctype="multipart/form-data">
33
26
<table>
34
27
  <tr>
38
31
                <option value="all" title="Mail Everyone"><?php echo T_('All'); ?></option>
39
32
                <option value="users" title="Mail Users"><?php echo T_('User'); ?></option>
40
33
                <option value="admins" title="Mail Admins"><?php echo T_('Admin'); ?></option>
41
 
                <option value="inactive" title="Mail Inactive Users"><?php echo T_('Inactive Users'); ?>&nbsp;</option>
 
34
        <option value="inactive" title="Mail Inactive Users"><?php echo T_('Inactive Users'); ?>&nbsp;</option>
42
35
        </select>
43
36
    </td>
44
37
  </tr>
45
38
<!--
46
39
  <tr>
47
40
    <td colspan="2">
48
 
         <table>
49
 
                 <tr>
50
 
                    <td><?php echo T_('Catalog Statistics'); ?>:</td>
51
 
                    <td>
52
 
                        <input type="checkbox" name="cat_stats" value="yes" />
53
 
                    </td>
54
 
                    <td><?php echo T_('Most Popular Albums'); ?>:</td>
55
 
                    <td>
56
 
                        <input type="checkbox" name="pop_albums" value="yes" />
57
 
                    </td>
58
 
                  </tr>
59
 
 
60
 
                  <tr>
61
 
                    <td><?php echo T_('Latest Artist Additions'); ?>:</td>
62
 
                    <td>
63
 
                        <input type="checkbox" name="new_artists" value="yes" />
64
 
                    </td>
65
 
                    <td><?php echo T_('Most Popular Artists'); ?>:</td>
66
 
                    <td>
67
 
                        <input type="checkbox" name="pop_artists" value="yes" />
68
 
                    </td>
69
 
                  </tr>
70
 
 
71
 
                  <tr>
72
 
                    <td><?php echo T_('Latest Album Additions'); ?>:</td>
73
 
                    <td>
74
 
                        <input type="checkbox" name="new_albums" value="yes" />
75
 
                    </td>
76
 
                    <td><?php echo T_('Most Popular Songs'); ?>:</td>
77
 
                    <td>
78
 
                        <input type="checkbox" name="pop_songs" value="yes" />
79
 
                    </td>
80
 
                </tr>
81
 
                  <tr>
82
 
                    <td><?php echo T_('Flagged Songs'); ?>:</td>
83
 
                    <td>
84
 
                        <input type="checkbox" name="flagged" value="yes" />
85
 
                    </td>
86
 
                    <td><?php echo T_('Disabled Songs'); ?>:</td>
87
 
                    <td>
88
 
                        <input type="checkbox" name="disabled" value="yes" />
89
 
                    </td>
90
 
 
91
 
                </tr>
92
 
 
93
 
                  <tr>
94
 
                    <td colspan = "2"><?php echo T_('Most Popular Threshold in days'); ?>:</td>
95
 
                    <td>
96
 
                        <input type="text" name="threshold" size="3" value="<?php echo Config::get('popular_threshold'); ?>" />
97
 
                    </td>
98
 
                </tr>
99
 
 
100
 
        </table>
 
41
      <table>
 
42
          <tr>
 
43
            <td><?php echo T_('Catalog Statistics'); ?>:</td>
 
44
            <td>
 
45
            <input type="checkbox" name="cat_stats" value="yes" />
 
46
            </td>
 
47
            <td><?php echo T_('Most Popular Albums'); ?>:</td>
 
48
            <td>
 
49
                <input type="checkbox" name="pop_albums" value="yes" />
 
50
            </td>
 
51
          </tr>
 
52
 
 
53
          <tr>
 
54
            <td><?php echo T_('Latest Artist Additions'); ?>:</td>
 
55
            <td>
 
56
                <input type="checkbox" name="new_artists" value="yes" />
 
57
            </td>
 
58
            <td><?php echo T_('Most Popular Artists'); ?>:</td>
 
59
            <td>
 
60
                <input type="checkbox" name="pop_artists" value="yes" />
 
61
            </td>
 
62
          </tr>
 
63
 
 
64
          <tr>
 
65
            <td><?php echo T_('Latest Album Additions'); ?>:</td>
 
66
            <td>
 
67
                <input type="checkbox" name="new_albums" value="yes" />
 
68
            </td>
 
69
            <td><?php echo T_('Most Popular Songs'); ?>:</td>
 
70
            <td>
 
71
                <input type="checkbox" name="pop_songs" value="yes" />
 
72
            </td>
 
73
        </tr>
 
74
          <tr>
 
75
            <td><?php echo T_('Flagged Songs'); ?>:</td>
 
76
            <td>
 
77
                <input type="checkbox" name="flagged" value="yes" />
 
78
            </td>
 
79
            <td><?php echo T_('Disabled Songs'); ?>:</td>
 
80
            <td>
 
81
                <input type="checkbox" name="disabled" value="yes" />
 
82
            </td>
 
83
 
 
84
        </tr>
 
85
 
 
86
          <tr>
 
87
            <td colspan = "2"><?php echo T_('Most Popular Threshold in days'); ?>:</td>
 
88
            <td>
 
89
                <input type="text" name="threshold" size="3" value="<?php echo Config::get('popular_threshold'); ?>" />
 
90
            </td>
 
91
        </tr>
 
92
 
 
93
    </table>
101
94
    </td>
102
95
  </tr>
103
96
-->
106
99
    <td>
107
100
      <select name="from">
108
101
        <option value="self" title="Self"><?php echo T_('Yourself'); ?></option>
109
 
        <option value="system" title="System"><?php echo T_('Ampache'); ?></option>
 
102
    <option value="system" title="System"><?php echo T_('Ampache'); ?></option>
110
103
      </select>
111
104
    </td>
112
105
  </tr>
129
122
        <input class="button" type="submit" value="<?php echo T_('Send Mail'); ?>" />
130
123
</div>
131
124
</form>
132
 
<?php show_box_bottom(); ?>
 
125
<?php UI::show_box_bottom(); ?>
133
126