aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/views/default/reportedcontent/user_report.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-12 21:25:57 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-12 21:25:57 +0000
commitf1230a2c6b8bf0586447e4f9bad2089b7cc3b8bf (patch)
tree96e13233a5635166126b0fccf06a110edda79ca7 /mod/reportedcontent/views/default/reportedcontent/user_report.php
parent70d21050c08ddf8ee5253b6e6cd6c16fa125ef74 (diff)
downloadelgg-f1230a2c6b8bf0586447e4f9bad2089b7cc3b8bf.tar.gz
elgg-f1230a2c6b8bf0586447e4f9bad2089b7cc3b8bf.tar.bz2
report content added as a core plugin. Still needs a couple of bits wired up.
git-svn-id: https://code.elgg.org/elgg/trunk@1867 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/reportedcontent/views/default/reportedcontent/user_report.php')
-rw-r--r--mod/reportedcontent/views/default/reportedcontent/user_report.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/reportedcontent/views/default/reportedcontent/user_report.php b/mod/reportedcontent/views/default/reportedcontent/user_report.php
new file mode 100644
index 000000000..6077ca620
--- /dev/null
+++ b/mod/reportedcontent/views/default/reportedcontent/user_report.php
@@ -0,0 +1,6 @@
+
+<p class="user_menu_profile">
+<?php
+ echo "<a href=\"javascript:location.href='". $CONFIG->wwwroot . "mod/reportedcontent/add.php?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\">" . elgg_echo('reportedcontent:report') . "</a>";
+?>
+</p> \ No newline at end of file