aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 23:46:40 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 23:46:40 +0000
commite6625c106e1bb8f0a62f6fae2f8e0e1fa3bdc394 (patch)
treedc88b7823ef6ae8692160b67235f87a00be382d8 /mod
parent1f601b88cb4a7ab4cfcbca1dc82df4acf7d9caa5 (diff)
downloadelgg-e6625c106e1bb8f0a62f6fae2f8e0e1fa3bdc394.tar.gz
elgg-e6625c106e1bb8f0a62f6fae2f8e0e1fa3bdc394.tar.bz2
Converted report-this icon to be compatible with elgg_view_icon
git-svn-id: http://code.elgg.org/elgg/trunk@8482 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/reportedcontent/start.php2
-rw-r--r--mod/reportedcontent/views/default/reportedcontent/css.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/reportedcontent/start.php b/mod/reportedcontent/start.php
index e4b2f5852..f89b01f2b 100644
--- a/mod/reportedcontent/start.php
+++ b/mod/reportedcontent/start.php
@@ -29,7 +29,7 @@ function reportedcontent_init() {
'name' => 'report_this',
'href' => $href,
'title' => elgg_echo('reportedcontent:this:tooltip'),
- 'text' => '<span class="elgg-icon report-this-icon"></span>' . elgg_echo('reportedcontent:this'),
+ 'text' => elgg_view_icon('report-this') . elgg_echo('reportedcontent:this'),
'section' => 'alt',
'weight' => 500,
));
diff --git a/mod/reportedcontent/views/default/reportedcontent/css.php b/mod/reportedcontent/views/default/reportedcontent/css.php
index 718777400..da88ecf70 100644
--- a/mod/reportedcontent/views/default/reportedcontent/css.php
+++ b/mod/reportedcontent/views/default/reportedcontent/css.php
@@ -9,6 +9,6 @@
?>
/* Reported Content */
-.report-this-icon {
+.elgg-icon-report-this {
background: url(<?php echo elgg_get_site_url(); ?>mod/reportedcontent/graphics/icon_reportthis.gif) no-repeat left top;
}