Index: includes/theme.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/theme.inc,v retrieving revision 1.516 diff -u -p -r1.516 theme.inc --- includes/theme.inc 26 Aug 2009 10:53:45 -0000 1.516 +++ includes/theme.inc 27 Aug 2009 05:25:30 -0000 @@ -610,7 +610,7 @@ function list_themes($refresh = FALSE) { * - MODULE_preprocess_HOOK(&$variables) * This is for modules that want to alter or provide extra variables for * theming hooks not registered to itself. For example, if a module named - * "foo" wanted to alter the $submitted variable for the hook "node" a + * "foo" wanted to alter the $classes_array variable for the hook "node" a * preprocess function of foo_preprocess_node() can be created to intercept * and alter the variable. * @@ -624,8 +624,8 @@ function list_themes($refresh = FALSE) { * * - THEME_preprocess(&$variables) * This is for themes that want to alter or provide extra variables. For - * example, if a theme named "foo" wanted to alter the $submitted variable for - * the hook "node" a preprocess function of foo_preprocess_node() can be + * example, if a theme named "foo" wanted to alter the $classes_array variable + * for the hook "node" a preprocess function of foo_preprocess_node() can be * created to intercept and alter the variable. * * - THEME_preprocess_HOOK(&$variables) @@ -646,7 +646,7 @@ function list_themes($refresh = FALSE) { * - MODULE_process_HOOK(&$variables) * This is for modules that want to alter or provide extra variables for * theming hooks not registered to itself. For example, if a module named - * "foo" wanted to alter the $submitted variable for the hook "node" a + * "foo" wanted to alter the $classes_array variable for the hook "node" a * process function of foo_process_node() can be created to intercept * and alter the variable. * Index: modules/comment/comment.module =================================================================== RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v retrieving revision 1.762 diff -u -p -r1.762 comment.module --- modules/comment/comment.module 26 Aug 2009 10:28:45 -0000 1.762 +++ modules/comment/comment.module 27 Aug 2009 05:25:30 -0000 @@ -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(&$v $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_wra } /** - * 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 Index: modules/comment/comment.tpl.php =================================================================== RCS file: /cvs/drupal/drupal/modules/comment/comment.tpl.php,v retrieving revision 1.10 diff -u -p -r1.10 comment.tpl.php --- modules/comment/comment.tpl.php 28 Jul 2009 10:09:25 -0000 1.10 +++ modules/comment/comment.tpl.php 27 Aug 2009 05:25:30 -0000 @@ -17,7 +17,6 @@ * - $signature: Authors signature. * - $status: Comment status. Possible values are: * comment-unpublished, comment-published or comment-preview. - * - $submitted: By line with date and time. * - $title: Linked title. * - $classes: String of classes that can be used to style contextually through * CSS. It can be manipulated through the variable $classes_array from @@ -55,7 +54,10 @@