From 29422fa55379aa61a61019b832c83dab6d450264 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 3 Oct 2009 14:00:33 +0000 Subject: move files to new locations git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@386 b3834d28-1941-0410-a4f8-b48e95affb8f --- templates/dynamictags.inc.php | 141 ------------------------------------------ 1 file changed, 141 deletions(-) delete mode 100644 templates/dynamictags.inc.php (limited to 'templates/dynamictags.inc.php') diff --git a/templates/dynamictags.inc.php b/templates/dynamictags.inc.php deleted file mode 100644 index c6b0d16..0000000 --- a/templates/dynamictags.inc.php +++ /dev/null @@ -1,141 +0,0 @@ -getCurrentUserId(); - -//tags from current user -$userPopularTags =& $b2tservice->getPopularTags($logged_on_userid, 25, $logged_on_userid); -$userPopularTagsCloud =& $b2tservice->tagCloud($userPopularTags, 5, 90, 175); -$userPopularTagsCount = count($userPopularTags); - -//tags from all users -$allPopularTags =& $b2tservice->getPopularTags(null, 5, $logged_on_userid); -$allPopularTagsCloud =& $b2tservice->tagCloud($allPopularTags, 5, 90, 175); -$allPopularTagsCount = count($allPopularTags); - - -// function printing the cloud -function writeTagsProposition($tagsCloud, $title) { - echo 'document.write(\'
\');'; - echo 'document.write(\'

'. $title .'<\/h3>\');'; - echo 'document.write(\'

\');'; - - $taglist = ''; - foreach(array_keys($tagsCloud) as $key) { - $row =& $tagsCloud[$key]; - $entries = T_ngettext('bookmark', 'bookmarks', $row['bCount']); - $taglist .= ''. filter($row['tag']) .'<\/span> '; - } - - echo 'document.write(\''. $taglist .'\');'; - echo 'document.write(\'<\/p>\');'; - echo 'document.write(\'<\/div>\');'; - -} - - -if ($allPopularTagsCount > 0 || $userPopularTagsCount > 0 ) { ?> - - - - -- cgit v1.2.3