aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks/start.php')
-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}",
+ ));
+ }
}
}