garland_comment_wrapper

Definition

garland_comment_wrapper($content, $node)
drupal/themes/garland/template.php, line 19

Description

Allow themable wrapping of all comments.

Code

function garland_comment_wrapper($content, $node) {
  if (!$content || $node->type == 'forum') {
    return '<div id="comments">' . $content . '</div>';
  }
  else {
    return '<div id="comments"><h2 class="comments">' . t('Comments') . '</h2>' . $content . '</div>';
  }
}