function theme_comment_controls

6.x comment.module theme_comment_controls($form)

Theme comment controls box where the user can change the default display mode and display order of comments.

Parameters

$form: The form structure.

Related topics

File

drupal-6.x/modules/comment/comment.module, line 1646
Enables users to comment on published content.

Code

function theme_comment_controls($form) {
  $output = '<div class="container-inline">';
  $output .= drupal_render($form);
  $output .= '</div>';
  $output .= '<div class="description">' . t('Select your preferred way to display the comments and click "Save settings" to activate your changes.') . '</div>';
  return theme('box', t('Comment viewing options'), $output);
}