aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-12 15:22:22 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-12 15:22:22 +0000
commit49fe734e980b14ca2a0506a4787c3e3dca3373ef (patch)
tree3a75b705c32b9e2ee8fb180d7d429b9b73eb1db4
parent3a74f3ad8c5b566f1f0eecd420056dc86110c501 (diff)
downloadelgg-49fe734e980b14ca2a0506a4787c3e3dca3373ef.tar.gz
elgg-49fe734e980b14ca2a0506a4787c3e3dca3373ef.tar.bz2
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
-rw-r--r--views/default/page_elements/owner_block.php13
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