You are here

function theme_comment_preview in Drupal 5

Same name and namespace in other branches
  1. 4 modules/comment.module \theme_comment_preview()

File

modules/comment/comment.module, line 1681
Enables users to comment on published content.

Code

function theme_comment_preview($comment, $links = array(), $visible = 1) {
  $output = '<div class="preview">';
  $output .= theme('comment_view', $comment, $links, $visible);
  $output .= '</div>';
  return $output;
}