Commit bb3803b6 authored by Steven Wittens's avatar Steven Wittens
Browse files

Poll.module:

Node links didn't always show up in the poll side-block, only when having voted. Fixed.
parent c85636ca
......@@ -233,6 +233,7 @@ function poll_view(&$node, $main = 0, $block = 0) {
else {
$output .= "</td><td valign=\"middle\"><div align=\"right\">&nbsp;&nbsp;&nbsp;". form_submit(t("Vote")) ."</div></td></tr></table>";
}
$output .= $block ? "<div align=\"center\">". $theme->links(link_node($node, $main)) ."</div>" : "";
$output .= "</form>";
}
else {
......
......@@ -233,6 +233,7 @@ function poll_view(&$node, $main = 0, $block = 0) {
else {
$output .= "</td><td valign=\"middle\"><div align=\"right\">&nbsp;&nbsp;&nbsp;". form_submit(t("Vote")) ."</div></td></tr></table>";
}
$output .= $block ? "<div align=\"center\">". $theme->links(link_node($node, $main)) ."</div>" : "";
$output .= "</form>";
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment