summaryrefslogtreecommitdiff
path: root/modules/poll/poll.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-08-26 07:46:11 +0000
committerDries Buytaert <dries@buytaert.net>2007-08-26 07:46:11 +0000
commit5e73b66f3a00d42567b8d6b35ee821788428dc75 (patch)
treeced854b3a64a3110e6531b4845ba781b252c9ca5 /modules/poll/poll.module
parenta8800e4f2694a0107bbf425212bdccb1fe81f5cb (diff)
downloadbrdo-5e73b66f3a00d42567b8d6b35ee821788428dc75.tar.gz
brdo-5e73b66f3a00d42567b8d6b35ee821788428dc75.tar.bz2
- Patch #168028 by dvessler, merlinofchaos, pwolanin et al: both theme functions and templates may need include files. Flush your caches.
Diffstat (limited to 'modules/poll/poll.module')
-rw-r--r--modules/poll/poll.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/poll/poll.module b/modules/poll/poll.module
index 14936a2af..64f83f0b3 100644
--- a/modules/poll/poll.module
+++ b/modules/poll/poll.module
@@ -33,15 +33,15 @@ function poll_init() {
function poll_theme() {
return array(
'poll_vote' => array(
- 'file' => 'poll-vote',
+ 'template' => 'poll-vote',
'arguments' => array('form' => NULL),
),
'poll_results' => array(
- 'file' => 'poll-results',
+ 'template' => 'poll-results',
'arguments' => array('raw_title' => NULL, 'results' => NULL, 'votes' => NULL, 'raw_links' => NULL, 'block' => NULL, 'nid' => NULL, 'vote' => NULL),
),
'poll_bar' => array(
- 'file' => 'poll-bar',
+ 'template' => 'poll-bar',
'arguments' => array('title' => NULL, 'votes' => NULL, 'total_votes' => NULL, 'vote' => NULL, 'block' => NULL),
),
);