You are here

function advanced_forum_preprocess_node in Advanced Forum 6.2

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

Preprocesses template variables for the node template.

File

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

Code

function advanced_forum_preprocess_node(&$variables) {
  if (advanced_forum_is_styled($variables['node'], $variables['teaser'], 'node')) {
    include_once drupal_get_path('module', 'advanced_forum') . '/includes/advanced_forum_preprocess_node.inc';
    _advanced_forum_preprocess_node($variables);
  }
}