From 47b98c613439ad61989f9f6e0b8d70fbf2201805 Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 29 May 2010 10:19:07 +0000 Subject: removed a breadcrumb view when on the all page git-svn-id: http://code.elgg.org/elgg/trunk@6288 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/bookmarks/start.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mod/bookmarks') 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': -- cgit v1.2.3