aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/layouts/one_column.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page/layouts/one_column.php')
-rw-r--r--views/default/page/layouts/one_column.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/views/default/page/layouts/one_column.php b/views/default/page/layouts/one_column.php
new file mode 100644
index 000000000..ab6a24878
--- /dev/null
+++ b/views/default/page/layouts/one_column.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Elgg one-column layout
+ *
+ * @package Elgg
+ * @subpackage Core
+ *
+ * @uses $vars['content'] Content string
+ * @uses $vars['class'] Additional class to apply to layout
+ */
+
+$class = 'elgg-inner clearfix';
+if (isset($vars['class'])) {
+ $class = "$class {$vars['class']}";
+}
+?>
+<div class="<?php echo $class; ?>" id="elgg-layout-one-column">
+ <div class="elgg-body">
+ <?php echo $vars['content']; ?>
+ <?php
+ // @deprecated 1.8
+ echo $vars['area1'];
+ ?>
+ </div>
+</div> \ No newline at end of file