'#title' => t('Allow control groups select in datastream ingest'),
'#description' => t('Whether or not we should allow the user to select which control group to ingest a stream as, or to follow the old paradigm--to add stream IDed as XML as inline, and everything else as managed.'),
'#description' => t('The file to upload. (Only for Managed and Inline)')
'#description' => t('The file to upload. (Only for Managed and Inline)')
);
);
if (variable_get('fedora_control_group_control_during_ingest', FALSE)) {
$form['fieldset']['ds_reference'] = array(
$form['fieldset']['ds_reference'] = array(
'#type' => 'textfield',
'#type' => 'textfield',
'#title' => t('Datastream reference'),
'#title' => t('Datastream reference'),
'#size' => 48,
'#size' => 48,
'#description' => t('A URL reference to resolve for the contents of the datastream. (Required for External and Redirect, but will still work for Managed and Inline.)'),
'#description' => t('A URL reference to resolve for the contents of the datastream. (Required for External and Redirect, but will still work for Managed and Inline.)'),
);
);
}
$form['#redirect'] = "fedora/repository/$pid/";
$form['#redirect'] = "fedora/repository/$pid/";
$form['fieldset']['submit'] = array(
$form['fieldset']['submit'] = array(
'#type' => 'submit',
'#type' => 'submit',
@ -716,6 +727,8 @@ class formClass {
'#weight' => -1,
'#weight' => -1,
);
);
}
}
if (variable_get('fedora_control_group_control_during_ingest', FALSE)) {
$form['fieldset']['control_group'] = array(
$form['fieldset']['control_group'] = array(
'#type' => 'select',
'#type' => 'select',
'#title' => t('Control group'),
'#title' => t('Control group'),
@ -728,6 +741,7 @@ class formClass {
'#description' => t('The manner in which the datastream will be stored. "Inline XML" must be XML and will be placed directly into the FOXML for the object. "Managed" datastreams are made to live on the filesystem as discrete files in the Fedora data directory. Both "Redirect" and "External" streams are URL references; the difference being the redirect stream instruct clients to perform an HTTP redirect, such that the data does not pass though Fedora (useful for streaming). External streams are mediated (by which I mean loaded and streamed from) the Fedora server.'),
'#description' => t('The manner in which the datastream will be stored. "Inline XML" must be XML and will be placed directly into the FOXML for the object. "Managed" datastreams are made to live on the filesystem as discrete files in the Fedora data directory. Both "Redirect" and "External" streams are URL references; the difference being the redirect stream instruct clients to perform an HTTP redirect, such that the data does not pass though Fedora (useful for streaming). External streams are mediated (by which I mean loaded and streamed from) the Fedora server.'),