You are here

function advanced_forum_preprocess_author_pane in Advanced Forum 6.2

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

Preprocesses template variables for the author pane.

File

includes/theme.inc, line 446
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['template_files']);
  }
}