diff options
author | sembrestels <sembrestels@riseup.net> | 2011-10-13 10:30:41 +0200 |
---|---|---|
committer | sembrestels <sembrestels@riseup.net> | 2011-10-13 10:30:41 +0200 |
commit | 036456e68fa7528990dcf647e3c2820ef3ed33bc (patch) | |
tree | 6c6f5fb143b611758713832f14a3f92bc3c39b1a | |
parent | 50a3755344b18f943237672f88d8fbbfc63d929a (diff) | |
download | elgg-036456e68fa7528990dcf647e3c2820ef3ed33bc.tar.gz elgg-036456e68fa7528990dcf647e3c2820ef3ed33bc.tar.bz2 |
Improved breadcrumbs
-rw-r--r-- | index.php | 2 | ||||
-rw-r--r-- | start.php | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -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)); @@ -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. |