summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorpb1dft <pb1dft@ampache>2007-01-12 22:42:02 +0000
committerpb1dft <pb1dft@ampache>2007-01-12 22:42:02 +0000
commit0d00b531c444e514da8a6cf0d056d594c5c96ad6 (patch)
tree747f695d5e6c7f1193e4ce09907c0ccf3706a2fa /templates
parenta3bdc3148d924a3f1e8e2052572930bdf159829a (diff)
downloadampache-0d00b531c444e514da8a6cf0d056d594c5c96ad6.tar.gz
ampache-0d00b531c444e514da8a6cf0d056d594c5c96ad6.tar.bz2
ampache-0d00b531c444e514da8a6cf0d056d594c5c96ad6.zip
Added ability to mail users/admins the flaged and disabled songs
Diffstat (limited to 'templates')
-rw-r--r--templates/show_flagged.inc.php2
-rw-r--r--templates/show_mail_users.inc.php14
2 files changed, 15 insertions, 1 deletions
diff --git a/templates/show_flagged.inc.php b/templates/show_flagged.inc.php
index 2324afd2..5f875b04 100644
--- a/templates/show_flagged.inc.php
+++ b/templates/show_flagged.inc.php
@@ -28,6 +28,7 @@ $web_path = conf('web_path');
<th><?php echo _('Object'); ?></th>
<th><?php echo _('User'); ?></th>
<th><?php echo _('Flag'); ?></th>
+ <th><?php echo _('Flagged by'); ?></th>
<th><?php echo _('Status'); ?></th>
<th><?php echo _('Action'); ?></th>
</tr>
@@ -39,6 +40,7 @@ $web_path = conf('web_path');
<td><?php $flag->print_name(); ?></td>
<td><?php echo scrub_out($flag->user); ?></td>
<td><?php $flag->print_flag(); ?></td>
+ <td><?php echo $flag->user; ?></td>
<td><?php $flag->print_status(); ?></td>
<td align="center">
<?php if ($flag->approved) { ?>
diff --git a/templates/show_mail_users.inc.php b/templates/show_mail_users.inc.php
index a8157d21..ee33a90f 100644
--- a/templates/show_mail_users.inc.php
+++ b/templates/show_mail_users.inc.php
@@ -64,12 +64,24 @@
<td>
<input type="checkbox" name="new_albums" value="yes" />
</td>
- <td><?php echo _('Most Popular Songs'); ?>:</td>
+ <td><?php echo _('Most Popular Songs'); ?>:</td>
<td>
<input type="checkbox" name="pop_songs" value="yes" />
</td>
</tr>
<tr>
+ <td><?php echo _('Flagged Songs'); ?>:</td>
+ <td>
+ <input type="checkbox" name="flagged" value="yes" />
+ </td>
+ <td><?php echo _('Disabled Songs'); ?>:</td>
+ <td>
+ <input type="checkbox" name="disabled" value="yes" />
+ </td>
+
+ </tr>
+
+ <tr>
<td colspan = "2"><?php echo _('Most Popular Threshold in days'); ?>:</td>
<td>
<input type="text" name="threshold" value="<?php echo conf('popular_threshold'); ?>" />