summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-21 04:43:48 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-21 04:43:48 +0000
commit260b62361e031b3a0d4261e892170f294825ed61 (patch)
tree9ba79b0c5ac498c4cfd1caf896baa1d1caab7a84 /templates
parent06652fe0406b45732ad80a3ab08c7d97bae4b47c (diff)
downloadampache-260b62361e031b3a0d4261e892170f294825ed61.tar.gz
ampache-260b62361e031b3a0d4261e892170f294825ed61.tar.bz2
ampache-260b62361e031b3a0d4261e892170f294825ed61.zip
fixed recently played, removed a bunch of useless files, added new methods to api as requested by dev, fixed some minor issues with enabling of localplay methods
Diffstat (limited to 'templates')
-rw-r--r--templates/show_index.inc.php2
-rw-r--r--templates/show_user.inc.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/show_index.inc.php b/templates/show_index.inc.php
index 3f56d73e..938313c8 100644
--- a/templates/show_index.inc.php
+++ b/templates/show_index.inc.php
@@ -40,7 +40,7 @@
<!-- Recently Played -->
<div id="recently_played">
<?php
- $data = get_recently_played();
+ $data = Song::get_recently_played();
show_box_top(_('Recently Played'));
if (count($data)) { require_once Config::get('prefix') . '/templates/show_recently_played.inc.php'; }
show_box_bottom();
diff --git a/templates/show_user.inc.php b/templates/show_user.inc.php
index 1765fb6b..96ca8773 100644
--- a/templates/show_user.inc.php
+++ b/templates/show_user.inc.php
@@ -66,7 +66,7 @@ $client->format();
<td>
<?php
echo "<h2>" . _('Recently Played') . "</h2>\n";
- $data = get_recently_played($client->id);
+ $data = Song::get_recently_played($client->id);
require Config::get('prefix') . '/templates/show_recently_played.inc.php';
?>
</td>