You are here

function theme_community_tags in Community Tags 5

Same name and namespace in other branches
  1. 6.2 community_tags.module \theme_community_tags()
  2. 6 community_tags.module \theme_community_tags()
  3. 7 community_tags.module \theme_community_tags()

Theme function to display a list of community tags.

2 theme calls to theme_community_tags()
community_tags_display in ./community_tags.module
Display community tags. See _community_tags_get_tag_result() for definitions of $type and the arguments.
community_tags_node_view in ./community_tags.module
Community tags callback for node view.

File

./community_tags.module, line 642

Code

function theme_community_tags($tags) {
  return '<div class="cloud">' . (count($tags) ? theme('tagadelic_weighted', $tags) : t('None')) . '</div>';
}