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_user_stats.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_user_stats.inc.php')
-rw-r--r-- | templates/show_user_stats.inc.php | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/templates/show_user_stats.inc.php b/templates/show_user_stats.inc.php index ab962874..2e9e4f84 100644 --- a/templates/show_user_stats.inc.php +++ b/templates/show_user_stats.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 @@ -26,7 +26,9 @@ <?php if (count($favorite_artists)) { $items = $working_user->format_favorites($favorite_artists); - show_info_box(_('Favorite Artists'),'artist',$items); + $title = '<a href="' . Config::get('web_path') . '/stats.php?action=play_favorite&type=artists">' . + get_user_icon('all') . '</a> ' . _('Favorite Artists'); + show_info_box($title,'artist',$items); } else { echo "<span class=\"error\">" . _('Not Enough Data') . "</span>"; @@ -37,7 +39,9 @@ <?php if (count($favorite_albums)) { $items = $working_user->format_favorites($favorite_albums); - show_info_box(_('Favorite Albums'),'album',$items); + $title = '<a href="' . Config::get('web_path') . '/stats.php?action=play_favorite&type=albums">' . + get_user_icon('all') . '</a> ' . _('Favorite Albums'); + show_info_box($title,'album',$items); } else { echo "<span class=\"error\">" . _('Not Enough Data') . "</span>"; @@ -48,7 +52,9 @@ <?php if (count($favorite_songs)) { $items = $working_user->format_favorites($favorite_songs); - show_info_box(_('Favorite Songs'),'your_song',$items); + $title = '<a href="' . Config::get('web_path') . '/stats.php?action=play_favorite&type=songs">' . + get_user_icon('all') . '</a> ' . _('Favorite Songs'); + show_info_box($title,'your_song',$items); } else { echo "<span class=\"error\">" . _('Not Enough Data') . "</span>"; |