diff options
Diffstat (limited to 'views/default/page_elements')
-rw-r--r-- | views/default/page_elements/owner_block.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php index 04722cbdd..021b058f9 100644 --- a/views/default/page_elements/owner_block.php +++ b/views/default/page_elements/owner_block.php @@ -56,6 +56,19 @@ END;
}
+ //is the bookmark plugin installed?
+ if(is_plugin_enabled('bookmarks')){
+
+ $label3 = elgg_echo('bookmarks:this');
+ echo "<div id=\"owner_block_bookmark_this\"><a href=\"javascript:location.href='". $CONFIG->wwwroot . "mod/bookmarks/add.php?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\">{$label3}</a></div>";
+
+ }
+
+ //report this button
+ $label4 = elgg_echo('Report this');
+ echo "<div id=\"owner_block_report_this\"><a href=\"\">{$label4}</a></div>";
+
+
echo elgg_view('owner_block/extend');
// Have we been asked to inject any content? If so, display it
|