aboutsummaryrefslogtreecommitdiff
path: root/mod/invitefriends/index.php
blob: 1f27f07aaf361057b16da8c35627ba0203b59b14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

/**
 * Elgg invite page
 *
 * @package ElggInviteFriends
 * @author Curverider Ltd
 * @copyright Curverider Ltd 2008-2010
 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
 * @link http://elgg.org/
 */

require_once(dirname(dirname(dirname(__FILE__))) . '/engine/start.php');

gatekeeper();

set_context('friends');
set_page_owner(get_loggedin_userid());

$body = elgg_view('invitefriends/form');
$body = elgg_view_layout('one_column_with_sidebar', $body);

page_draw(elgg_echo('friends:invite'), $body);