aboutsummaryrefslogtreecommitdiff
path: root/views/default/dokuwiki/grouppage.php
blob: 83cb8782398c68c31f87a51e75d02837d517d42d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

$group = elgg_get_page_owner_entity();
$offset = (int)get_input("offset",0);
if ($group->dokuwiki_enable  == 'yes' && $group->dokuwiki_frontpage_enable  == 'yes') {
	
	$all_link = elgg_get_site_url().'dokuwiki/'.$group->guid;
	$all_text = elgg_echo('viewall');
	$all_link = "<a href=\"$all_link\">$all_text</a>";	
	
	echo elgg_view('groups/profile/module', array(
		'title' => elgg_echo('dokuwiki:group'),
		'content' => $none,
		'all_link' => $all_link,
	));
	
	set_input("inline_page", true);
	dokuwiki_page_handler(array($group->guid));
}

?>