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