diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-19 18:19:38 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-19 18:19:38 +0000 |
commit | f2c8ab97778a4cc8c649f2e213d0eee7499357b8 (patch) | |
tree | 688f2dd390c60764c8fea582634ae9c9cb4d2094 /mod/reportedcontent/views/default | |
parent | fc0a25bc8f744a4e1b738ed7779726d1230aaa3f (diff) | |
download | elgg-f2c8ab97778a4cc8c649f2e213d0eee7499357b8.tar.gz elgg-f2c8ab97778a4cc8c649f2e213d0eee7499357b8.tar.bz2 |
cleaning up the page footer - still need to add css for footer menu
git-svn-id: http://code.elgg.org/elgg/trunk@7685 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/reportedcontent/views/default')
-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> |