function advanced_forum_preprocess_advanced_forum_search_forum in Advanced Forum 7.2
Same name and namespace in other branches
- 6.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 197 - 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);
$variables['forum'] = !empty($variables['tid']) ? $variables['tid'] : 'All';
$variables['path'] = url('forum/search');
}