diff options
Diffstat (limited to 'templates/show_admin_info.inc.php')
-rw-r--r-- | templates/show_admin_info.inc.php | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/templates/show_admin_info.inc.php b/templates/show_admin_info.inc.php index e57b2485..993bc03b 100644 --- a/templates/show_admin_info.inc.php +++ b/templates/show_admin_info.inc.php @@ -21,14 +21,23 @@ */ $web_path = conf('web_path'); +/* Setup the needed objects */ +$flagged = Flag::get_recent('10'); +$total_flagged = Flag::get_total(); + ?> <span class="header1"><?php echo _('Information'); ?></span><br /> <div class="text-box"> -<span class="header2"><?php echo _('Flagged Songs'); ?></span><br /> -<!-- Show Last 10 Flagged Songs --> +<span class="header2"><?php echo _('Last Ten Flagged Songs'); ?></span><br /> +<?php require (conf('prefix') . '/templates/show_flagged.inc.php'); ?> +<li class="text-action"><a href="<?php echo $web_path; ?>/admin/flag.php?action=show_flagged"><?php echo _('Show All'); ?>...</a></li> +</div><br /> <span class="header2"><?php echo _('Disabled Songs'); ?></span><br /> -<!-- Show Last 10 Disabled Songs --> -<span class="header2"><?php echo _('Active Users'); ?></span><br /> +<div class="text-box"> +<!-- Show Last 10 Disabled Songs --> +</div><br /> +<span class="header2"><?php echo _('User Activity'); ?></span><br /> +<div class="text-box"> <!-- Show Last 10 Active Users (Bandwidth Usage guess) --> - + </div> |