You are here

function faq_ask_theme in FAQ_Ask 7

Same name and namespace in other branches
  1. 8 faq_ask.module \faq_ask_theme()

Implements hook_theme().

File

./faq_ask.module, line 2152
This module is an add-on to the FAQ module that allows users with the 'ask question' permission to create a question which will be queued for an 'expert' to answer.

Code

function faq_ask_theme() {
  return array(
    'faq_ask_unanswered' => array(
      'file' => 'faq_ask.unanswered.inc',
      'template' => 'faq-ask-unanswered',
      'variables' => array(
        'data' => NULL,
        'term' => NULL,
        'class' => NULL,
        'mode' => NULL,
      ),
    ),
    'faq_ask_unanswered_block' => array(
      'file' => 'faq_ask.unanswered.inc',
      'template' => 'faq-ask-unanswered-block',
      'variables' => array(
        'data' => NULL,
        'more_link' => NULL,
        'mode' => NULL,
      ),
    ),
  );
}