diff options
author | sembrestels <sembrestels@riseup.net> | 2011-10-13 10:00:06 +0200 |
---|---|---|
committer | sembrestels <sembrestels@riseup.net> | 2011-10-13 10:00:06 +0200 |
commit | 30253f9e76a1b34b9877d0e188b20ce052d03fd9 (patch) | |
tree | 15470556351a110ff138ed329c6a876f1e4463a9 /lib | |
parent | ff9e16d0ff48998d4e015a4348c0f5a13194e55c (diff) | |
download | elgg-30253f9e76a1b34b9877d0e188b20ce052d03fd9.tar.gz elgg-30253f9e76a1b34b9877d0e188b20ce052d03fd9.tar.bz2 |
Enhancements to wiki navigation.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dokuwiki/lib/tpl/default/main.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/dokuwiki/lib/tpl/default/main.php b/lib/dokuwiki/lib/tpl/default/main.php index a6626732d..6aa78b14e 100644 --- a/lib/dokuwiki/lib/tpl/default/main.php +++ b/lib/dokuwiki/lib/tpl/default/main.php @@ -35,7 +35,9 @@ $sidebar = ob_get_clean(); if (empty($sidebar_inline) && empty($page_inline)) { $title = sprintf(elgg_echo('dokuwiki:wikifrom'), elgg_get_page_owner_entity()->name); - + + $sidebar = elgg_view_module('aside', elgg_echo('dokuwiki:sidebar'), $sidebar); + $body = elgg_view_layout('content', array( 'filter' => '', 'content' => $content, @@ -51,7 +53,7 @@ else { $all_link = "<a href=\"$all_link\">$all_text</a>"; echo elgg_view('groups/profile/module', array( - 'title' => elgg_echo('dokuwiki:group'), + 'title' => $content ? elgg_echo('dokuwiki:group') : elgg_echo('dokuwiki:sidebar'), 'content' => $content . $sidebar, 'all_link' => $all_link, )); |