aboutsummaryrefslogtreecommitdiff
path: root/mod/invitefriends/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/invitefriends/index.php')
-rw-r--r--mod/invitefriends/index.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/mod/invitefriends/index.php b/mod/invitefriends/index.php
new file mode 100644
index 000000000..19471bbed
--- /dev/null
+++ b/mod/invitefriends/index.php
@@ -0,0 +1,25 @@
+<?php
+
+/**
+ * Elgg invite page
+ *
+ * @package ElggFile
+ * @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($_SESSION['guid']);
+
+ $body = elgg_view('invitefriends/form');
+ $body = elgg_view_layout('two_column_left_sidebar','',$body);
+
+ page_draw(elgg_echo('friends:invite'),$body);
+
+?> \ No newline at end of file