function advanced_forum_preprocess_advanced_forum_shadow_topic in Advanced Forum 7.2
Preprocess forum shadow topic.
File
- includes/
theme.inc, line 311 - Holds theme functions and template preprocesses. Other style related functions are in style.inc
Code
function advanced_forum_preprocess_advanced_forum_shadow_topic(&$variables) {
$nid = $variables['nid'];
$variables['new_forum_url'] = url("node/{$nid}");
// Compatibility variable.
$variables['new_forum_link'] = l(t('View topic'), "node/{$nid}");
}