In selection.module we have
foreach ($node->choice as $i => $choice) {
$links[$i]['attributes']['class'] = 'decisions_selection_vote';
$links[$i]['query'] = drupal_get_destination() . '&token='. selection_get_token($node->nid, $i);
$links[$i]['title'] = check_plain($choice['label']);
$links[$i]['href'] = "decisions_selection/vote/$node->nid/$i/";
}
if (!empty($links)) {
$output = '';
$output .= '<div class="decisions_selection_1click">';
$output .= theme('links', $links, array('class' => 'decisions_selection_1click'));
$output .= '</div>';
}
But what if I want to add something in before $output is closed? I can't, really. Let's make all of this output themeable.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 803408.patch | 1.82 KB | ezra-g |
Comments
Comment #1
ezra-g commentedHere's a simple patch that implements the suggested change.
Comment #2
ezra-g commentedThis is now committed.