From ecd013091b33659c5e944795dda2abce382104b4 Mon Sep 17 00:00:00 2001 From: sembrestels Date: Thu, 13 Oct 2011 05:36:07 +0200 Subject: Wiki group profile --- views/default/dokuwiki/grouppage.php | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'views/default') diff --git a/views/default/dokuwiki/grouppage.php b/views/default/dokuwiki/grouppage.php index c5a342ac7..77cc9d104 100644 --- a/views/default/dokuwiki/grouppage.php +++ b/views/default/dokuwiki/grouppage.php @@ -1,13 +1,21 @@ dokuwiki_enable == 'yes' && $group->dokuwiki_frontpage_enable == 'yes') { - echo '
'; - set_input("inline_page", true); - echo elggdokuwiki_page_handler(array($group->guid)); - echo '
'; - $count = elgg_get_entities(array('offset'=>$offset,'full_view'=>FALSE,'types'=>'group','container_guid'=>$group->getGUID(),'count'=>TRUE)); + + set_input("inline_page", true); + + $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, + )); + dokuwiki_page_handler(array($group->guid)); } ?> -- cgit v1.2.3