diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-29 04:16:15 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-29 04:16:15 +0000 |
commit | 770e0d54f9c5b33c4d01b5cefe652b61b132dc0c (patch) | |
tree | 1f4e71de273adab60b46791aad3beb673c3b05a1 /modules/comment/comment.module | |
parent | 5c5b3a149a928b4c6761a0b9161d383a83677ec7 (diff) | |
download | brdo-770e0d54f9c5b33c4d01b5cefe652b61b132dc0c.tar.gz brdo-770e0d54f9c5b33c4d01b5cefe652b61b132dc0c.tar.bz2 |
#364470 by stBorchert and JohnAlbin: Made theming of 'Submitted by author, on date' easier.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index afdc87d62..e336b90e1 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -148,9 +148,6 @@ function comment_theme() { 'template' => 'comment-wrapper', 'arguments' => array('content' => NULL), ), - 'comment_submitted' => array( - 'arguments' => array('comment' => NULL), - ), ); } @@ -2088,7 +2085,6 @@ function template_preprocess_comment(&$variables) { $variables['new'] = !empty($comment->new) ? t('new') : ''; $variables['picture'] = theme_get_setting('toggle_comment_user_picture') ? theme('user_picture', $comment) : ''; $variables['signature'] = $comment->signature; - $variables['submitted'] = theme('comment_submitted', $comment); $variables['title'] = l($comment->subject, 'comment/' . $comment->cid, array('fragment' => "comment-$comment->cid")); $variables['template_files'][] = 'comment-' . $variables['node']->type; // Set status to a string representation of comment->status. @@ -2170,21 +2166,6 @@ function template_preprocess_comment_wrapper(&$variables) { } /** - * Theme a "Submitted by ..." notice. - * - * @param $comment - * The comment. - * @ingroup themeable - */ -function theme_comment_submitted($comment) { - return t('Submitted by !username on @datetime.', - array( - '!username' => theme('username', $comment), - '@datetime' => format_date($comment->timestamp) - )); -} - -/** * Return an array of viewing modes for comment listings. * * We can't use a global variable array because the locale system |