summaryrefslogtreecommitdiffstats
path: root/templates/show_user_stats.inc.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 02:19:06 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 02:19:06 -0500
commita12679b13d8d06c87308b1d26bc23c6b4fa5d92e (patch)
treed78d1a63975bfe5760bed1e6c94d38237201d807 /templates/show_user_stats.inc.php
parent80b618ba403d4560938cd1bfbed861994875d6c7 (diff)
downloadampache-a12679b13d8d06c87308b1d26bc23c6b4fa5d92e.tar.gz
ampache-a12679b13d8d06c87308b1d26bc23c6b4fa5d92e.tar.bz2
ampache-a12679b13d8d06c87308b1d26bc23c6b4fa5d92e.zip
Move get_user_icon from ui.lib.php to UI::get_icon
Diffstat (limited to 'templates/show_user_stats.inc.php')
-rw-r--r--templates/show_user_stats.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/show_user_stats.inc.php b/templates/show_user_stats.inc.php
index 8909fcc2..5bfdadaf 100644
--- a/templates/show_user_stats.inc.php
+++ b/templates/show_user_stats.inc.php
@@ -28,7 +28,7 @@
if (count($favorite_artists)) {
$items = $working_user->format_favorites($favorite_artists);
$title = '<a href="' . Config::get('web_path') . '/stream.php?action=play_favorite&amp;type=artist">' .
- get_user_icon('all', T_('Favorite Artists')) . '</a>&nbsp;' . T_('Favorite Artists');
+ UI::get_icon('all', T_('Favorite Artists')) . '</a>&nbsp;' . T_('Favorite Artists');
show_info_box($title,'artist',$items);
}
else {
@@ -41,7 +41,7 @@
if (count($favorite_albums)) {
$items = $working_user->format_favorites($favorite_albums);
$title = '<a href="' . Config::get('web_path') . '/stream.php?action=play_favorite&amp;type=album">' .
- get_user_icon('all', T_('Favorite Albums')) . '</a>&nbsp;' . T_('Favorite Albums');
+ UI::get_icon('all', T_('Favorite Albums')) . '</a>&nbsp;' . T_('Favorite Albums');
show_info_box($title,'album',$items);
}
else {
@@ -54,7 +54,7 @@
if (count($favorite_songs)) {
$items = $working_user->format_favorites($favorite_songs);
$title = '<a href="' . Config::get('web_path') . '/stream.php?action=play_favorite&amp;type=song">' .
- get_user_icon('all', T_('Favorite Songs')) . '</a>&nbsp;' . T_('Favorite Songs');
+ UI::get_icon('all', T_('Favorite Songs')) . '</a>&nbsp;' . T_('Favorite Songs');
show_info_box($title,'your_song',$items);
}
else {