diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-20 15:23:58 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-20 15:23:58 +0000 |
commit | 5f5eda65658df6cc6b9f71ed887654d2ac2963c5 (patch) | |
tree | 2e7415925d6b84ca42d93cd873db4855cf09e3f3 /mod | |
parent | 69810203a628d2bb7dd52ffbfdd4c7251734e20c (diff) | |
download | elgg-5f5eda65658df6cc6b9f71ed887654d2ac2963c5.tar.gz elgg-5f5eda65658df6cc6b9f71ed887654d2ac2963c5.tar.bz2 |
group email tweak to include lang
git-svn-id: https://code.elgg.org/elgg/trunk@2865 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r-- | mod/groups/languages/en.php | 2 | ||||
-rw-r--r-- | mod/groups/start.php | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/mod/groups/languages/en.php b/mod/groups/languages/en.php index b39bd96df..22aff6a1d 100644 --- a/mod/groups/languages/en.php +++ b/mod/groups/languages/en.php @@ -51,7 +51,7 @@ 'groups:invite' => 'Invite friends',
'groups:inviteto' => "Invite friends to '%s'",
'groups:nofriends' => "You have no friends left who have not been invited to this group.",
-
+ 'groups:viagroups' => "via groups",
'groups:group' => "Group",
'groups:notfound' => "Group not found",
diff --git a/mod/groups/start.php b/mod/groups/start.php index 85b43ad77..e0bb18b92 100644 --- a/mod/groups/start.php +++ b/mod/groups/start.php @@ -137,8 +137,10 @@ if ($method == 'sms') {
return elgg_echo("groupforumtopic:new") . ': ' . $url . " ({$owner->name}: {$title})";
} else {
- return "{$title}\n({$owner->name})\n\n{$url}";
+ $owner = $entity->getOwnerEntity();
+ return $owner->username . ' ' . elgg_echo("groups:viagroups") . ': ' . $title . "\n\n" . $descr . "\n\n" . $entity->getURL();
}
+
}
return null;
}
|