diff options
Diffstat (limited to 'views/default/annotation')
-rw-r--r-- | views/default/annotation/default.php | 6 | ||||
-rw-r--r-- | views/default/annotation/generic_comment.php | 6 | ||||
-rw-r--r-- | views/default/annotation/likes.php | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/views/default/annotation/default.php b/views/default/annotation/default.php index acad271f7..a21fdee51 100644 --- a/views/default/annotation/default.php +++ b/views/default/annotation/default.php @@ -29,10 +29,10 @@ if ($delete_action && $annotation->canEdit()) { )); $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>"; } $body = <<<HTML 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)); diff --git a/views/default/annotation/likes.php b/views/default/annotation/likes.php index 2d6a2fec5..e1ae20818 100644 --- a/views/default/annotation/likes.php +++ b/views/default/annotation/likes.php @@ -29,10 +29,10 @@ $friendlytime = elgg_view_friendly_time($like->time_created); if ($like->canEdit()) { $delete_button = elgg_view("output/confirmlink",array( 'href' => "action/likes/delete?annotation_id={$like->id}", - '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>"; } $body = <<<HTML |