*** tagadelic.module.old	2007-02-05 16:00:08.263863318 +0100
--- tagadelic.module	2007-02-08 10:14:36.731870984 +0100
*************** function theme_tagadelic_list_box($vocab
*** 306,311 ****
--- 306,320 ----
  }
  
  /**
+  * 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', $
*** 315,320 ****
--- 324,330 ----
        $tags = tagadelic_get_weighted_tags(array($voc->vid),6, variable_get('tagadelic_block_tags_'. $delta, 12));
        $tags = tagadelic_sort_tags($tags);
        $blocks['content'] = theme('tagadelic_weighted', $tags);//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)));
