librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1033] Display tag cloud in a few extra places


From: Toby Inkster
Subject: [Librefm-commits] [1033] Display tag cloud in a few extra places
Date: Wed, 29 Apr 2009 23:27:42 +0000

Revision: 1033
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1033
Author:   tobyink
Date:     2009-04-29 23:27:41 +0000 (Wed, 29 Apr 2009)
Log Message:
-----------
Display tag cloud in a few extra places

Modified Paths:
--------------
    trunk/nixtape/edit_group.php
    trunk/nixtape/edit_profile.php
    trunk/nixtape/group.php

Modified: trunk/nixtape/edit_group.php
===================================================================
--- trunk/nixtape/edit_group.php        2009-04-29 23:18:18 UTC (rev 1032)
+++ trunk/nixtape/edit_group.php        2009-04-29 23:27:41 UTC (rev 1033)
@@ -45,6 +45,11 @@
        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 @@
        # 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');
 }
 

Modified: trunk/nixtape/edit_profile.php
===================================================================
--- trunk/nixtape/edit_profile.php      2009-04-29 23:18:18 UTC (rev 1032)
+++ trunk/nixtape/edit_profile.php      2009-04-29 23:27:41 UTC (rev 1033)
@@ -147,6 +147,11 @@
        }
 
        # 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');
 }

Modified: trunk/nixtape/group.php
===================================================================
--- trunk/nixtape/group.php     2009-04-29 23:18:18 UTC (rev 1032)
+++ trunk/nixtape/group.php     2009-04-29 23:27:41 UTC (rev 1033)
@@ -36,6 +36,11 @@
                                '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;
 }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]