Index: tagadelic.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/tagadelic/tagadelic.module,v
retrieving revision 1.19.2.3
diff -c -c -p -r1.19.2.3 tagadelic.module
*** tagadelic.module	13 Jun 2006 19:35:35 -0000	1.19.2.3
--- tagadelic.module	8 Feb 2007 09:41:09 -0000
*************** function theme_tagadelic_weighted($terms
*** 248,253 ****
--- 248,262 ----
  }
  
  /**
+  * theme function to provide a more link
+  * @param $vid - vocab id for which more link is wanted
+  * @ingroup themable
+  */
+ function theme_tagadelic_more($vid) {
+   return "<div class='more-link'>" . l(t('more tags'), "tagadelic/list/$vid") . "</div>";
+ }
+ 
+ /**
   * implementation of hook_block
   */
  function tagadelic_block($op = 'list', $delta = O, $edit = array()) {
*************** function tagadelic_block($op = 'list', $
*** 255,260 ****
--- 264,270 ----
      if ($voc = taxonomy_get_vocabulary($delta)) {
        $blocks['subject'] = variable_get('tagadelic_block_title_'. $delta, t('tags in %voc', array('%voc' => $voc->name)));
        $blocks['content'] = theme('tagadelic_weighted', tagadelic_get_weighted_tags(array($voc->vid),6, variable_get('tagadelic_block_tags_'. $delta, 12)));//return a chunk of 12 tags
+       $blocks['content'] .= theme('tagadelic_more', $voc->vid);//add more link
      }
      elseif(arg(0) == 'node' && is_numeric(arg(1)) && $node = node_load(arg(1))) {
        $blocks['subject'] = t('tags for %title', array('%title' => check_plain($node->title)));
