|
|
@ -924,7 +924,8 @@ class ObjectHelper { |
|
|
|
// Before executing the query, we hve a base case of accessing the top-level collection |
|
|
|
// Before executing the query, we hve a base case of accessing the top-level collection |
|
|
|
global $base_url; |
|
|
|
global $base_url; |
|
|
|
if ($pid == variable_get('fedora_repository_pid', 'islandora:root')) { |
|
|
|
if ($pid == variable_get('fedora_repository_pid', 'islandora:root')) { |
|
|
|
$breadcrumbs[] = l(t('Digital repository'), 'fedora/repository'); |
|
|
|
//$breadcrumbs[] = l(t('Digital repository'), 'fedora/repository'); |
|
|
|
|
|
|
|
$breadcrumbs[] = l(variable_get('fedora_repository_title', 'Digital repository'), 'fedora/repository'); |
|
|
|
$breadcrumbs[] = l(t('Home'), $base_url); |
|
|
|
$breadcrumbs[] = l(t('Home'), $base_url); |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
else { |
|
|
@ -954,7 +955,8 @@ class ObjectHelper { |
|
|
|
|
|
|
|
|
|
|
|
$breadcrumbs[] = l($matches[1], 'fedora/repository/' . $pid); |
|
|
|
$breadcrumbs[] = l($matches[1], 'fedora/repository/' . $pid); |
|
|
|
if ($parent == variable_get('fedora_repository_pid', 'islandora:root')) { |
|
|
|
if ($parent == variable_get('fedora_repository_pid', 'islandora:root')) { |
|
|
|
$breadcrumbs[] = l(t('Digital repository'), 'fedora/repository'); |
|
|
|
//$breadcrumbs[] = l(t('Digital repository'), 'fedora/repository'); |
|
|
|
|
|
|
|
$breadcrumbs[] = l(variable_get('fedora_repository_title', 'Digital repository'), 'fedora/repository'); |
|
|
|
$breadcrumbs[] = l(t('Home'), $base_url); |
|
|
|
$breadcrumbs[] = l(t('Home'), $base_url); |
|
|
|
} |
|
|
|
} |
|
|
|
elseif ($level > 0) { |
|
|
|
elseif ($level > 0) { |
|
|
|