2 $sf = new ServiceFactory();
3 $tagservice =& $sf->getServiceInstance('TagService');
4 $commonTags =& $tagservice->getRelatedTagsByHash($hash);
5 $commonTags =& $tagservice->tagCloud($commonTags, 5, 90, 225, 'alphabet_asc');
7 if ($commonTags && count($commonTags) > 0) {
10 <h2><?php echo T_('Popular Tags'); ?></h2>
15 foreach ($commonTags as $row) {
16 $entries = T_ngettext('bookmark', 'bookmarks', $row['bCount']);
17 $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> ';