You are here

function advanced_forum_preprocess_comment in Advanced Forum 6.2

Same name and namespace in other branches
  1. 5 advanced_forum.module \advanced_forum_preprocess_comment()
  2. 6 advanced_forum.module \advanced_forum_preprocess_comment()
  3. 7.2 includes/theme.inc \advanced_forum_preprocess_comment()

Preprocesses template variables for the comment template.

File

includes/theme.inc, line 504
Holds theme functions and template preprocesses. Other style related functions are in style.inc

Code

function advanced_forum_preprocess_comment(&$variables) {
  if (advanced_forum_is_styled($variables['comment'], FALSE, 'comment')) {
    include_once drupal_get_path('module', 'advanced_forum') . '/includes/advanced_forum_preprocess_comment.inc';
    _advanced_forum_preprocess_comment($variables);
  }
}