aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/invite.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/invite.php')
-rw-r--r--mod/groups/invite.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/mod/groups/invite.php b/mod/groups/invite.php
index c3af86397..bb7aa75b7 100644
--- a/mod/groups/invite.php
+++ b/mod/groups/invite.php
@@ -14,14 +14,19 @@
$group_guid = get_input('group_guid');
$group = get_entity($group_guid);
+ $title = elgg_echo("groups:invite");
+ $body = elgg_view_title($title);
+
if (($group) && ($group->canEdit()))
{
- $body = elgg_view_layout('one_column', elgg_view("forms/groups/invite", array('entity' => $group)));
+ $body .= elgg_view("forms/groups/invite", array('entity' => $group));
} else {
- $body = elgg_echo("groups:noaccess");
+ $body .= elgg_echo("groups:noaccess");
}
- page_draw(elgg_echo("groups:invite"), $body);
+ $body = elgg_view_layout('one_column', $body);
+
+ page_draw($title, $body);
?> \ No newline at end of file