Browse Source

Updated islandora

pull/145/head
jonathangreen 13 years ago
parent
commit
7feae13be1
  1. 1
      includes/object_properties.inc
  2. 12
      includes/tuque.inc
  3. 3
      islandora.module

1
includes/object_properties.inc

@ -107,6 +107,7 @@ function islandora_edit_properties_form($form, &$form_state, $object) {
'#type' => 'submit',
'#value' => t('Delete'),
'#submit' => array('islandora_edit_properties_form_delete'),
'#limit_validation_errors' => array(array('pid')),
);
return $form;
}

12
includes/tuque.inc

@ -1,5 +1,7 @@
<?php
$islandora_module_path = drupal_get_path('module', 'islandora');
//do this until we expost these in a module or library
@include_once 'sites/all/libraries/tuque/Datastream.php';
@include_once 'sites/all/libraries/tuque/FedoraApi.php';
@ -11,6 +13,16 @@
@include_once 'sites/all/libraries/tuque/Repository.php';
@include_once 'sites/all/libraries/tuque/FedoraRelationships.php';
@include_once "$islandora_module_path/libraries/tuque/Datastream.php";
@include_once "$islandora_module_path/libraries/tuque/FedoraApi.php";
@include_once "$islandora_module_path/libraries/tuque/FedoraApiSerializer.php";
@include_once "$islandora_module_path/libraries/tuque/Object.php";
@include_once "$islandora_module_path/libraries/tuque/RepositoryConnection.php";
@include_once "$islandora_module_path/libraries/tuque/Cache.php";
@include_once "$islandora_module_path/libraries/tuque/RepositoryException.php";
@include_once "$islandora_module_path/libraries/tuque/Repository.php";
@include_once "$islandora_module_path/libraries/tuque/FedoraRelationships.php";
class IslandoraTuque {
/**

3
islandora.module

@ -203,7 +203,8 @@ function islandora_menu() {
function islandora_admin_paths() {
$paths = array();
$paths['*/manage*'] = TRUE;
$paths['islandora/object/*/manage*'] = TRUE;
$paths['islandora/object/*/delete'] = TRUE;
return $paths;
}

Loading…
Cancel
Save