diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/groups/languages/en.php | 1 | ||||
-rw-r--r-- | mod/groups/lib/groups.php | 9 |
2 files changed, 7 insertions, 3 deletions
diff --git a/mod/groups/languages/en.php b/mod/groups/languages/en.php index b798dbf2d..bd4d3209f 100644 --- a/mod/groups/languages/en.php +++ b/mod/groups/languages/en.php @@ -50,6 +50,7 @@ $english = array( 'groups:join' => 'Join group', 'groups:leave' => 'Leave group', 'groups:invite' => 'Invite friends', + 'groups:invite:title' => 'Invite friends to this group', 'groups:inviteto' => "Invite friends to '%s'", 'groups:nofriends' => "You have no friends left who have not been invited to this group.", 'groups:nofriendsatall' => 'You have no friends to invite!', diff --git a/mod/groups/lib/groups.php b/mod/groups/lib/groups.php index dc796d159..28816c309 100644 --- a/mod/groups/lib/groups.php +++ b/mod/groups/lib/groups.php @@ -53,7 +53,7 @@ function groups_handle_all_page() { ); $body = elgg_view_layout('content', $params); - echo elgg_view_page($title, $body); + echo elgg_view_page(elgg_echo('groups:all'), $body); } /** @@ -212,7 +212,7 @@ function groups_handle_profile_page($guid) { ); $body = elgg_view_layout('content', $params); - echo elgg_view_page($title, $body); + echo elgg_view_page($group->name, $body); } /** @@ -301,7 +301,10 @@ function groups_handle_invite_page($guid) { $group = get_entity($guid); - $title = elgg_echo('groups:invite'); + $title = elgg_echo('groups:invite:title'); + + elgg_push_breadcrumb($group->name, $group->getURL()); + elgg_push_breadcrumb(elgg_echo('groups:invite')); if ($group && $group->canEdit()) { $content = elgg_view_form('groups/invite', array( |