You are here

function theme_faq_category_description in Frequently Asked Questions 5.2

Theme function to format the category description.

Parameters

$term_description: Description associated with the taxonomy term / category.

Return value

HTML formatted description text.

3 theme calls to theme_faq_category_description()
faq_view_child_category_headers in ./faq.module
Helper function to setup the list of sub-categories for the header.
theme_faq_category_header in ./faq.module
Theme function for formatting the faq category headers.
_get_indented_faq_terms in ./faq.module
Return a HTML formatted list of terms indented according to the term depth.

File

./faq.module, line 1800
The FAQ module allows users to create a FAQ page, with questions and answers displayed in different styles, according to the settings.

Code

function theme_faq_category_description($term_description = '') {
  $description = '';
  if (!empty($term_description)) {
    $description = '<div class="faq-qa-description">';
    $description .= $term_description . "</div>\n";
  }
  return $description;
}