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

Commit 6ef7c581 authored by tobyink's avatar tobyink

Display tag cloud in a few extra places

parent 75261a4c
......@@ -45,6 +45,11 @@ if ($_REQUEST['group']=='new')
else
{
$smarty->assign('newform', true);
$aTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist');
if (!PEAR::isError ($aTagCloud))
{
$smarty->assign('tagcloud', $aTagCloud);
}
$smarty->display('edit_group.tpl');
exit();
}
......@@ -128,6 +133,11 @@ if(isset($group->name))
# And display the page.
$smarty->assign('errors', $errors);
$smarty->assign('newform', false);
$aTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist');
if (!PEAR::isError ($aTagCloud))
{
$smarty->assign('tagcloud', $aTagCloud);
}
$smarty->display('edit_group.tpl');
}
......
......@@ -147,6 +147,11 @@ if(isset($user->name))
}
# And display the page.
$aTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist');
if (!PEAR::isError ($aTagCloud))
{
$smarty->assign('tagcloud', $aTagCloud);
}
$smarty->assign('errors', $errors);
$smarty->display('edit_profile.tpl');
}
......
......@@ -36,6 +36,11 @@ if (! $_GET['group'])
'href' => $base_url.'/rdf.php?fmt=xml&page='.htmlentities($_SERVER['REQUEST_URI'])
)
));
$aTagCloud = TagCloud::GenerateTagCloud('Scrobbles', 'artist');
if (!PEAR::isError ($aTagCloud))
{
$smarty->assign('tagcloud', $aTagCloud);
}
$smarty->display('group-list.tpl');
exit;
}
......
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