You are here

function theme_community_tags in Community Tags 6

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

Theme function to display a list of community tags via tagadelic.

2 theme calls to theme_community_tags()
community_tags_node_view in ./community_tags.module
Community tags callback for node view.
_community_tags_display_handler_tagadelic in ./community_tags.module
Display all tags using tagadelic. Only called if tagadelic module is enabled. See _community_tags_get_tag_result() for definitions of $type and the arguments.

File

./community_tags.module, line 541
Implements community tagging of nodes using a specific vocabulary for Drupal v6.x

Code

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