From 30253f9e76a1b34b9877d0e188b20ce052d03fd9 Mon Sep 17 00:00:00 2001 From: sembrestels Date: Thu, 13 Oct 2011 10:00:06 +0200 Subject: Enhancements to wiki navigation. --- lib/dokuwiki/lib/tpl/default/main.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/dokuwiki') 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 = "$all_text"; 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, )); -- cgit v1.2.3