Permalink
Browse files

Merge pull request #83 from jmacwilliams/6.x

replaced digital repository breadcrumb with the name of the repository
  • Loading branch information...
2 parents 97b51d1 + a8be278 commit 86f121547660f697966f3c3b11fc88e19f74f0c8 @bwoodhead bwoodhead committed Mar 16, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 ObjectHelper.inc
View
@@ -924,7 +924,8 @@ class ObjectHelper {
// Before executing the query, we hve a base case of accessing the top-level collection
global $base_url;
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);
}
else {
@@ -954,7 +955,8 @@ class ObjectHelper {
$breadcrumbs[] = l($matches[1], 'fedora/repository/' . $pid);
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);
}
elseif ($level > 0) {

0 comments on commit 86f1215

Please sign in to comment.