function theme_comment_controls in Drupal 6
Same name and namespace in other branches
- 4 modules/comment.module \theme_comment_controls()
- 5 modules/comment/comment.module \theme_comment_controls()
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
- 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);
}