|
|
@ -1017,7 +1017,8 @@ class ObjectHelper { |
|
|
|
$matches =str_getcsv(join("\n",$result)); |
|
|
|
$matches =str_getcsv(join("\n",$result)); |
|
|
|
if ($matches !== NULL) { |
|
|
|
if ($matches !== NULL) { |
|
|
|
$parent = preg_replace('/^info:fedora\//','',$matches[0]); |
|
|
|
$parent = preg_replace('/^info:fedora\//','',$matches[0]); |
|
|
|
$breadcrumbs[] = l($matches[1], 'fedora/repository/' . $pid); |
|
|
|
$text = isset($matches[1]) ? $matches[1] : ''; |
|
|
|
|
|
|
|
$breadcrumbs[] = l($text, 'fedora/repository/' . $pid); |
|
|
|
if ($parent == variable_get('fedora_repository_pid', 'islandora:top')) { |
|
|
|
if ($parent == variable_get('fedora_repository_pid', 'islandora:top')) { |
|
|
|
$breadcrumbs[] = l(t('Home'), ''); // l(t('Digital repository'), 'fedora/repository'); |
|
|
|
$breadcrumbs[] = l(t('Home'), ''); // l(t('Digital repository'), 'fedora/repository'); |
|
|
|
} elseif ($level > 0) { |
|
|
|
} elseif ($level > 0) { |
|
|
|