summaryrefslogtreecommitdiffstats
path: root/templates/show_index.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-14 06:25:07 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-14 06:25:07 +0000
commit6983cb8e0cdb661053c9f6336518f2549cfb13a5 (patch)
tree442ba3f6855d407fb213c1a266d7a1b4051c9486 /templates/show_index.inc.php
parent089cd9100a6b94602df62e07e5b7a9b2c563ef95 (diff)
downloadampache-6983cb8e0cdb661053c9f6336518f2549cfb13a5.tar.gz
ampache-6983cb8e0cdb661053c9f6336518f2549cfb13a5.tar.bz2
ampache-6983cb8e0cdb661053c9f6336518f2549cfb13a5.zip
fixed some minor css issues with recently played, added newest artists/genres back in to main page
Diffstat (limited to 'templates/show_index.inc.php')
-rw-r--r--templates/show_index.inc.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/templates/show_index.inc.php b/templates/show_index.inc.php
index ade19a52..6bcfcfd5 100644
--- a/templates/show_index.inc.php
+++ b/templates/show_index.inc.php
@@ -50,8 +50,18 @@ if (isset($_REQUEST['xspf']) && isset ($_REQUEST['play_info'])){
<?php
$objects = Stats::get_newest('album');
$headers = array('f_link'=>_('Newest Albums'));
- show_box_top();
- require_once Config::get('prefix') . '/templates/show_objects.inc.php';
+ show_box_top('','info-box');
+ 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');
+ 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');
+ require Config::get('prefix') . '/templates/show_objects.inc.php';
show_box_bottom();
?>
</div>