aboutsummaryrefslogtreecommitdiff
path: root/views/default/annotation/generic_comment.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/annotation/generic_comment.php')
-rw-r--r--views/default/annotation/generic_comment.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/annotation/generic_comment.php b/views/default/annotation/generic_comment.php
index bcf71f090..2dcf7fefd 100644
--- a/views/default/annotation/generic_comment.php
+++ b/views/default/annotation/generic_comment.php
@@ -35,10 +35,10 @@ if ($full_view) {
$url = "action/comments/delete?annotation_id=$comment->id";
$delete_button = elgg_view("output/confirmlink", array(
'href' => $url,
- 'text' => elgg_echo('delete'),
- 'confirm' => elgg_echo('deleteconfirm')
+ 'text' => "<span class=\"elgg-icon elgg-icon-delete right\"></span>",
+ 'confirm' => elgg_echo('deleteconfirm'),
+ 'text_encode' => false,
));
- $delete_button = "<span class=\"elgg-button elgg-button-delete\">$delete_button</span>";
}
$comment_text = elgg_view("output/longtext", array("value" => $comment->value));