You are here

function support_comment_wrapper in Support Ticketing System 6

Implementation of theme_content_wrapper().

Remove 'post new comment' heading from support tickets.

1 string reference to 'support_comment_wrapper'
support_theme_registry_alter in ./support.module
Implementation of hook_theme_registry_alter().

File

./support.module, line 321
support.module

Code

function support_comment_wrapper($content, $node) {
  if ($node->type == 'support_ticket' && variable_get('support_disable_post_comment', FALSE)) {
    $content = str_replace(t('Post new comment'), '', $content);
  }
  return $content;
}