summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-28 16:08:51 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-28 16:08:51 +0000
commit680dae6e785bfbc9b664196fbec373fd180a2c4e (patch)
treeda24d88ca24f8a93e112afc41cf834605bae1e80 /modules/comment/comment.module
parent19a45ce5446f1ebc87f98d294a3acffdc8b54478 (diff)
downloadbrdo-680dae6e785bfbc9b664196fbec373fd180a2c4e.tar.gz
brdo-680dae6e785bfbc9b664196fbec373fd180a2c4e.tar.bz2
- Patch #772836 by Jacine: recent comments block HTML clean-up.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 4a466fa59..930af591b 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -576,7 +576,7 @@ function theme_comment_block() {
$items = array();
$number = variable_get('comment_block_count', 10);
foreach (comment_get_recent($number) as $comment) {
- $items[] = l($comment->subject, 'comment/' . $comment->cid, array('fragment' => 'comment-' . $comment->cid)) . '<br />' . t('@time ago', array('@time' => format_interval(REQUEST_TIME - $comment->changed)));
+ $items[] = l($comment->subject, 'comment/' . $comment->cid, array('fragment' => 'comment-' . $comment->cid)) .'<span>'. t('@time ago', array('@time' => format_interval(REQUEST_TIME - $comment->changed))) .'</span>';
}
if ($items) {