function advanced_forum_preprocess_advanced_forum_search_topic in Advanced Forum 7.2
Same name and namespace in other branches
- 6.2 includes/theme.inc \advanced_forum_preprocess_advanced_forum_search_topic()
Preprocess forum search topic.
File
- includes/
theme.inc, line 418 - Holds theme functions and template preprocesses. Other style related functions are in style.inc
Code
function advanced_forum_preprocess_advanced_forum_search_topic(&$variables) {
advanced_forum_add_template_suggestions("search_topic", $variables);
$variables['path'] = url('node/' . $variables['node']->nid . '/search');
}