diff options
Diffstat (limited to 'mod/reportedcontent')
-rw-r--r-- | mod/reportedcontent/views/default/reportedcontent/css.php | 9 | ||||
-rw-r--r-- | mod/reportedcontent/views/default/reportedcontent/footer_link.php | 8 |
2 files changed, 8 insertions, 9 deletions
diff --git a/mod/reportedcontent/views/default/reportedcontent/css.php b/mod/reportedcontent/views/default/reportedcontent/css.php index c66cd2004..ed498f03a 100644 --- a/mod/reportedcontent/views/default/reportedcontent/css.php +++ b/mod/reportedcontent/views/default/reportedcontent/css.php @@ -9,12 +9,9 @@ ?> /* Reported Content */ -#report_this { - text-align: left; - float:left; -} -#report_this a { +.report-this { font-size: 90%; - padding:0 0 4px 20px; +} +.report-this-icon { background: url(<?php echo elgg_get_site_url(); ?>mod/reportedcontent/graphics/icon_reportthis.gif) no-repeat left top; } diff --git a/mod/reportedcontent/views/default/reportedcontent/footer_link.php b/mod/reportedcontent/views/default/reportedcontent/footer_link.php index 69e6f0967..4e893522c 100644 --- a/mod/reportedcontent/views/default/reportedcontent/footer_link.php +++ b/mod/reportedcontent/views/default/reportedcontent/footer_link.php @@ -9,6 +9,8 @@ $title = elgg_echo('reportedcontent:this:tooltip'); $text = elgg_echo('reportedcontent:this'); ?> -<div id="report_this"> - <a href="javascript:location.href='<?php echo elgg_get_site_url(); ?>pg/reportedcontent/add/?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)" title="<?php echo $title; ?>"><?php echo $text; ?></a> -</div> + +<a class="report-this" href="javascript:location.href='<?php echo elgg_get_site_url(); ?>pg/reportedcontent/add/?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)" title="<?php echo $title; ?>"> + <span class="elgg-icon report-this-icon"></span> + <?php echo $text; ?> +</a> |