summaryrefslogtreecommitdiffstats
path: root/templates/show_admin_info.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-29 09:17:04 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-29 09:17:04 +0000
commite61a3b3ca1aae656a4c9f88713041e88c204eac5 (patch)
tree33442f09abee256d4af54638c697c4cabba5f893 /templates/show_admin_info.inc.php
parentc603a3c5c098393e8aaa72e293daec5a431ee0c9 (diff)
downloadampache-e61a3b3ca1aae656a4c9f88713041e88c204eac5.tar.gz
ampache-e61a3b3ca1aae656a4c9f88713041e88c204eac5.tar.bz2
ampache-e61a3b3ca1aae656a4c9f88713041e88c204eac5.zip
added in the manage users section and put in a temp disable songs section which currently does not work
Diffstat (limited to 'templates/show_admin_info.inc.php')
-rw-r--r--templates/show_admin_info.inc.php20
1 files changed, 13 insertions, 7 deletions
diff --git a/templates/show_admin_info.inc.php b/templates/show_admin_info.inc.php
index 2d69c058..b87a7847 100644
--- a/templates/show_admin_info.inc.php
+++ b/templates/show_admin_info.inc.php
@@ -21,11 +21,18 @@
*/
$web_path = conf('web_path');
-/* Setup the needed objects */
+/* Flagged Information Gathering */
$flag = new Flag();
-$flagged = $flag->get_recent('10');
+$flagged = $flag->get_recent(10);
$total_flagged = $flag->get_total();
+/* Disabled Information Gathering */
+$catalog = new Catalog();
+$songs = $catalog->get_disabled(10);
+
+/* User Information */
+$users = $GLOBALS['user']->get_recent(10);
+
?>
<span class="header1"><?php echo _('Information'); ?></span><br />
<div class="text-box">
@@ -38,9 +45,8 @@ $total_flagged = $flag->get_total();
<span class="header2"><?php echo _('Disabled Songs'); ?></span><br />
<div class="text-box">
<!-- Show Last 10 Disabled Songs -->&nbsp;
-</div><br />
-<span class="header2"><?php echo _('User Activity'); ?></span><br />
-<div class="text-box">
- <!-- Show Last 10 Active Users (Bandwidth Usage guess) -->
-&nbsp;
+ <?php require (conf('prefix') . '/templates/show_disabled_songs.inc'); ?>
+ <div class="text-action">
+ <a href="<?php echo $web_path; ?>/admin/catalog.php?action=show_disabled"><?php echo _('Show All'); ?>...</a>
+ </div>
</div>