[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1310] remove a lot of user data from the homepage
From: |
Matt Lee |
Subject: |
[Librefm-commits] [1310] remove a lot of user data from the homepage |
Date: |
Fri, 08 May 2009 01:15:19 +0000 |
Revision: 1310
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1310
Author: mattl
Date: 2009-05-08 01:15:17 +0000 (Fri, 08 May 2009)
Log Message:
-----------
remove a lot of user data from the homepage
Modified Paths:
--------------
trunk/nixtape/index.php
Modified: trunk/nixtape/index.php
===================================================================
--- trunk/nixtape/index.php 2009-05-08 01:13:44 UTC (rev 1309)
+++ trunk/nixtape/index.php 2009-05-08 01:15:17 UTC (rev 1310)
@@ -23,23 +23,7 @@
require_once('templating.php');
require_once('data/sanitize.php');
require_once('data/Server.php');
-require_once('data/TagCloud.php');
-$aTagCloud = TagCloud::GenerateTagCloud(TagCloud::scrobblesTable(), 'artist');
-if (!PEAR::isError ($aTagCloud)) {
- $smarty->assign('tagcloud', $aTagCloud);
-}
-
-$aLastScrobbles = Server::getRecentScrobbles(20);
-if (!PEAR::isError ($aLastScrobbles)) {
- $smarty->assign('recenttracks', $aLastScrobbles);
-}
-
-$aNowPlaying = Server::getNowPlaying(10);
-if (!PEAR::isError ($aNowPlaying)) {
- $smarty->assign('nowplaying', $aNowPlaying);
-}
-
$smarty->assign('welcome', true);
$smarty->display('welcome.tpl');
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1310] remove a lot of user data from the homepage,
Matt Lee <=