You are here

function advanced_forum_preprocess_advanced_forum_forum_legend in Advanced Forum 6

Same name and namespace in other branches
  1. 5 advanced_forum.module \advanced_forum_preprocess_advanced_forum_forum_legend()
  2. 6.2 includes/theme.inc \advanced_forum_preprocess_advanced_forum_forum_legend()
  3. 7.2 includes/theme.inc \advanced_forum_preprocess_advanced_forum_forum_legend()

Preprocesses template variables for the forum statistics template.

File

./advanced_forum.module, line 670
Enables the look and feel of other popular forum software.

Code

function advanced_forum_preprocess_advanced_forum_forum_legend(&$variables) {
  $variables['template_files'][] = 'advanced_forum-forum-legend';
  $variables['folder_new_posts'] = advanced_forum_theme_image(t('forum-folder-new-posts.png'), t('Forum Contains New Posts'));
  $variables['folder_default'] = advanced_forum_theme_image(t('forum-folder.png'), t('Forum Contains No New Posts'));
  $variables['folder_locked'] = advanced_forum_theme_image(t('forum-folder-locked.png'), t('Forum is Locked'));
}