Project

General

Profile

« Previous | Next » 

Revision 6f5c7f2a

Added by Andreas Kohlbecker over 7 years ago

fixing #1933 (DescriptionElementBases do not show annotation footnotes in flora malesiana portal)

View differences:

7.x/modules/cdm_dataportal/settings.php
399 399
/**
400 400
 * preliminary mock implementation
401 401
 *
402
 * these settings only apply to feature blocks which do not have a special rendering
403
 * the specially handled features (e.g.: Distribution,CommonNames) may make use of the
404
 * 'special' element of the settings
405
 *
402 406
 *  "$feature uuid": {
403 407
 *    "as_list": div|ul|ol|dl,                       // div: not as list, ul: as bullet list, ol: as numbered list, dl:as definition list; will be used in compose_cdm_feature_block_elements() as $enclosing_tag
404 408
 *    "link_to_reference": boolean,                 // render the reference as link, ignored if the element is NOT a DescriptionElementSource
......
412 416
 *    "references_inline": boolean
413 417
 *    "sort_elements": SORT_ASC, SORT_DESC, NULL    // whether and how to sort the elements
414 418
 *    "element_tag": span | div                     // only applies if "as_list" == 'div'
419
 *    'special' => array()                          // can be used to extend with special settings for specialized rendering like for distributions
415 420
 *  }
416 421
 */
417 422
function get_feature_block_settings($feature_uuid = 'DEFAULT'){

Also available in: Unified diff