diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-21 16:58:07 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-21 16:58:07 +0000 |
commit | 212f7c09ea4f1060516b4c573f6a0b28de46ddfb (patch) | |
tree | 28176fab76b6b60925ecfbe61b5b08e5b348fe0f /mod/groups/edit.php | |
parent | d8a0b9c1fa81f107bf8fbe18540f12e99a87deed (diff) | |
download | elgg-212f7c09ea4f1060516b4c573f6a0b28de46ddfb.tar.gz elgg-212f7c09ea4f1060516b4c573f6a0b28de46ddfb.tar.bz2 |
Groups using elgg_view_title
git-svn-id: https://code.elgg.org/elgg/trunk@1483 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/edit.php')
-rw-r--r-- | mod/groups/edit.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mod/groups/edit.php b/mod/groups/edit.php index 41f43c007..a5b1df74b 100644 --- a/mod/groups/edit.php +++ b/mod/groups/edit.php @@ -15,13 +15,18 @@ $group_guid = get_input('group_guid'); $group = get_entity($group_guid); + $title = elgg_echo("groups:new"); + $body = elgg_view_title($title); + if (($group) && ($group->canEdit())) { - $body = elgg_view_layout('one_column', elgg_view("forms/groups/edit", array('entity' => $group))); + $body .= elgg_view("forms/groups/edit", array('entity' => $group)); } else { - $body = elgg_echo("groups:noaccess"); + $body .= elgg_echo("groups:noaccess"); } - page_draw(elgg_echo("groups:new"), $body); + $body = elgg_view_layout('one_column', $body); + + page_draw($title, $body); ?>
\ No newline at end of file |