Project

General

Profile

« Previous | Next » 

Revision 6f4506af

Added by Andreas Kohlbecker over 2 years ago

ref #8543 removing settings to generally disable footnotes

View differences:

modules/cdm_dataportal/settings.php
1547 1547
      respective configuration site for taxon, search or media.') . '</p>',
1548 1548
  );
1549 1549

  
1550
  // ---- footnotes --- //
1551
  $form['footnotes'] = array(
1552
    '#type' => 'fieldset',
1553
    '#title' => t('Footnotes'),
1554
    '#collapsible' => FALSE,
1555
    '#collapsed' => FALSE,
1556
    '#description' => t('Taxa data such authors, synonyms names, descriptions,
1557
      media or distribution areas may have annotations or footnotes. When the
1558
      footnotes are enabled they will be visible (if they exist).'),
1559
  );
1560

  
1561
  $form['footnotes']['cdm_dataportal_all_footnotes'] = array(
1562
    '#type' => 'checkbox',
1563
    '#title' => t('Do not show footnotes'),
1564
    '#default_value' => variable_get('cdm_dataportal_all_footnotes', CDM_DATAPORTAL_ALL_FOOTNOTES),
1565
    '#description' => t('Check this if you do not want to show any footnotes'),
1566
  );
1567

  
1568
  $form['footnotes']['cdm_dataportal_annotations_footnotes'] = array(
1569
    '#type' => 'checkbox',
1570
    '#title' => t('Do not show annotation footnotes'),
1571
    '#default_value' => variable_get('cdm_dataportal_annotations_footnotes', CDM_DATAPORTAL_ANNOTATIONS_FOOTNOTES),
1572
    '#description' => t('Check this if you do not want to show annotation footnotes'),
1573
  );
1574

  
1575 1550
  $form['annotations'] = array(
1576 1551
    '#type' => 'fieldset',
1577 1552
    '#title' => t('Annotations'),

Also available in: Unified diff