function advanced_forum_preprocess_author_pane in Advanced Forum 6
Same name and namespace in other branches
- 5 advanced_forum.module \advanced_forum_preprocess_author_pane()
- 6.2 includes/theme.inc \advanced_forum_preprocess_author_pane()
- 7.2 includes/theme.inc \advanced_forum_preprocess_author_pane()
Preprocesses template variables for the author pane.
File
- ./
advanced_forum.module, line 309 - Enables the look and feel of other popular forum software.
Code
function advanced_forum_preprocess_author_pane(&$variables) {
// Author pane is used in various places. The only way to be sure to only
// hit it when we are using it is to check the template suggestion.
if (!empty($variables['caller']) && $variables['caller'] == 'advanced_forum') {
$variables['template_files'][] = "advf-author-pane";
}
}