Browse Source

Merge branch 'ISLANDORA-160'

pull/105/head
Alexander O'Neill 14 years ago
parent
commit
bb4b19dfcb
  1. 4
      content_modeller/islandora_content_modeller.module
  2. BIN
      images/Crystal_Clear_action_run.png
  3. BIN
      images/Crystal_Clear_filesystem_folder_grey.png
  4. BIN
      images/Crystal_Clear_filesystem_folder_lin.png
  5. BIN
      images/Crystal_Clear_mimetype_widget_doc.png

4
content_modeller/islandora_content_modeller.module

@ -3420,7 +3420,7 @@ function icm_model_new_submit($form,&$form_state)
$item = Fedora_Item::ingest_new_item($form_state['storage']['values'][1]['form']['pid'],'A',$form_state['storage']['values'][1]['form']['name']); $item = Fedora_Item::ingest_new_item($form_state['storage']['values'][1]['form']['pid'],'A',$form_state['storage']['values'][1]['form']['name']);
$item->add_relationship('fedora-model:hasModel','info:fedora/fedora-system:ContentModel-3.0',FEDORA_MODEL_URI); $item->add_relationship('fedora-model:hasModel','info:fedora/fedora-system:ContentModel-3.0',FEDORA_MODEL_URI);
$item->add_datastream_from_file(drupal_get_path('module', 'fedora_repository').'/images/Crystal_Clear_action_run.png', 'TN', 'Thumbnail');
switch ($form_state['storage']['values'][1]['form']['initialize']) switch ($form_state['storage']['values'][1]['form']['initialize'])
{ {
case 'blank': case 'blank':
@ -3863,7 +3863,7 @@ function icm_collection_new_submit($form,&$form_state)
$item = Fedora_Item::ingest_new_item($form_state['storage']['values'][1]['form']['pid'],'A',$form_state['storage']['values'][1]['form']['name']); $item = Fedora_Item::ingest_new_item($form_state['storage']['values'][1]['form']['pid'],'A',$form_state['storage']['values'][1]['form']['name']);
$item->add_relationship('fedora-model:hasModel','info:fedora/'.variable_get('fedora_collection_model_pid','islandora:collectionCModel') ,FEDORA_MODEL_URI); $item->add_relationship('fedora-model:hasModel','info:fedora/'.variable_get('fedora_collection_model_pid','islandora:collectionCModel') ,FEDORA_MODEL_URI);
$item->add_relationship($parent_cp->getRelationship(),$parent_cp->pid,RELS_EXT_URI); $item->add_relationship($parent_cp->getRelationship(),$parent_cp->pid,RELS_EXT_URI);
$item->add_datastream_from_file(drupal_get_path('module', 'fedora_repository').'/images/Crystal_Clear_filesystem_folder_grey.png', 'TN', 'Thumbnail');
switch ($form_state['storage']['values'][1]['form']['initialize']) switch ($form_state['storage']['values'][1]['form']['initialize'])
{ {
case 'blank': case 'blank':

BIN
images/Crystal_Clear_action_run.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
images/Crystal_Clear_filesystem_folder_grey.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
images/Crystal_Clear_filesystem_folder_lin.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
images/Crystal_Clear_mimetype_widget_doc.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Loading…
Cancel
Save