From: sembrestels Date: Thu, 13 Oct 2011 08:30:41 +0000 (+0200) Subject: Improved breadcrumbs X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=036456e68fa7528990dcf647e3c2820ef3ed33bc;p=lorea%2Felgg.git Improved breadcrumbs --- 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.