theme_comment_controls
modules/comment/comment.module, строка 1747
- Версии
- 5 – 6
theme_comment_controls($form)
Темизирует область(бокс) контроля комментариев, где пользователь может изменить отображение по умолчанию и упорядочить их показ.
Параметры
$form
Структура формы.
Код
<?php
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);
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии