aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 08:58:56 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 08:58:56 +0000
commit511adfcf29ecaefc9b060866ba2851dbc19da794 (patch)
treefb84a024aeff2c9dd1f517116f26423e9c75aedb
parentb1d84c209db23302a6380edbd65e00ade73d2db5 (diff)
downloadelgg-511adfcf29ecaefc9b060866ba2851dbc19da794.tar.gz
elgg-511adfcf29ecaefc9b060866ba2851dbc19da794.tar.bz2
Group blog and bookmarks submenu removed from sidebar (links are now in the group ownerblock)
git-svn-id: http://code.elgg.org/elgg/trunk@6148 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/blog/start.php2
-rw-r--r--mod/bookmarks/start.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index 9829f708c..bce434fbc 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -193,7 +193,7 @@ function blog_page_setup() {
if ($page_owner instanceof ElggGroup && get_context() == 'groups') {
if($page_owner->blog_enable != "no") {
$url = "{$CONFIG->wwwroot}pg/blog/{$page_owner->username}/items";
- add_submenu_item(elgg_echo('blog:groups:group_blogs'), $url);
+ //add_submenu_item(elgg_echo('blog:groups:group_blogs'), $url);
}
}
}
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php
index ef8a4e011..70bfa1124 100644
--- a/mod/bookmarks/start.php
+++ b/mod/bookmarks/start.php
@@ -63,7 +63,7 @@ function bookmarks_pagesetup() {
if (isloggedin()) {
if ($page_owner instanceof ElggGroup && get_context() == 'groups') {
if ($page_owner->bookmarks_enable != "no") {
- add_submenu_item(sprintf(elgg_echo("bookmarks:group"),$page_owner->name), $CONFIG->wwwroot . "pg/bookmarks/" . $page_owner->username . '/items');
+ //add_submenu_item(sprintf(elgg_echo("bookmarks:group"),$page_owner->name), $CONFIG->wwwroot . "pg/bookmarks/" . $page_owner->username . '/items');
}
}
}