summaryrefslogtreecommitdiffstats
path: root/templates/show_admin_info.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-27 04:29:23 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-27 04:29:23 +0000
commit7673d000dd8ec85908a99a1174840c8ca3c53e16 (patch)
tree8cbce751084279e680055f156824c52ea3b3b88b /templates/show_admin_info.inc.php
parent75434cbeb6e6c2e4107b9932a79b3d146dbdcc0f (diff)
downloadampache-7673d000dd8ec85908a99a1174840c8ca3c53e16.tar.gz
ampache-7673d000dd8ec85908a99a1174840c8ca3c53e16.tar.bz2
ampache-7673d000dd8ec85908a99a1174840c8ca3c53e16.zip
added some more to flagging and updated mail page to fit new standards
Diffstat (limited to 'templates/show_admin_info.inc.php')
-rw-r--r--templates/show_admin_info.inc.php19
1 files changed, 10 insertions, 9 deletions
diff --git a/templates/show_admin_info.inc.php b/templates/show_admin_info.inc.php
index bf5820e4..2d69c058 100644
--- a/templates/show_admin_info.inc.php
+++ b/templates/show_admin_info.inc.php
@@ -22,24 +22,25 @@
$web_path = conf('web_path');
/* Setup the needed objects */
-$flagged = Flag::get_recent('10');
-$total_flagged = Flag::get_total();
+$flag = new Flag();
+$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 _('Last Ten Flagged Songs'); ?></span><br />
-<?php require (conf('prefix') . '/templates/show_flagged.inc.php'); ?>
-<div class="text-action">
-<a href="<?php echo $web_path; ?>/admin/flag.php?action=show_flagged"><?php echo _('Show All'); ?>...</a>
-</div>
+<span class="header2"><?php echo _('Last Ten Flagged Records'); ?></span><br />
+ <?php require (conf('prefix') . '/templates/show_flagged.inc.php'); ?>
+ <div class="text-action">
+ <a href="<?php echo $web_path; ?>/admin/flag.php?action=show_flagged"><?php echo _('Show All'); ?>...</a>
+ </div>
</div><br />
<span class="header2"><?php echo _('Disabled Songs'); ?></span><br />
<div class="text-box">
-<!-- Show Last 10 Disabled Songs -->&nbsp;
+ <!-- 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) -->
+ <!-- Show Last 10 Active Users (Bandwidth Usage guess) -->
&nbsp;
</div>