summaryrefslogtreecommitdiff
path: root/modules/poll.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-10-06 12:21:34 +0000
committerDries Buytaert <dries@buytaert.net>2003-10-06 12:21:34 +0000
commit2343a2087a5bba57746e1e972342f7b0e6f5fd9c (patch)
treef86225dd7af32b58020456194af0add504a1b60e /modules/poll.module
parentc52185b6800a61ec531eb99bef780ea85efe12e5 (diff)
downloadbrdo-2343a2087a5bba57746e1e972342f7b0e6f5fd9c.tar.gz
brdo-2343a2087a5bba57746e1e972342f7b0e6f5fd9c.tar.bz2
- Small poll block improvement (without configuration option). Patch by
Gabor.
Diffstat (limited to 'modules/poll.module')
-rw-r--r--modules/poll.module4
1 files changed, 2 insertions, 2 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;
}
}