From 2343a2087a5bba57746e1e972342f7b0e6f5fd9c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 6 Oct 2003 12:21:34 +0000 Subject: - Small poll block improvement (without configuration option). Patch by Gabor. --- modules/poll.module | 4 ++-- modules/poll/poll.module | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/poll.module b/modules/poll.module index 139f83cce..89d6bb2be 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -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"] = "
$poll->title
$poll->body"; return $block; } } diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 139f83cce..89d6bb2be 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -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"] = "
$poll->title
$poll->body"; return $block; } } -- cgit v1.2.3