diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-04-13 08:56:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-04-13 08:56:59 +0000 |
commit | e6759790919d06d807eeb5546841a5a09cf3a4d6 (patch) | |
tree | 4f6a88b11559f01d852262d03f42645568c820c0 /modules/comment/comment.module | |
parent | be47ac090b3be5a13d33a75b835a755a0f4250c7 (diff) | |
download | brdo-e6759790919d06d807eeb5546841a5a09cf3a4d6.tar.gz brdo-e6759790919d06d807eeb5546841a5a09cf3a4d6.tar.bz2 |
- Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 48a6ba5b5..23d4e28b8 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1814,7 +1814,7 @@ function comment_controls_submit($form_id, $form_values) { function theme_comment($comment, $links = array()) { $output = '<div class="comment'. ($comment->status == COMMENT_NOT_PUBLISHED ? ' comment-unpublished' : '') .'">'; - $output .= '<div class="subject">'. l($comment->subject, $_GET['q'], array('fragment' => "comment-$comment->cid")) . ' ' . theme('mark', $comment->new) ."</div>\n"; + $output .= '<div class="subject">'. l($comment->subject, $_GET['q'], array('fragment' => "comment-$comment->cid")) .' '. theme('mark', $comment->new) ."</div>\n"; $output .= '<div class="credit">'. t('by %a on %b', array('%a' => theme('username', $comment), '%b' => format_date($comment->timestamp))) ."</div>\n"; $output .= '<div class="body">'. $comment->comment .'</div>'; $output .= theme('user_signature', $comment->signature); @@ -1825,7 +1825,7 @@ function theme_comment($comment, $links = array()) { function theme_comment_folded($comment) { $output = "<div class=\"comment-folded\">\n"; - $output .= ' <span class="subject">'. l($comment->subject, comment_node_url() .'/'. $comment->cid, array('fragment' => "comment-$comment->cid")) . ' '. theme('mark', $comment->new) .'</span> '; + $output .= ' <span class="subject">'. l($comment->subject, comment_node_url() .'/'. $comment->cid, array('fragment' => "comment-$comment->cid")) .' '. theme('mark', $comment->new) .'</span> '; $output .= '<span class="credit">'. t('by') .' '. theme('username', $comment) ."</span>\n"; $output .= "</div>\n"; return $output; |