Index: vud.theme.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/vote_up_down/Attic/vud.theme.inc,v
retrieving revision 1.1.2.26
diff -u -r1.1.2.26 vud.theme.inc
--- vud.theme.inc	12 Mar 2010 08:10:25 -0000	1.1.2.26
+++ vud.theme.inc	1 Apr 2010 20:29:31 -0000
@@ -104,10 +104,12 @@
   if ($user_vote > 0) {
     $variables['class_up'] = 'up-active';
     $variables['class_down'] = 'down-inactive';
+    $variables['voted_up'] = TRUE;
   }
   else if ($user_vote < 0) {
     $variables['class_up'] = 'up-inactive';
     $variables['class_down'] = 'down-active';
+    $variables['voted_down'] = TRUE;
   }
   else {
     $variables['class_up'] = 'up-inactive';
@@ -120,6 +122,9 @@
   $token_down = drupal_get_token("vote/$type/$cid/-1/$tag/$widget_theme");
   $variables['link_down'] = url("vote/$type/$cid/-1/$tag/$widget_theme/$token_down");
 
+  $token_reset = drupal_get_token("vote/$type/$cid/0/$tag/$widget_theme");
+  $variables['link_reset'] = url("vote/$type/$cid/0/$tag/$widget_theme/$token_reset");
+
   $result_criteria = array(
     'content_type' => $type,
     'content_id' => $cid,

