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