*** fivestar.module.orig	2008-01-13 20:53:13.000000000 -0600
--- fivestar.module	2008-02-11 22:17:24.000000000 -0600
***************
*** 222,227 ****
--- 222,228 ----
          'below' => t('Rating widget below the teaser'),
          'above_static' => t('Static display above the teaser'),
          'below_static' => t('Static display below the teaser'),
+         'link' => t('Add a "rate" link that goes to the widget in the full node display'),
          'hidden' => t('<Hidden>'),
        ),
      );
***************
*** 727,732 ****
--- 728,756 ----
    }
  }
  
+ 
+ /**
+  * Implementation of hook_link()
+  *
+  * Add a "rate" link to node teaser.
+  */
+ function fivestar_link($type, $node = NULL, $teaser = FALSE)
+ {
+   $links = array();
+   if ($type == "node" && $teaser) {
+     if (variable_get('fivestar_position_teaser_'. $node->type, 'above') == "link") {
+       $links['rate'] = array(
+         'title' => t('Rate'),
+         'href' => "node/$node->nid",
+         'fragment' => 'rate',
+         'attributes' => array('title' => t('Rate this article.')),
+       );
+     }
+   }
+   return $links;
+ }
+ 
+ 
  function fivestar_block($op = 'list', $delta = 0, $edit = array()) {
    global $user;
    switch ($op) {
***************
*** 750,756 ****
  }
  
  function fivestar_widget_form($node) {
!   return drupal_get_form('fivestar_form_node_' . $node->nid, 'node', $node->nid);
  }
  
  /**
--- 774,782 ----
  }
  
  function fivestar_widget_form($node) {
!   $output = "<a name=\"rate\"></a>";
!   $output .= drupal_get_form('fivestar_form_node_' . $node->nid, 'node', $node->nid);
!   return $output;
  }
  
  /**
