Index: tagadelic.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/tagadelic/tagadelic.module,v retrieving revision 1.47 diff -u -p -r1.47 tagadelic.module --- tagadelic.module 13 Nov 2008 11:44:20 -0000 1.47 +++ tagadelic.module 15 Nov 2008 14:39:13 -0000 @@ -332,7 +332,7 @@ function theme_tagadelic_list_box($vocab * @ingroup themable */ function theme_tagadelic_more($vid) { - return ""; + return ""; } /** @@ -349,12 +349,19 @@ function tagadelic_block($op = 'list', $ if (count($tags) >= variable_get('tagadelic_block_tags_'. $delta, 12)) { $blocks['content'] .= theme('tagadelic_more', $voc->vid);//add more link } - + } + elseif ($delta == 'all') { + $blocks['subject'] = t('Tags'); + $tags = tagadelic_get_weighted_tags(array_keys(taxonomy_get_vocabularies()), variable_get('tagadelic_levels', 6), variable_get('tagadelic_block_tags_'. $delta, 12)); + $tags = tagadelic_sort_tags($tags); + $blocks['content'] = theme('tagadelic_weighted', $tags); + $blocks['content'] .= theme('tagadelic_more'); } elseif (arg(0) == 'node' && is_numeric(arg(1)) && $node = node_load(arg(1))) { $blocks['subject'] = t('Tags for @title', array('@title' => $node->title)); $blocks['content'] = tagadelic_tags_lists($node); } + return $blocks; } elseif ($op == 'list') { @@ -364,6 +371,9 @@ function tagadelic_block($op = 'list', $ } $blocks[0]['info'] = t('Tags for the current post'); $blocks[0]['cache'] = BLOCK_CACHE_PER_PAGE; + $blocks['all']['info'] = t('All Tags'); + $blocks['all']['cache'] = BLOCK_CACHE_GLOBAL; + return $blocks; } elseif ($op == 'configure') {