Poll.module:
Node links didn't always show up in the poll side-block, only when having voted. Fixed.4.0.x
parent
c85636ca85
commit
bb3803b63e
|
@ -233,6 +233,7 @@ function poll_view(&$node, $main = 0, $block = 0) {
|
|||
else {
|
||||
$output .= "</td><td valign=\"middle\"><div align=\"right\"> ". 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\"> ". form_submit(t("Vote")) ."</div></td></tr></table>";
|
||||
}
|
||||
$output .= $block ? "<div align=\"center\">". $theme->links(link_node($node, $main)) ."</div>" : "";
|
||||
$output .= "</form>";
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue