diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-29 10:19:07 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-29 10:19:07 +0000 |
commit | 47b98c613439ad61989f9f6e0b8d70fbf2201805 (patch) | |
tree | 9800af7c68ae5878331de79d6488288e828c7e2a /mod/bookmarks | |
parent | 34421c958ce3b822f7f0218be065b956235f26f0 (diff) | |
download | elgg-47b98c613439ad61989f9f6e0b8d70fbf2201805.tar.gz elgg-47b98c613439ad61989f9f6e0b8d70fbf2201805.tar.bz2 |
removed a breadcrumb view when on the all page
git-svn-id: http://code.elgg.org/elgg/trunk@6288 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks')
-rw-r--r-- | mod/bookmarks/start.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php index 8cde50310..cab118063 100644 --- a/mod/bookmarks/start.php +++ b/mod/bookmarks/start.php @@ -106,8 +106,11 @@ function bookmarks_page_handler($page) { $logged_in_user = get_loggedin_user(); $section = (isset($page[1])) ? $page[1] : $section = 'items'; - elgg_push_breadcrumb(elgg_echo('bookmarks:all'), $CONFIG->wwwroot . 'pg/bookmarks/'); - + //don't show the all site bookmarks breadcrumb when on the all site bookmarks page + if(page_owner() != 0){ + elgg_push_breadcrumb(elgg_echo('bookmarks:all'), $CONFIG->wwwroot . 'pg/bookmarks/'); + } + if ($owner) { switch($section) { case 'friends': |