function advanced_forum_preprocess_advanced_forum_search_forum in Advanced Forum 6.2
Same name and namespace in other branches
- 7.2 includes/theme.inc \advanced_forum_preprocess_advanced_forum_search_forum()
Preprocesses template variables for the forum search form template.
File
- includes/
theme.inc, line 232 - Holds theme functions and template preprocesses. Other style related functions are in style.inc
Code
function advanced_forum_preprocess_advanced_forum_search_forum(&$variables) {
advanced_forum_add_template_suggestions("search-forum", $variables['template_files']);
$variables['forum'] = $variables['tid'] ? $variables['tid'] : 'All';
$variables['path'] = url('forum/search');
}