aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/elgg_footer.php
blob: 708d240befe007d3951c1c1556c59829a470ac23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
 * Elgg footer
 * The standard HTML footer that displays across the site
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 *
 */

?>
<div id="elgg_footer">
	<div id="elgg_footer_contents">
		<?php
			if(is_plugin_enabled('reportedcontent') && isloggedin()){
		?>
			<div id="report_this">
				<a href="javascript:location.href='<?php echo $vars['url']; ?>mod/reportedcontent/add.php?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)">Report this</a>				
			</div>
		<?php
			}
		?>
		<?php echo elgg_view('footer/links'); ?>
		<a href="http://www.elgg.org" class="powered_by_elgg_badge">
			<img src="<?php echo $vars['url']; ?>_graphics/powered_by_elgg_badge_drk_bckgnd.gif" alt="Powered by Elgg" />
		</a>
	</div>
</div>