diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-04-22 13:41:16 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-04-22 13:41:16 +0000 |
commit | d99f1028ce873ab99c345dcea5b4fba67d73203d (patch) | |
tree | 7e197feb9c0c7f23335efae81ba35cc31d22a098 /mod/groups/views/default/forum/topicposts.php | |
parent | 83ea3afb81f7f22006a1fde881ed73d155fee40f (diff) | |
download | elgg-d99f1028ce873ab99c345dcea5b4fba67d73203d.tar.gz elgg-d99f1028ce873ab99c345dcea5b4fba67d73203d.tar.bz2 |
Closes #957: Groups topics now handle deleted users, I recommend that people look at what I've done and handle deleted users in a similar way in their plugins.
git-svn-id: https://code.elgg.org/elgg/trunk@3226 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default/forum/topicposts.php')
-rw-r--r-- | mod/groups/views/default/forum/topicposts.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/groups/views/default/forum/topicposts.php b/mod/groups/views/default/forum/topicposts.php index fbfb7264f..a9afd87ca 100644 --- a/mod/groups/views/default/forum/topicposts.php +++ b/mod/groups/views/default/forum/topicposts.php @@ -31,8 +31,9 @@ //display the user name
echo "<p><b>" . $post_owner->name . "</b><br />";
- } else {
- echo "<p>";
+ } else { + echo "<div class=\"post_icon\"><img src=\"" . elgg_view('icon/user/default/small') . "\" /></div>";
+ echo "<p><b>" . elgg_echo('profile:deleteduser') . "</b><br />";
}
//display the date of the comment
|