Revision c1639218
Added by Andreas Kohlbecker over 4 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
1729 | 1729 |
'#items' => array($value), |
1730 | 1730 |
'#type' => 'ul'); |
1731 | 1731 |
$output = drupal_render($renderArray); |
1732 |
// $specimen_table['#rows'][] = array( |
|
1733 |
// // An array of table rows. collapsible row |
|
1734 |
// 'data' => "", |
|
1735 |
// 'class' => array('expand_column') |
|
1736 |
// ); |
|
1737 | 1732 |
$specimen_table['#rows'][] = array( |
1738 | 1733 |
// An array of table rows. Every row is an array of cells, or an associative array |
1739 | 1734 |
'data' => array($output), |
... | ... | |
1753 | 1748 |
|
1754 | 1749 |
$render_array['markup'] = $specimen_table; |
1755 | 1750 |
$specimenpage->content = drupal_render($render_array); |
1756 |
// $render_array['specimens'] = array( |
|
1757 |
// '#prefix' => '<div id="specimens" class="page-part">' . ($page_part == 'all' ? '<h2>' . t(cdm_taxonpage_tab_label('Specimens')) . '</h2>' : ''), |
|
1758 |
// 'content' => $specimen_table, // returns render array |
|
1759 |
// '#suffix' => '</div>', |
|
1760 |
// ); |
|
1761 | 1751 |
} |
1762 | 1752 |
|
1763 | 1753 |
return $specimenpage; |
Also available in: Unified diff
ref #8406 removing commented dead code