Commit 2343a208 authored by Dries's avatar Dries

- Small poll block improvement (without configuration option). Patch by

  Gabor.
parent c52185b6
......@@ -57,8 +57,8 @@ function poll_block($op = "list", $delta = 0) {
poll_view($poll, 1, 1);
}
}
$block["subject"] = t("Poll: %t", array("%t" => $poll->title));
$block["content"] = $poll->body;
$block["subject"] = t("Poll");
$block["content"] = "<div class=\"poll-title\">$poll->title</div>$poll->body";
return $block;
}
}
......
......@@ -57,8 +57,8 @@ function poll_block($op = "list", $delta = 0) {
poll_view($poll, 1, 1);
}
}
$block["subject"] = t("Poll: %t", array("%t" => $poll->title));
$block["content"] = $poll->body;
$block["subject"] = t("Poll");
$block["content"] = "<div class=\"poll-title\">$poll->title</div>$poll->body";
return $block;
}
}
......
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