Index: modes/selection.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/decisions/modes/selection.module,v
retrieving revision 1.31
diff -u -p -r1.31 selection.module
--- modes/selection.module	12 Apr 2010 17:57:22 -0000	1.31
+++ modes/selection.module	19 May 2010 18:56:02 -0000
@@ -28,8 +28,12 @@ function selection_theme() {
     'selection_decisions_view_results' => array(
       'arguments' => array('node' => NULL, 'teaser' => FALSE, 'page' => FALSE, 'this_vote' => array()),
     ),
+    'selection_decisions_1click_controls' => array(
+      'arguments' => array('links' => array(), 'node' => NULL),
+    ),
   );
 }
+
 function selection_help($section) {
   $help = "";
   switch ($section) {
@@ -175,10 +179,7 @@ function decisions_selection_voting_form
         }
         
         if (!empty($links)) {
-          $output = '';
-          $output .= '<div class="decisions_selection_1click">';
-          $output .= theme('links', $links, array('class' => 'decisions_selection_1click'));
-          $output .= '</div>';
+          $output = theme('selection_decisions_1click_controls', $links, $node);
         }
         $form['choices']['1click'] = array(
           '#value' => $output,
@@ -391,6 +392,14 @@ function decisions_selection_voting_form
   }
 }
 
+function theme_selection_decisions_1click_controls($links = array(), $node){
+  $output = '';
+  $output .= '<div class="decisions_selection_1click">';
+  $output .= theme('links', $links, array('class' => 'decisions_selection_1click'));
+  $output .= '</div>';
+  return $output;
+}
+
 function theme_selection_decisions_view_results($node = NULL, $teaser = FALSE, $page = FALSE, $new_vote = array()) {
   return selection_decisions_view_results($node, $teaser, $page, $new_vote);
 }
\ No newline at end of file
