Revision 0387c539
Added by Andreas Kohlbecker over 13 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
44 | 44 |
define('CDM_DATAPORTAL_DESCRIPTION_GALLERY_NAME', "description_gallery"); |
45 | 45 |
define('CDM_DATAPORTAL_MEDIA_GALLERY_NAME', "media_gallery"); |
46 | 46 |
define('CDM_DATAPORTAL_SEARCH_GALLERY_NAME', "search_gallery"); |
47 |
define('CDM_DATAPORTAL_DISPLAY_TAXON_RELATIONSHIPS', 'cdm_dataportal_display_taxon_relationships'); |
|
48 |
define('CDM_DATAPORTAL_DISPLAY_NAME_RELATIONSHIPS', 'cdm_dataportal_display_name_relations'); |
|
49 |
define('CDM_DATAPORTAL_DISPLAY_TAXON_RELATIONSHIPS_DEFAULT', 1); |
|
50 |
define('CDM_DATAPORTAL_DISPLAY_NAME_RELATIONSHIPS_DEFAULT', 1); |
|
47 | 51 |
|
48 | 52 |
|
49 | 53 |
|
... | ... | |
751 | 755 |
the full nomenclatural reference.') |
752 | 756 |
); |
753 | 757 |
|
754 |
$form['cdm_dataportal_display_name_relations'] = array(
|
|
758 |
$form[CDM_DATAPORTAL_DISPLAY_NAME_RELATIONSHIPS] = array(
|
|
755 | 759 |
'#type' => 'checkbox', |
756 | 760 |
'#title' => t('Show name relations of accepted taxa on taxon page'), |
757 |
'#default_value' => variable_get('cdm_dataportal_display_name_relations', 1),
|
|
761 |
'#default_value' => variable_get(CDM_DATAPORTAL_DISPLAY_NAME_RELATIONSHIPS, CDM_DATAPORTAL_DISPLAY_NAME_RELATIONSHIPS_DEFAULT),
|
|
758 | 762 |
'#description' => t('') |
759 | 763 |
); |
764 |
|
|
765 |
$form[CDM_DATAPORTAL_DISPLAY_TAXON_RELATIONSHIPS] = array( |
|
766 |
'#type' => 'checkbox', |
|
767 |
'#title' => t('Show taxon relations of accepted taxa on taxon page'), |
|
768 |
'#default_value' => variable_get(CDM_DATAPORTAL_DISPLAY_TAXON_RELATIONSHIPS, CDM_DATAPORTAL_DISPLAY_TAXON_RELATIONSHIPS_DEFAULT), |
|
769 |
'#description' => t('') |
|
770 |
); |
|
760 | 771 |
|
761 | 772 |
$form['cdm_dataportal_display_is_accepted_for'] = array( |
762 | 773 |
'#type' => 'checkbox', |
Also available in: Unified diff
footnotes for taxon names in the synonymy page #392 and replacing "senu bubbles" #391