diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-04-23 07:31:05 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-04-23 07:31:05 +0000 |
commit | a31560aec4f004e58930277758f5412d86c62adc (patch) | |
tree | 845ff6947d26b22a0f4527901dbefc97bca89d78 /templates/show_admin_info.inc.php | |
parent | 8b27d66add7ca9ba57d7e9488612cb54be4b11c1 (diff) | |
download | ampache-a31560aec4f004e58930277758f5412d86c62adc.tar.gz ampache-a31560aec4f004e58930277758f5412d86c62adc.tar.bz2 ampache-a31560aec4f004e58930277758f5412d86c62adc.zip |
it technically logs in and streams.. but thats it, complete rewrite almost everything broken
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> |