aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/lib
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 /mod/groups/lib
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
Diffstat (limited to 'mod/groups/lib')
-rw-r--r--mod/groups/lib/groups.php9
1 files changed, 6 insertions, 3 deletions
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(