aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/all.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks/all.php')
-rw-r--r--mod/bookmarks/all.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/mod/bookmarks/all.php b/mod/bookmarks/all.php
index 6b81378a7..88258c855 100644
--- a/mod/bookmarks/all.php
+++ b/mod/bookmarks/all.php
@@ -20,13 +20,14 @@ set_context('search');
$area2 .= list_entities('object','bookmarks');
set_context('bookmarks');
+// include a view for plugins to extend
+$area3 = elgg_view("bookmarks/sidebar", array("object_type" => 'bookmarks'));
+
// if logged in, get the bookmarklet
-if(isloggedin()){
- $area3 = elgg_view("bookmarks/bookmarklet");
+if(isloggedin()){
+ $area3 .= elgg_view("bookmarks/bookmarklet");
}
-//include a view for plugins to extend
-$area3 .= elgg_view("bookmarks/sidebar_options", array("object_type" => 'bookmarks'));
-//include stats
+// include statistics
$area3 .= elgg_view("bookmarks/stats");
// Format page
$body = elgg_view_layout('one_column_with_sidebar', $area1.$area2, $area3);