aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/new.php
blob: 84d1539af28240ff2d026272d0ef3ac24bf74376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
	/**
	 * Elgg groups plugin
	 * 
	 * @package ElggGroups
	 */

	gatekeeper();

	set_page_owner(get_loggedin_userid());

	// Render the file upload page
	$title = elgg_echo("groups:new");
	$area2 = elgg_view_title($title);
	$area2 .= elgg_view("forms/groups/edit");
	
	$body = elgg_view_layout('one_column_with_sidebar', array('content' => $area1 . $area2));
	
	echo elgg_view_page($title, $body);
?>