aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-05 23:04:54 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-05 23:04:54 +0000
commit7f2a199536b86c4764f72b46807a575524af1080 (patch)
tree8b6c60d105c609d4f80b54782a6978e73a4b3e68
parentcf7ee78570a8d8c57a2b456324229bc12adfb23c (diff)
downloadelgg-7f2a199536b86c4764f72b46807a575524af1080.tar.gz
elgg-7f2a199536b86c4764f72b46807a575524af1080.tar.bz2
fixed some group page titles
git-svn-id: http://code.elgg.org/elgg/trunk@8600 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/groups/languages/en.php1
-rw-r--r--mod/groups/lib/groups.php9
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(