function phptemplate_comment_wrapper in Drupal 5
Allow themable wrapping of all comments.
1 call to phptemplate_comment_wrapper()
- node.tpl.php in themes/garland/ node.tpl.php 
File
- themes/garland/ template.php, line 42 
Code
function phptemplate_comment_wrapper($content, $type = null) {
  static $node_type;
  if (isset($type)) {
    $node_type = $type;
  }
  if (!$content || $node_type == 'forum') {
    return '<div id="comments">' . $content . '</div>';
  }
  else {
    return '<div id="comments"><h2 class="comments">' . t('Comments') . '</h2>' . $content . '</div>';
  }
}