|
|
|
@ -430,18 +430,17 @@ class CollectionClass {
|
|
|
|
|
$tabset['view_tab'] = array( |
|
|
|
|
// $collection_fieldset = array ( |
|
|
|
|
'#type' => 'tabpage', |
|
|
|
|
'#title' => t('Members'), |
|
|
|
|
'#title' => 'View', |
|
|
|
|
'#content' => $collection_items |
|
|
|
|
); |
|
|
|
|
$tabset['add_tab'] = array( |
|
|
|
|
// #type and #title are the minimum requirements. |
|
|
|
|
'#type' => 'tabpage', |
|
|
|
|
'#title' => t('Add / Edit'), |
|
|
|
|
'#title' => t('Add'), |
|
|
|
|
'#selected' => $show_ingest_tab, |
|
|
|
|
// This will be the content of the tab. |
|
|
|
|
'#content' => $add_to_collection, |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
return $tabset; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -464,7 +463,7 @@ class CollectionClass {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
$ingestObject = ' '; |
|
|
|
|
$ingestObject = ''; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return $ingestObject; |
|
|
|
|