Project

General

Profile

« Previous | Next » 

Revision 330d08aa

Added by Andreas Kohlbecker almost 9 years ago

#2988 distribution_hierarchy: lowest defined level style will be reused for all following levels

View differences:

7.x/modules/cdm_dataportal/includes/descriptions.inc
1426 1426
        // level 0
1427 1427
        array(
1428 1428
          'label_suffix' => ':',
1429
          'element_glue' => '',
1429
          'element_glue' => ' ',
1430 1430
          'element_set_pre' => '',
1431 1431
          'element_set_post' => ''
1432 1432
        ),
......
1477 1477
    static $enclosingTag = "span";
1478 1478

  
1479 1479
    $level_style = array_pop($hierarchy_style);
1480
    if(count($hierarchy_style) == 0){
1481
      // lowest defined level style will be reused for all following levels
1482
      $hierarchy_style[] = $level_style;
1483
    }
1480 1484

  
1481 1485
    $node_index = -1;
1482 1486
    $per_node_markup = array();

Also available in: Unified diff