From bf3772bada72ca3f573e03cf6670b7d26cb1f858 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Thu, 24 May 2001 11:35:22 +0000 Subject: Hmmm for some reason the \r\n's in the poll output where being changed into
's... is that because of the check_output() legacy functions inside the themes? In anycase, I removed em. --- 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 dfe37ba4b..3282d21ea 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -119,7 +119,7 @@ function poll_view($node, $main = 0, $block = 0) { $output .= "
" . check_output($value) . "" . poll_graph($node->chvotes[$key] / $node->maxvotes) . "" . round(($node->chvotes[$key] / $node->totalvotes) * 100) . "%
"; } else { - $output .= (!$block ? "
" : "") . check_output($value) . "
" . poll_graph($node->chvotes[$key] / $node->maxvotes) . "" . round(($node->chvotes[$key] / $node->totalvotes) * 100) . "%
\r\n"; + $output .= (!$block ? "
" : "") . check_output($value) . "
" . poll_graph($node->chvotes[$key] / $node->maxvotes) . "" . round(($node->chvotes[$key] / $node->totalvotes) * 100) . "%
"; } } } @@ -137,7 +137,7 @@ function poll_view($node, $main = 0, $block = 0) { $output .= "
"; foreach ($node->choice as $key => $value) { if ($value) { - $output .= "chid[$key] . "\"> " . check_output($value) . "
\r\n"; + $output .= "chid[$key] . "\"> " . check_output($value) . "
"; } } $output .= "
"; diff --git a/modules/poll/poll.module b/modules/poll/poll.module index dfe37ba4b..3282d21ea 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -119,7 +119,7 @@ function poll_view($node, $main = 0, $block = 0) { $output .= "
" . check_output($value) . "" . poll_graph($node->chvotes[$key] / $node->maxvotes) . "" . round(($node->chvotes[$key] / $node->totalvotes) * 100) . "%
"; } else { - $output .= (!$block ? "
" : "") . check_output($value) . "
" . poll_graph($node->chvotes[$key] / $node->maxvotes) . "" . round(($node->chvotes[$key] / $node->totalvotes) * 100) . "%
\r\n"; + $output .= (!$block ? "
" : "") . check_output($value) . "
" . poll_graph($node->chvotes[$key] / $node->maxvotes) . "" . round(($node->chvotes[$key] / $node->totalvotes) * 100) . "%
"; } } } @@ -137,7 +137,7 @@ function poll_view($node, $main = 0, $block = 0) { $output .= "
"; foreach ($node->choice as $key => $value) { if ($value) { - $output .= "chid[$key] . "\"> " . check_output($value) . "
\r\n"; + $output .= "chid[$key] . "\"> " . check_output($value) . "
"; } } $output .= "
"; -- cgit v1.2.3