You are here

function advanced_forum_preprocess_author_pane in Advanced Forum 7.2

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

Preprocesses template variables for the author pane.

File

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

Code

function advanced_forum_preprocess_author_pane(&$variables) {

  // Author pane is used in various places. Check the caller to make sure
  // we are the one that called it.
  if (!empty($variables['caller']) && $variables['caller'] == 'advanced_forum') {
    advanced_forum_add_template_suggestions("author_pane", $variables);
  }
}