Revision 93fb962c
Added by Katja Luther about 5 years ago
modules/cdm_dataportal/includes/pages.inc | ||
---|---|---|
1258 | 1258 |
|
1259 | 1259 |
'#attributes' => array('class' => 'specimens'), |
1260 | 1260 |
'#rows' => array(), |
1261 |
'#prefix' => '<div id="specimens">', |
|
1262 |
'#suffix' => '</div>', |
|
1263 |
|
|
1261 | 1264 |
|
1262 | 1265 |
); |
1263 | 1266 |
$specimen = compose_cdm_specimen_or_observation($specimen_uuid, true); |
... | ... | |
1279 | 1282 |
|
1280 | 1283 |
|
1281 | 1284 |
// $detail_html = compose_cdm_specimen_or_observation($specimen_uuid, true); |
1282 |
$render_array['markup'] = array( |
|
1283 |
'#prefix' => '<div id="specimens" class="page">', |
|
1284 |
'content' => $specimen_table, |
|
1285 |
'#suffix' => '</div>', |
|
1286 |
); |
|
1287 |
//$render_array['markup'] = $specimen_table;
|
|
1285 |
// $render_array['markup'] = array(
|
|
1286 |
// '#prefix' => '<div id="specimens" class="page">',
|
|
1287 |
// 'content' => $specimen_table,
|
|
1288 |
// '#suffix' => '</div>',
|
|
1289 |
// );
|
|
1290 |
$render_array['markup'] = $specimen_table; |
|
1288 | 1291 |
|
1289 | 1292 |
RenderHints::popFromRenderStack(); |
1290 | 1293 |
return $render_array; |
Also available in: Unified diff
fix specimen details page -continue