diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-05-20 02:16:09 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-05-20 02:16:09 +0000 |
commit | c88d043b487a1b26a0a09bc420d20bd109e2bd3a (patch) | |
tree | 99e71f441435cfa7b311092c79115bc1961a1202 /views/default/annotation/generic_comment.php | |
parent | 9850f323a5fe899814201b0354712644f8e80092 (diff) | |
download | elgg-c88d043b487a1b26a0a09bc420d20bd109e2bd3a.tar.gz elgg-c88d043b487a1b26a0a09bc420d20bd109e2bd3a.tar.bz2 |
Fixes #3457 showing a snippet of a comment in sidebar instead of entire comment
git-svn-id: http://code.elgg.org/elgg/trunk@9107 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/annotation/generic_comment.php')
-rw-r--r-- | views/default/annotation/generic_comment.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/annotation/generic_comment.php b/views/default/annotation/generic_comment.php index 4a3407e1a..69520d102 100644 --- a/views/default/annotation/generic_comment.php +++ b/views/default/annotation/generic_comment.php @@ -63,9 +63,11 @@ HTML; $on = elgg_echo('on'); + $excerpt = elgg_get_excerpt($comment->value, 80); + $body = <<<HTML <span class="elgg-subtext"> - $commenter_link $on $entity_link ($friendlytime) + $commenter_link $on $entity_link ($friendlytime): $excerpt </span> HTML; |