From 9f9668ceebe2a23c98800172bc90f8e759f614d2 Mon Sep 17 00:00:00 2001 From: sembrestels Date: Thu, 13 Oct 2011 05:49:08 +0200 Subject: Wiki sidebar on group profile --- views/default/dokuwiki/sidebar.php | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'views/default/dokuwiki/sidebar.php') diff --git a/views/default/dokuwiki/sidebar.php b/views/default/dokuwiki/sidebar.php index c47a1bf6d..73de02403 100644 --- a/views/default/dokuwiki/sidebar.php +++ b/views/default/dokuwiki/sidebar.php @@ -1,12 +1,21 @@ dokuwiki_enable == 'yes' && $group->dokuwiki_frontsidebar_enable == 'yes') { - set_input("inline_sidebar", true); - set_input("inline_page", false); - echo "
"; - echo elggdokuwiki_page_handler(array($group->guid)); - echo "
"; + + $all_link = elgg_get_site_url().'dokuwiki/'.$group->guid; + $all_text = elgg_echo('viewall'); + $all_link = "$all_text"; + + echo elgg_view('groups/profile/module', array( + 'title' => elgg_echo('dokuwiki:group'), + 'content' => $none, + //'all_link' => $all_link, + )); + + set_input("inline_sidebar", true); + set_input("inline_page", false); + echo dokuwiki_page_handler(array($group->guid)); } ?> -- cgit v1.2.3