function advanced_forum_preprocess_advanced_forum_topic_legend in Advanced Forum 5
Same name and namespace in other branches
- 6.2 includes/theme.inc \advanced_forum_preprocess_advanced_forum_topic_legend()
- 6 advanced_forum.module \advanced_forum_preprocess_advanced_forum_topic_legend()
- 7.2 includes/theme.inc \advanced_forum_preprocess_advanced_forum_topic_legend()
File
- ./
advanced_forum.module, line 702 - Enables the look and feel of other popular forum software.
Code
function advanced_forum_preprocess_advanced_forum_topic_legend(&$variables) {
$variables['topic_new'] = advanced_forum_theme_image(t('topic-new.png'), t('New Posts'));
$variables['topic_hot_new'] = advanced_forum_theme_image(t('topic-hot-new.png'), t('Hot Thread (New)'));
$variables['topic_hot'] = advanced_forum_theme_image(t('topic-hot.png'), t('Hot Thread (No New)'));
$variables['topic_default'] = advanced_forum_theme_image(t('topic-default.png'), t('No New Posts'));
$variables['topic_sticky'] = advanced_forum_theme_image(t('topic-sticky.png'), t('Sticky Thread'));
$variables['topic_closed'] = advanced_forum_theme_image(t('topic-closed.png'), t('Locked Thread'));
}