diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-10-06 12:21:34 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-10-06 12:21:34 +0000 |
commit | 2343a2087a5bba57746e1e972342f7b0e6f5fd9c (patch) | |
tree | f86225dd7af32b58020456194af0add504a1b60e /modules | |
parent | c52185b6800a61ec531eb99bef780ea85efe12e5 (diff) | |
download | brdo-2343a2087a5bba57746e1e972342f7b0e6f5fd9c.tar.gz brdo-2343a2087a5bba57746e1e972342f7b0e6f5fd9c.tar.bz2 |
- Small poll block improvement (without configuration option). Patch by
Gabor.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/poll.module | 4 | ||||
-rw-r--r-- | modules/poll/poll.module | 4 |
2 files changed, 4 insertions, 4 deletions
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"] = "<div class=\"poll-title\">$poll->title</div>$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"] = "<div class=\"poll-title\">$poll->title</div>$poll->body"; return $block; } } |