aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default/profile/profile_contents
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-29 13:12:24 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-29 13:12:24 +0000
commita7add808c43b0758a90791359bed0c075b0c35e6 (patch)
treed9a752f5caa5503fc484a06d3e973173be1b1b1a /mod/profile/views/default/profile/profile_contents
parentb77d118819ec7b31a399326c166a3681fb20d9da (diff)
downloadelgg-a7add808c43b0758a90791359bed0c075b0c35e6.tar.gz
elgg-a7add808c43b0758a90791359bed0c075b0c35e6.tar.bz2
simple comment wall added to profiles
git-svn-id: http://code.elgg.org/elgg/trunk@5537 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views/default/profile/profile_contents')
-rw-r--r--mod/profile/views/default/profile/profile_contents/commentwall.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/mod/profile/views/default/profile/profile_contents/commentwall.php b/mod/profile/views/default/profile/profile_contents/commentwall.php
new file mode 100644
index 000000000..c13c16331
--- /dev/null
+++ b/mod/profile/views/default/profile/profile_contents/commentwall.php
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Elgg profile comment wall
+ */
+?>
+<div id="profile_content">
+<?php
+if(isloggedin()){
+ echo elgg_view("profile/commentwall/commentwalladd");
+}
+echo elgg_view("profile/commentwall/commentwall", array('annotation' => $vars['comments']));
+?>
+</div> \ No newline at end of file