theme_comment_controls
- Versions
- 4.6
theme_comment_controls($threshold= 1,$mode= 3,$order= 1,$comments_per_page= 50)- 4.7 – 6
theme_comment_controls($form)
Code
modules/comment.module, line 1506
<?php
function theme_comment_controls($threshold = 1, $mode = 3, $order = 1, $comments_per_page = 50) {
static $output;
if (!$output) {
$output .= theme('comment_mode_form', $mode);
$output .= theme('comment_order_form', $order);
$output .= theme('comment_per_page_form', $comments_per_page);
$output .= theme('comment_threshold', $threshold);
$output .= ' '. form_submit(t('Save settings'));
$output = form_item(NULL, $output, t('Select your preferred way to display the comments and click "Save settings" to activate your changes.'));
}
return theme('box', t('Comment viewing options'), $output);
}
?>Login or register to post comments 