diff -u nmoderation.module nmoderation.module
--- nmoderation.module	21 Mar 2008 20:14:17 -0000
+++ nmoderation.module	21 Mar 2008 20:14:50 -0000
@@ -698,6 +698,24 @@
   return $output;
 }
 
+/**
+ Implementation of hook_link().
+*/
+function nmoderation_link($type, $node = 0, $main = 0) {
+ global $id;
+ $links = array();
+ 
+ if ($type == 'node' && $node->type == 'blog' && user_access('view post access counter')) {
+   $result=votingapi_get_voting_result($type, $node->nid, NMODERATION_CACHE_TYPE, NMODERATION_TAG, 'sum');
+   if(!empty($result->value))
+     $links['node_moderation_votes']= array (
+       'title' => format_plural($result->value, '1 vote', '@count votes')
+	);
+ }
+
+ return $links;
+}
+
 function nmoderation_admin_settings() {
   $promote = drupal_map_assoc(array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 25, 30, 35, 40, 45, 50, 60, 70, 80, 90, 100));
   $unpublish = drupal_map_assoc(array(-1, -2, -3, -4, -5, -6, -7, -8, -8, -10, -11, -12, -13, -14, -15, -20, -25, -30, -35, -40, -45, -50, -60, -70, -80, -90, -100));
