From 49fe734e980b14ca2a0506a4787c3e3dca3373ef Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 12 Aug 2008 15:22:22 +0000 Subject: bookmark this and report this (still to be wired up) added to the owner block git-svn-id: https://code.elgg.org/elgg/trunk@1857 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page_elements/owner_block.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 "
wwwroot . "mod/bookmarks/add.php?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\">{$label3}
"; + + } + + //report this button + $label4 = elgg_echo('Report this'); + echo "
{$label4}
"; + + echo elgg_view('owner_block/extend'); // Have we been asked to inject any content? If so, display it -- cgit v1.2.3