diff options
Diffstat (limited to 'templates/show_stats_newest.inc.php')
-rw-r--r-- | templates/show_stats_newest.inc.php | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/templates/show_stats_newest.inc.php b/templates/show_stats_newest.inc.php index 04489b2b..0bd0bb66 100644 --- a/templates/show_stats_newest.inc.php +++ b/templates/show_stats_newest.inc.php @@ -19,23 +19,9 @@ */ ?> -<div id="recent_added"> - <?php - $objects = Stats::get_newest('album'); - $headers = array('f_link'=>_('Newest Albums')); - show_box_top('','info-box box_newest_albums'); - require Config::get('prefix') . '/templates/show_objects.inc.php'; - show_box_bottom(); - $objects = Stats::get_newest('artist'); - $headers = array('f_name_link'=>_('Newest Artists')); - show_box_top('','info-box box_newest_artists'); - require Config::get('prefix') . '/templates/show_objects.inc.php'; - show_box_bottom(); - $objects = Stats::get_newest('genre'); - $headers = array('f_link'=>_('Newest Genres')); - show_box_top('','info-box box_newest_genres'); - require Config::get('prefix') . '/templates/show_objects.inc.php'; - show_box_bottom(); - ?> -</div> - +<i><?php echo _('Newest Albums'); ?></i> +<?php $object_ids = Stats::get_newest('album'); ?> +<?php require_once Config::get('prefix') . '/templates/show_albums.inc.php'; ?> +<?php $object_ids = Stats::get_newest('artist'); ?> +<i><?php echo _('Newest Artists'); ?></i> +<?php require_once Config::get('prefix') . '/templates/show_artists.inc.php'; ?> |