profile, $block, true); } // FIXME The problem with the next widget is that we don't have a search function for webpages that we can send the links to. // Then we should also provide an option to search webpages and conversations. function widget_tagcloud($args) { $o = ''; $tab = 0; $a = get_app(); $uid = $a->profile_uid; $count = ((x($args,'count')) ? intval($args['count']) : 24); $flags = 0; $type = TERM_CATEGORY; $r = tagadelic($uid,$count,$authors,$flags,ITEM_WEBPAGE,$type); if($r) { $o = '

' . t('Categories') . '

'; foreach($r as $rr) { $o .= ''.$rr[0].' ' . "\r\n"; } $o .= '
'; } return $o; }