We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit f01dea58 authored by clint's avatar clint

make all non-user artist tag clouds be free artists by default

parent 86bbbbe6
......@@ -32,7 +32,7 @@ $smarty->assign("name", $artist->name);
$smarty->assign("id", $artist->id);
$smarty->assign("bio_summary", $artist->bio_summary);
$aTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist');
$aTagCloud = TagCloud::GenerateTagCloud('Free_Scrobbles', 'artist');
if (!PEAR::isError ($aTagCloud)) {
$smarty->assign('tagcloud', $aTagCloud);
}
......
......@@ -44,7 +44,7 @@ if ($_REQUEST['group']=='new')
else
{
$smarty->assign('newform', true);
$aTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist');
$aTagCloud = TagCloud::GenerateTagCloud('Free_Scrobbles', 'artist');
if (!PEAR::isError ($aTagCloud))
{
$smarty->assign('tagcloud', $aTagCloud);
......@@ -132,7 +132,7 @@ if(isset($group->name))
# And display the page.
$smarty->assign('errors', $errors);
$smarty->assign('newform', false);
$aTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist');
$aTagCloud = TagCloud::GenerateTagCloud('Free_Scrobbles', 'artist');
if (!PEAR::isError ($aTagCloud))
{
$smarty->assign('tagcloud', $aTagCloud);
......
......@@ -27,7 +27,7 @@ require_once('data/Server.php');
require_once('data/TagCloud.php');
// This should be contextual based on the mode= parameter?
$aTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist');
$aTagCloud = TagCloud::GenerateTagCloud('Free_Scrobbles', 'artist');
if (!PEAR::isError ($aTagCloud)) {
$smarty->assign('tagcloud', $aTagCloud);
}
......
......@@ -36,7 +36,7 @@ if (! $_GET['group'])
'href' => $base_url.'/rdf.php?fmt=xml&page='.htmlentities($_SERVER['REQUEST_URI'])
)
));
$aTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist');
$aTagCloud = TagCloud::GenerateTagCloud('Free_Scrobbles', 'artist');
if (!PEAR::isError ($aTagCloud))
{
$smarty->assign('tagcloud', $aTagCloud);
......
......@@ -33,7 +33,7 @@ $smarty->assign("albumurl", Server::getAlbumURL($track->artist_name, $track->alb
$smarty->assign("artisturl", Server::getArtistURL($track->artist_name));
// no idea how this would be track-relevant
$aTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist');
$aTagCloud = TagCloud::GenerateTagCloud('Free_Scrobbles', 'artist');
if (!PEAR::isError ($aTagCloud)) {
$smarty->assign('tagcloud', $aTagCloud);
}
......
......@@ -170,7 +170,7 @@ if(isset($this_user->name))
}
# And display the page.
$aTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist');
$aTagCloud = TagCloud::GenerateTagCloud('Free_Scrobbles', 'artist');
if (!PEAR::isError ($aTagCloud))
{
$smarty->assign('tagcloud', $aTagCloud);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment