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

/**
 * Elgg invite page
 *
 * @package ElggInviteFriends
 */

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

gatekeeper();

elgg_set_context('friends');
set_page_owner(get_loggedin_userid());

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

echo elgg_view_page(elgg_echo('friends:invite'), $body);