? tagadelic.patch
Index: tagadelic.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/tagadelic/tagadelic.module,v
retrieving revision 1.36.2.1
diff -c -c -p -r1.36.2.1 tagadelic.module
*** tagadelic.module	19 Jan 2007 16:47:25 -0000	1.36.2.1
--- tagadelic.module	8 Feb 2007 09:49:18 -0000
*************** function theme_tagadelic_list_box($vocab
*** 310,315 ****
--- 310,324 ----
  }
  
  /**
+   * 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', $
*** 319,324 ****
--- 328,334 ----
        $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' => $node->title));
