]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Converted report-this icon to be compatible with elgg_view_icon
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 25 Feb 2011 23:46:40 +0000 (23:46 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 25 Feb 2011 23:46:40 +0000 (23:46 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8482 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/reportedcontent/start.php
mod/reportedcontent/views/default/reportedcontent/css.php

index e4b2f585294c32331d7c8288450af575c21b009b..f89b01f2b87ae679d1bd251b5703162c89eaf3dc 100644 (file)
@@ -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,
                ));
index 718777400d15618c9e7512c465b4498c3207cea5..da88ecf702b5ef89ea54c3ad78eb31cbabcd41bd 100644 (file)
@@ -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;
 }