diff --git a/islandora.module b/islandora.module index 6a9b3b63..bddb2967 100644 --- a/islandora.module +++ b/islandora.module @@ -430,7 +430,10 @@ function islandora_object_manage_access_callback($perms, $object = NULL) { * The HTML repersentation of the manage object page. */ function islandora_edit_object(FedoraObject $object) { + module_load_include('inc', 'islandora', 'includes/breadcrumb'); module_load_include('inc', 'islandora', 'includes/utilities'); + drupal_set_title($object->label); + drupal_set_breadcrumb(islandora_get_breadcrumbs($object)); $output = array(); foreach (islandora_build_hook_list(ISLANDORA_EDIT_HOOK, $object->models) as $hook) { $temp = module_invoke_all($hook, $object); @@ -491,6 +494,7 @@ function islandora_view_default_object() { function islandora_view_object(FedoraObject $object) { module_load_include('inc', 'islandora', 'includes/breadcrumb'); module_load_include('inc', 'islandora', 'includes/utilities'); + drupal_set_title($object->label); drupal_set_breadcrumb(islandora_get_breadcrumbs($object)); // Optional pager parameters $page_number = (empty($_GET['page'])) ? '1' : $_GET['page']; @@ -854,4 +858,3 @@ function islandora_entity_property_info() { return $info; } - diff --git a/theme/islandora-object-edit.tpl.php b/theme/islandora-object-edit.tpl.php index 0772a899..266a1259 100644 --- a/theme/islandora-object-edit.tpl.php +++ b/theme/islandora-object-edit.tpl.php @@ -20,7 +20,4 @@ * */ ?> - -label); ?> - diff --git a/theme/islandora-object.tpl.php b/theme/islandora-object.tpl.php index 9062098c..753232c5 100644 --- a/theme/islandora-object.tpl.php +++ b/theme/islandora-object.tpl.php @@ -58,10 +58,6 @@ * */ ?> - - - -