summaryrefslogtreecommitdiffstats
path: root/templates/show_index.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-09 14:34:06 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-09 14:34:06 +0000
commitab9aec092c66f090eb77ac6a53e37a02a9aecbbf (patch)
treedef7403f8336574be54346bfb81c0c8127f60a62 /templates/show_index.inc.php
parent699a85cb82f5b8cec9439a29c2f3312ae84b77e0 (diff)
downloadampache-ab9aec092c66f090eb77ac6a53e37a02a9aecbbf.tar.gz
ampache-ab9aec092c66f090eb77ac6a53e37a02a9aecbbf.tar.bz2
ampache-ab9aec092c66f090eb77ac6a53e37a02a9aecbbf.zip
tweaked get_newest to operate a little different, tweaked lastfm (currently broken)
Diffstat (limited to 'templates/show_index.inc.php')
-rw-r--r--templates/show_index.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/show_index.inc.php b/templates/show_index.inc.php
index 765d89df..ade19a52 100644
--- a/templates/show_index.inc.php
+++ b/templates/show_index.inc.php
@@ -48,7 +48,10 @@ if (isset($_REQUEST['xspf']) && isset ($_REQUEST['play_info'])){
</div>
<div id="recent_added">
<?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_bottom();
?>
</div>