|
|
@ -117,7 +117,7 @@ function islandora_menu() { |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
$items['islandora/object/%/edit'] = array( |
|
|
|
$items['islandora/object/%/edit'] = array( |
|
|
|
'title' => 'Edit', |
|
|
|
'title' => 'Manage', |
|
|
|
'page callback' => 'islandora_edit_object', |
|
|
|
'page callback' => 'islandora_edit_object', |
|
|
|
'page arguments' => array(2), |
|
|
|
'page arguments' => array(2), |
|
|
|
'type' => MENU_LOCAL_TASK, |
|
|
|
'type' => MENU_LOCAL_TASK, |
|
|
@ -137,7 +137,7 @@ function islandora_menu() { |
|
|
|
'page callback' => 'islandora_datastream_as_attachment', |
|
|
|
'page callback' => 'islandora_datastream_as_attachment', |
|
|
|
'page arguments' => array(2, 4), |
|
|
|
'page arguments' => array(2, 4), |
|
|
|
'type' => MENU_CALLBACK, |
|
|
|
'type' => MENU_CALLBACK, |
|
|
|
'file' => 'utils/datastream.inc', |
|
|
|
'file' => 'includes/datastream.inc', |
|
|
|
'access arguments' => array(FEDORA_VIEW), |
|
|
|
'access arguments' => array(FEDORA_VIEW), |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
@ -146,7 +146,7 @@ function islandora_menu() { |
|
|
|
'page callback' => 'islandora_datastream_as_attachment', |
|
|
|
'page callback' => 'islandora_datastream_as_attachment', |
|
|
|
'page arguments' => array(2, 4), |
|
|
|
'page arguments' => array(2, 4), |
|
|
|
'type' => MENU_CALLBACK, |
|
|
|
'type' => MENU_CALLBACK, |
|
|
|
'file' => 'utils/datastream.inc', |
|
|
|
'file' => 'includes/datastream.inc', |
|
|
|
'access arguments' => array(FEDORA_VIEW), |
|
|
|
'access arguments' => array(FEDORA_VIEW), |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
@ -155,7 +155,7 @@ function islandora_menu() { |
|
|
|
'page callback' => 'islandora_datastream_as_attachment', |
|
|
|
'page callback' => 'islandora_datastream_as_attachment', |
|
|
|
'page arguments' => array(2, 4), |
|
|
|
'page arguments' => array(2, 4), |
|
|
|
'type' => MENU_CALLBACK, |
|
|
|
'type' => MENU_CALLBACK, |
|
|
|
'file' => 'utils/datastream.inc', |
|
|
|
'file' => 'includes/datastream.inc', |
|
|
|
'access arguments' => array(FEDORA_VIEW), |
|
|
|
'access arguments' => array(FEDORA_VIEW), |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
@ -513,7 +513,7 @@ function islandora_add_datastream($object_id) { |
|
|
|
|
|
|
|
|
|
|
|
function islandora_preprocess_islandora_default(&$variables) { |
|
|
|
function islandora_preprocess_islandora_default(&$variables) { |
|
|
|
$islandora_object = $variables['islandora_object']; |
|
|
|
$islandora_object = $variables['islandora_object']; |
|
|
|
module_load_include('inc', 'islandora', 'utils/islandora_dublin_core'); |
|
|
|
module_load_include('inc', 'islandora', 'includes/islandora_dublin_core'); |
|
|
|
try { |
|
|
|
try { |
|
|
|
$dc = $islandora_object['DC']->content; |
|
|
|
$dc = $islandora_object['DC']->content; |
|
|
|
//$dc_xml = simplexml_load_string($dc); |
|
|
|
//$dc_xml = simplexml_load_string($dc); |
|
|
|