From 036456e68fa7528990dcf647e3c2820ef3ed33bc Mon Sep 17 00:00:00 2001 From: sembrestels Date: Thu, 13 Oct 2011 10:30:41 +0200 Subject: Improved breadcrumbs --- index.php | 2 ++ start.php | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 660200d8f..e4e039f51 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,6 @@ 'dokuwiki', 'offset'=>$offset, 'types'=>'object','full_view'=>false)); diff --git a/start.php b/start.php index 2c495844f..2079be90e 100644 --- a/start.php +++ b/start.php @@ -73,8 +73,7 @@ function dokuwiki_init(){ $entity_guid = $page[0]; $ent = get_entity($entity_guid); - elgg_push_breadcrumb($ent->name, $ent->getURL()); - elgg_push_breadcrumb(elgg_echo('wiki')); + elgg_push_breadcrumb(sprintf(elgg_echo('dokuwiki:wikifrom'),$ent->name)); if (($ent && $ent instanceof ElggGroup) && $ent->dokuwiki_enable !== 'yes') { // wiki not activated for this group. bail out. -- cgit v1.2.3