| 825 |
|
|
| 826 |
drupal_add_css(drupal_get_path('module', 'faq') .'/faq.css'); |
drupal_add_css(drupal_get_path('module', 'faq') .'/faq.css'); |
| 827 |
if (arg(0) == 'faq') { |
if (arg(0) == 'faq') { |
| 828 |
drupal_set_title(variable_get('faq_title', 'Frequently Asked Questions')); |
drupal_set_title(check_plain(variable_get('faq_title', 'Frequently Asked Questions'))); |
| 829 |
} |
} |
| 830 |
if (!module_exists("taxonomy")) { |
if (!module_exists("taxonomy")) { |
| 831 |
$tid = 0; |
$tid = 0; |
| 923 |
$term = taxonomy_get_term($tid); |
$term = taxonomy_get_term($tid); |
| 924 |
$title = variable_get('faq_title', 'Frequently Asked Questions'); |
$title = variable_get('faq_title', 'Frequently Asked Questions'); |
| 925 |
if (arg(0) == 'faq' && is_numeric(arg(1))) { |
if (arg(0) == 'faq' && is_numeric(arg(1))) { |
| 926 |
drupal_set_title($title . ($title ? ' - ' : '') . check_plain($term->name)); |
drupal_set_title(check_plain($title . ($title ? ' - ' : '') . $term->name)); |
| 927 |
} |
} |
| 928 |
if ($category_display == 'hide_qa') { |
if ($category_display == 'hide_qa') { |
| 929 |
drupal_add_js(drupal_get_path('module', 'faq') .'/faq.js', 'module'); |
drupal_add_js(drupal_get_path('module', 'faq') .'/faq.js', 'module'); |