[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1100] Use 40 lines for each of the stats sections.
From: |
Toby Inkster |
Subject: |
[Librefm-commits] [1100] Use 40 lines for each of the stats sections. |
Date: |
Fri, 01 May 2009 20:56:40 +0000 |
Revision: 1100
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1100
Author: tobyink
Date: 2009-05-01 20:56:39 +0000 (Fri, 01 May 2009)
Log Message:
-----------
Use 40 lines for each of the stats sections.
Modified Paths:
--------------
trunk/nixtape/user-stats.php
Modified: trunk/nixtape/user-stats.php
===================================================================
--- trunk/nixtape/user-stats.php 2009-05-01 20:49:28 UTC (rev 1099)
+++ trunk/nixtape/user-stats.php 2009-05-01 20:56:39 UTC (rev 1100)
@@ -36,18 +36,10 @@
if(isset($user->name)) {
- $aUserScrobbles = $user->getScrobbles(20);
- if (!PEAR::isError ($aUserScrobbles)) {
- $smarty->assign('scrobbles', $aUserScrobbles);
- }
- $aUserNowPlaying = $user->getNowPlaying(10);
- if (!PEAR::isError ($aUserNowPlaying)) {
- $smarty->assign('nowplaying', $aUserNowPlaying);
- }
- $aUserTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist', 40,
$user->name);
- if (!PEAR::isError ($aUserTagCloud)) {
- $smarty->assign('user_tagcloud',$aUserTagCloud);
- }
+# $aUserTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist', 40,
$user->name);
+# if (!PEAR::isError ($aUserTagCloud)) {
+# $smarty->assign('user_tagcloud',$aUserTagCloud);
+# }
$smarty->assign('stat_barwidth', 320);
$aUserPlayStat = Statistic::GeneratePlayStats('Scrobbles', 'artist',
40, $user->name, 300);
@@ -60,7 +52,7 @@
$smarty->assign('user_daystats',$aUserDayStat);
}
- $smarty->assign('toptracks', $user->getTopTracks());
+ $smarty->assign('toptracks', $user->getTopTracks(40));
$smarty->assign('me', $user);
$smarty->assign('geo', Server::getLocationDetails($user->location_uri));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1100] Use 40 lines for each of the stats sections.,
Toby Inkster <=