aboutsummaryrefslogtreecommitdiff
path: root/mod/externalpages/views/default/expages/wrapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/externalpages/views/default/expages/wrapper.php')
-rw-r--r--mod/externalpages/views/default/expages/wrapper.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/mod/externalpages/views/default/expages/wrapper.php b/mod/externalpages/views/default/expages/wrapper.php
new file mode 100644
index 000000000..c579da1ba
--- /dev/null
+++ b/mod/externalpages/views/default/expages/wrapper.php
@@ -0,0 +1,16 @@
+<?php
+/**
+ * Wrapper for site pages content area
+ *
+ * @uses $vars['content']
+ */
+
+echo $vars['content'];
+
+echo '<div class="mtm">';
+echo elgg_view('output/url', array(
+ 'text' => elgg_echo('back'),
+ 'href' => $_SERVER['HTTP_REFERER'],
+ 'class' => 'float-alt'
+));
+echo '</div>';