[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1240] show only "free artists" on the artist cloud on
From: |
Clint Adams |
Subject: |
[Librefm-commits] [1240] show only "free artists" on the artist cloud on the main page |
Date: |
Wed, 06 May 2009 20:02:12 +0000 |
Revision: 1240
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1240
Author: clint
Date: 2009-05-06 20:02:11 +0000 (Wed, 06 May 2009)
Log Message:
-----------
show only "free artists" on the artist cloud on the main page
Modified Paths:
--------------
trunk/nixtape/index.php
Removed Paths:
-------------
trunk/nixtape/free.php
Deleted: trunk/nixtape/free.php
===================================================================
--- trunk/nixtape/free.php 2009-05-06 19:59:19 UTC (rev 1239)
+++ trunk/nixtape/free.php 2009-05-06 20:02:11 UTC (rev 1240)
@@ -1,45 +0,0 @@
-<?php
-
-/* Libre.fm -- a free network service for sharing your music listening habits
-
- Copyright (C) 2009 Libre.fm Project
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-*/
-
-require_once('database.php');
-require_once('templating.php');
-require_once('data/sanitize.php');
-require_once('data/Server.php');
-require_once('data/TagCloud.php');
-
-$aTagCloud = TagCloud::GenerateTagCloud('Free_Scrobbles', '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');
-?>
Modified: trunk/nixtape/index.php
===================================================================
--- trunk/nixtape/index.php 2009-05-06 19:59:19 UTC (rev 1239)
+++ trunk/nixtape/index.php 2009-05-06 20:02:11 UTC (rev 1240)
@@ -25,7 +25,7 @@
require_once('data/Server.php');
require_once('data/TagCloud.php');
-$aTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist');
+$aTagCloud = TagCloud::GenerateTagCloud('Free_Scrobbles', 'artist');
if (!PEAR::isError ($aTagCloud)) {
$smarty->assign('tagcloud', $aTagCloud);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1240] show only "free artists" on the artist cloud on the main page,
Clint Adams <=