aboutsummaryrefslogtreecommitdiff
path: root/views/default/annotation
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-05 22:29:24 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-05 22:29:24 +0000
commit89ce06e66737761f99949a32729f5a759630ce49 (patch)
treeeeeb44068b41a17d1fa29b24a1f76353bf0c407f /views/default/annotation
parent89cb69c643fc244bad8836a044cf47a719afb6e9 (diff)
downloadelgg-89ce06e66737761f99949a32729f5a759630ce49.tar.gz
elgg-89ce06e66737761f99949a32729f5a759630ce49.tar.bz2
cleared up confusion over elgg-icon-delete and elgg-button-delete
git-svn-id: http://code.elgg.org/elgg/trunk@8594 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/annotation')
-rw-r--r--views/default/annotation/default.php6
-rw-r--r--views/default/annotation/generic_comment.php6
-rw-r--r--views/default/annotation/likes.php6
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