aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/start.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-10 17:13:37 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-10 17:13:37 +0000
commit409331a459355fb827aa33acf3275f3d618a2510 (patch)
treec300483fe791a99a4e6890cf507ddf7c9843078d /mod/groups/start.php
parent755367a31d3c1dbc1cc24ce270a217d2390cbe44 (diff)
downloadelgg-409331a459355fb827aa33acf3275f3d618a2510.tar.gz
elgg-409331a459355fb827aa33acf3275f3d618a2510.tar.bz2
Updated Groups to the new interface. Some view clean-up & simplification done.
git-svn-id: http://code.elgg.org/elgg/trunk@5348 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/start.php')
-rw-r--r--mod/groups/start.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index d43f33162..54c4189b2 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -19,7 +19,7 @@
// Set up the menu for logged in users
if (isloggedin()) {
- add_menu(elgg_echo('groups'), $CONFIG->wwwroot . "pg/groups/member/");
+ add_menu(elgg_echo('groups:yours'), $CONFIG->wwwroot . "pg/groups/member/");
}
// Register a page handler, so we can have nice URLs
@@ -205,7 +205,6 @@
if ($page_owner instanceof ElggGroup && get_context() == 'groups') {
if (isloggedin()) {
if ($page_owner->canEdit()) {
- add_submenu_item(elgg_echo('groups:edit'),$CONFIG->wwwroot . "mod/groups/edit.php?group_guid=" . $page_owner->getGUID(), '1groupsactions');
add_submenu_item(elgg_echo('groups:invite'),$CONFIG->wwwroot . "mod/groups/invite.php?group_guid={$page_owner->getGUID()}", '1groupsactions');
if (!$page_owner->isPublicMembership())
add_submenu_item(elgg_echo('groups:membershiprequests'),$CONFIG->wwwroot . "mod/groups/membershipreq.php?group_guid={$page_owner->getGUID()}", '1groupsactions');