You are here

function advanced_forum_theme in Advanced Forum 6

Same name and namespace in other branches
  1. 6.2 advanced_forum.module \advanced_forum_theme()
  2. 7.2 advanced_forum.module \advanced_forum_theme()

Implementation of hook_theme().

File

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

Code

function advanced_forum_theme() {
  $items['advf_forum_statistics'] = array(
    'template' => 'advf-forum-statistics',
  );
  $items['advanced_forum_topic_legend'] = array(
    'template' => 'advanced_forum-topic-legend',
  );
  $items['advanced_forum_topic_header'] = array(
    'template' => 'advanced_forum-topic-header',
    'arguments' => array(
      'node' => NULL,
      'comment_count' => NULL,
    ),
  );
  $items['advanced_forum_forum_legend'] = array(
    'template' => 'advanced_forum-forum-legend',
  );
  $items['advanced_forum_user_picture'] = array(
    'arguments' => array(
      'account' => NULL,
    ),
  );
  $items['advanced_forum_reply_link'] = array(
    'arguments' => array(
      'node' => NULL,
    ),
  );
  return $items;
}