aboutsummaryrefslogtreecommitdiff
path: root/views/default/layouts/default.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/layouts/default.php')
-rw-r--r--views/default/layouts/default.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/views/default/layouts/default.php b/views/default/layouts/default.php
new file mode 100644
index 000000000..60dc90b0d
--- /dev/null
+++ b/views/default/layouts/default.php
@@ -0,0 +1,18 @@
+<?php
+/**
+ * Elgg default layout
+ *
+ * @package Elgg
+ * @subpackage Core
+ *
+ * @uses $vars['content'] Content string
+ */
+
+// @todo deprecated so remove in Elgg 2.0
+if (isset($vars['area1'])) {
+ echo $vars['area1'];
+}
+
+if (isset($vars['content'])) {
+ echo $vars['content'];
+}