aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks/index.php')
-rw-r--r--mod/bookmarks/index.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/mod/bookmarks/index.php b/mod/bookmarks/index.php
index 55f854121..0b8508cc9 100644
--- a/mod/bookmarks/index.php
+++ b/mod/bookmarks/index.php
@@ -42,14 +42,14 @@ set_context('bookmarks');
//if the logged in user is not looking at their stuff, display the ownerblock
if(page_owner() != get_loggedin_user()->guid){
$area3 = elgg_view('bookmarks/ownerblock');
-}else{
- if(isloggedin()){
- // if logged in, get the bookmarklet
- $area3 .= elgg_view("bookmarks/bookmarklet");
- }
}
-//include a view for plugins to extend
-$area3 .= elgg_view("bookmarks/sidebar_options", array("object_type" => 'bookmarks'));
+// include a view for plugins to extend
+$area3 .= elgg_view("bookmarks/sidebar", array("object_type" => 'bookmarks'));
+
+if(isloggedin()){
+ // if logged in, get the bookmarklet
+ $area3 .= elgg_view("bookmarks/bookmarklet");
+}
// Format page
$body = elgg_view_layout('one_column_with_sidebar', $area1.$area2, $area3);