aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsembrestels <sembrestels@riseup.net>2011-10-13 10:30:41 +0200
committersembrestels <sembrestels@riseup.net>2011-10-13 10:30:41 +0200
commit036456e68fa7528990dcf647e3c2820ef3ed33bc (patch)
tree6c6f5fb143b611758713832f14a3f92bc3c39b1a
parent50a3755344b18f943237672f88d8fbbfc63d929a (diff)
downloadelgg-036456e68fa7528990dcf647e3c2820ef3ed33bc.tar.gz
elgg-036456e68fa7528990dcf647e3c2820ef3ed33bc.tar.bz2
Improved breadcrumbs
-rw-r--r--index.php2
-rw-r--r--start.php3
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 @@
<?php
+
+ elgg_push_breadcrumb(elgg_echo('dokuwiki'));
$offset = (int)get_input('offset', 0);
$title = elgg_echo("dokuwiki:title");
$content = elgg_list_entities(array('subtype'=>'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.