[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1096] Removed some redundant lines; add geo info to s
From: |
Toby Inkster |
Subject: |
[Librefm-commits] [1096] Removed some redundant lines; add geo info to stats page. |
Date: |
Fri, 01 May 2009 09:00:46 +0000 |
Revision: 1096
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1096
Author: tobyink
Date: 2009-05-01 09:00:46 +0000 (Fri, 01 May 2009)
Log Message:
-----------
Removed some redundant lines; add geo info to stats page.
Modified Paths:
--------------
trunk/nixtape/user-profile.php
trunk/nixtape/user-recent-tracks.php
trunk/nixtape/user-stats.php
Modified: trunk/nixtape/user-profile.php
===================================================================
--- trunk/nixtape/user-profile.php 2009-05-01 01:44:35 UTC (rev 1095)
+++ trunk/nixtape/user-profile.php 2009-05-01 09:00:46 UTC (rev 1096)
@@ -41,8 +41,6 @@
if (!PEAR::isError ($aUserScrobbles)) {
$smarty->assign('scrobbles', $aUserScrobbles);
}
- $smarty->assign('userlevel', $user->userlevel);
- $smarty->assign('avatar', $user->getAvatar());
$aUserNowPlaying = $user->getNowPlaying(10);
if (!PEAR::isError ($aUserNowPlaying)) {
$smarty->assign('nowplaying', $aUserNowPlaying);
Modified: trunk/nixtape/user-recent-tracks.php
===================================================================
--- trunk/nixtape/user-recent-tracks.php 2009-05-01 01:44:35 UTC (rev
1095)
+++ trunk/nixtape/user-recent-tracks.php 2009-05-01 09:00:46 UTC (rev
1096)
@@ -46,8 +46,6 @@
if (!PEAR::isError ($aUserScrobbles)) {
$smarty->assign('scrobbles', $aUserScrobbles);
}
- $smarty->assign('userlevel', $user->userlevel);
- $smarty->assign('avatar', $user->getAvatar());
$aUserTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist', 40,
$user->name);
if (!PEAR::isError ($aUserTagCloud)) {
$smarty->assign('user_tagcloud',$aUserTagCloud);
Modified: trunk/nixtape/user-stats.php
===================================================================
--- trunk/nixtape/user-stats.php 2009-05-01 01:44:35 UTC (rev 1095)
+++ trunk/nixtape/user-stats.php 2009-05-01 09:00:46 UTC (rev 1096)
@@ -40,8 +40,6 @@
if (!PEAR::isError ($aUserScrobbles)) {
$smarty->assign('scrobbles', $aUserScrobbles);
}
- $smarty->assign('userlevel', $user->userlevel);
- $smarty->assign('avatar', $user->getAvatar());
$aUserNowPlaying = $user->getNowPlaying(10);
if (!PEAR::isError ($aUserNowPlaying)) {
$smarty->assign('nowplaying', $aUserNowPlaying);
@@ -64,7 +62,8 @@
$smarty->assign('toptracks', $user->getTopTracks());
- $smarty->assign('me', $user);
+ $smarty->assign('me', $user);
+ $smarty->assign('geo', Server::getLocationDetails($user->location_uri));
$smarty->assign('isme', ($_SESSION['user']->name == $user->name));
$smarty->assign('stats', true);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1096] Removed some redundant lines; add geo info to stats page.,
Toby Inkster <=