--- nodevote.module	Tue Jun 27 17:52:46 2006
+++ nodevote.module	Tue Jun 27 18:05:52 2006
@@ -85,7 +85,7 @@
     '#maxlength' => 25,
   );
    
-  $_display = array(0 => t('Text'), 1 => t('Stars'), 2 => t('Both'));
+  $_display = array(0 => t('Text'), 1 => t('Stars'), 2 => t('Both'));
   $form[$set][NODEVOTE_RESULT_DISPLAY_PAGE]= array(
     '#type'          => 'radios',
     '#title'         => t('Vote result display (page view)'), 
@@ -93,7 +93,7 @@
     '#options'       =>  $_display,
     '#description'   => t('Select which format the results of the vote will be displayed in when in node view.'));   
 
-  $_display = array(0 => t('Text'), 1 => t('Stars'), 2 => t('Both'));
+  $_display = array(0 => t('Text'), 1 => t('Stars'), 2 => t('Both'), 3 => t('Do Not Show in Teaser'));
   $form[$set][NODEVOTE_RESULT_DISPLAY_TEASER]= array(
     '#type'          => 'radios',
     '#title'         => t('Vote result display (teaser view)'), 
@@ -256,8 +256,10 @@
              if ($page) {
                $node->body .= theme('nodevote_display_vote', $data['score'], $data['votes'], $data['vote_display']);
              }
-             else {
-               $node->teaser .= theme('nodevote_display_vote', $data['score'], $data['votes'], $data['vote_display']);
+             else {
+             if (variable_get(NODEVOTE_RESULT_DISPLAY_TEASER, 0) != 3) {
+               $node->teaser .= theme('nodevote_display_vote', $data['score'], $data['votes'], $data['vote_display']);
+		       }
              }
            }
         }
