aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-20 22:15:58 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-20 22:15:58 +0000
commit23b38301a25d603ba66d74e9a791af5eb3685cc2 (patch)
treee8bb37458a295c270e2dbf3765437af5c564bd44 /mod/bookmarks
parentff1d229781304112d3376fedabb98e3dbfb0c0ab (diff)
downloadelgg-23b38301a25d603ba66d74e9a791af5eb3685cc2.tar.gz
elgg-23b38301a25d603ba66d74e9a791af5eb3685cc2.tar.bz2
Adding submenu items for standard plugins to owner block.
git-svn-id: http://code.elgg.org/elgg/trunk@6122 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks')
-rw-r--r--mod/bookmarks/start.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php
index 778133d4f..205069197 100644
--- a/mod/bookmarks/start.php
+++ b/mod/bookmarks/start.php
@@ -63,6 +63,13 @@ function bookmarks_pagesetup() {
add_submenu_item(sprintf(elgg_echo("bookmarks:group"),$page_owner->name), $CONFIG->wwwroot . "pg/bookmarks/" . $page_owner->username . '/items');
}
}
+
+ if ($page_owner instanceof ElggEntity) {
+ elgg_add_submenu_item(array(
+ 'text' => elgg_echo('bookmarks'),
+ 'href' => "{$CONFIG->url}pg/bookmarks/{$page_owner->username}",
+ ));
+ }
}
}