summaryrefslogtreecommitdiffstats
path: root/templates/show_admin_info.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-21 08:33:33 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-21 08:33:33 +0000
commitabcb173edc821f5d652e388bdeb303e8c6c8edf7 (patch)
tree2422545a6b8fc15d5f30f08be12dfc2e6ac423c6 /templates/show_admin_info.inc.php
parent82e94fd071b42211c4d8a31ca080afbfa9669217 (diff)
downloadampache-abcb173edc821f5d652e388bdeb303e8c6c8edf7.tar.gz
ampache-abcb173edc821f5d652e388bdeb303e8c6c8edf7.tar.bz2
ampache-abcb173edc821f5d652e388bdeb303e8c6c8edf7.zip
I am not happy with it.. but its progress and I need sleep
Diffstat (limited to 'templates/show_admin_info.inc.php')
-rw-r--r--templates/show_admin_info.inc.php19
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 -->&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;
</div>