diff options
Diffstat (limited to 'templates/show_admin_info.inc.php')
-rw-r--r-- | templates/show_admin_info.inc.php | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/templates/show_admin_info.inc.php b/templates/show_admin_info.inc.php index c8ecb222..ddf2a77b 100644 --- a/templates/show_admin_info.inc.php +++ b/templates/show_admin_info.inc.php @@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2006 Ampache.org + Copyright (c) 2001 - 2007 Ampache.org All rights reserved. This program is free software; you can redistribute it and/or @@ -18,24 +18,22 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -$web_path = conf('web_path'); +$web_path = Config::get('web_path'); /* Flagged Information Gathering */ -$flag = new Flag(); -$flagged = $flag->get_recent(10); +$flagged = Flag::get_recent(10); /* Disabled Information Gathering */ -$catalog = new Catalog(); -$songs = $catalog->get_disabled(10); +$songs = Catalog::get_disabled(10); ?> <?php show_box_top(_('Last Ten Flagged Records')); ?> - <?php require (conf('prefix') . '/templates/show_flagged.inc.php'); ?> + <?php require Config::get('prefix') . '/templates/show_flagged.inc.php'; ?> <?php show_box_bottom(); ?> <?php show_box_top(_('Disabled Songs')); ?> <!-- Show Last 10 Disabled Songs --> - <?php require (conf('prefix') . '/templates/show_disabled_songs.inc'); ?> + <?php require Config::get('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> |