aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/elgg_footer.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page_elements/elgg_footer.php')
-rwxr-xr-xviews/default/page_elements/elgg_footer.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/views/default/page_elements/elgg_footer.php b/views/default/page_elements/elgg_footer.php
new file mode 100755
index 000000000..4113b84c7
--- /dev/null
+++ b/views/default/page_elements/elgg_footer.php
@@ -0,0 +1,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" target="_blank" class="powered_by_elgg_badge">
+ <img src="<?php echo $vars['url']; ?>_graphics/powered_by_elgg_badge_drk_bckgnd.gif" border="0" alt="Powered by Elgg" />
+ </a>
+ </div>
+</div>