2 $tagservice =& ServiceFactory::getServiceInstance('TagService');
3 $commonTags =& $tagservice->getRelatedTagsByHash($hash);
4 $commonTags =& $tagservice->tagCloud($commonTags, 5, 90, 225, 'alphabet_asc');
6 if ($commonTags && count($commonTags) > 0) {
9 <h2><?php echo T_('Popular Tags'); ?></h2>
14 foreach ($commonTags as $row) {
15 $entries = T_ngettext('bookmark', 'bookmarks', $row['bCount']);
16 $contents .= '<a href="'. sprintf($cat_url, $user, filter($row['tag'], 'url')) .'" title="'. $row['bCount'] .' '. $entries .'" rel="tag" style="font-size:'. $row['size'] .'">'. filter($row['tag']) .'</a> ';