--- tagadelic.module.old	2007-02-03 12:39:24.198783116 +0100
+++ tagadelic.module	2007-02-03 12:37:40.000000000 +0100
@@ -90,6 +90,19 @@ function tagadelic_settings() {
     '#default_value' => variable_get('tagadelic_levels', 6),
     '#description' => t('The number of levels between the least popular tags and the most popular ones. Different levels will be assigned a different class to be themed in tagadelic.css'),
   );
+  $form['tagadelic_showmore'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Show the more link'),
+    '#default_value' => variable_get('tagadelic_showmore', 0),
+    '#description' => t('Show the link to more tags?'),
+  );
+  $form['tagadelic_showmore_type'] = array(
+    '#type' => 'radios',
+    '#title' => t('Show more links to'),
+    '#options' => array('list' => t('List'), 'cloud' => t('Cloud')),
+    '#default_value' => variable_get('tagadelic_showmore_type', 'list'),
+    '#description' => t('Show more links as list or cloud.'),
+  );
   return $form;
 }
 
@@ -315,6 +328,11 @@ function tagadelic_block($op = 'list', $
       $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
+      $showmore = variable_get('tagadelic_showmore', 0);
+      if ($showmore) {
+        $showmore_type = variable_get('tagadelic_showmore_type', 'list');
+        $blocks['content'] .= '<p class="right"><a href="/tagadelic/' . $showmore_type . '/' . $voc->vid . '">' . t('all tags') . '</a></p>';
+      }
     }
     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)));
