aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/canvas/layouts')
-rw-r--r--views/default/canvas/layouts/one_column.php15
-rw-r--r--views/default/canvas/layouts/two_column.php15
-rw-r--r--views/default/canvas/layouts/widgets.php42
3 files changed, 72 insertions, 0 deletions
diff --git a/views/default/canvas/layouts/one_column.php b/views/default/canvas/layouts/one_column.php
index 14b8ebae1..12b31aa4e 100644
--- a/views/default/canvas/layouts/one_column.php
+++ b/views/default/canvas/layouts/one_column.php
@@ -1,3 +1,18 @@
+<?php
+
+ /**
+ * Elgg one-column layout
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+?>
+
<!-- main content -->
<div id="layout_maincontent">
<div id="wrapper_maincontent">
diff --git a/views/default/canvas/layouts/two_column.php b/views/default/canvas/layouts/two_column.php
index 83a690469..9b1cfd17c 100644
--- a/views/default/canvas/layouts/two_column.php
+++ b/views/default/canvas/layouts/two_column.php
@@ -1,3 +1,18 @@
+<?php
+
+ /**
+ * Elgg two-column layout
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+?>
+
<!-- right sidebar -->
<div id="layout_sidebar_right">
<div id="wrapper_sidebar_right">
diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php
index e69de29bb..e52cc3f08 100644
--- a/views/default/canvas/layouts/widgets.php
+++ b/views/default/canvas/layouts/widgets.php
@@ -0,0 +1,42 @@
+<?php
+
+ /**
+ * Elgg widget layout
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+?>
+
+<!-- right sidebar -->
+<div id="layout_sidebar_right">
+<div id="wrapper_sidebar_right">
+
+
+ <?php echo $vars['area2']; ?>
+
+
+</div><!-- /#wrapper_sidebar_right -->
+<p></p><!-- necessary to avoid an ie7 bug? -->
+</div><!-- /#layout_sidebar_right -->
+
+
+<!-- main content -->
+<div id="layout_maincontent" class="has_sidebar_right">
+<div id="wrapper_maincontent">
+
+
+ <?php echo $vars['area1']; ?>
+
+
+</div><!-- /#wrapper_maincontent -->
+<p></p><!-- necessary to avoid an ie7 bug? -->
+</div><!-- /#layout_maincontent -->
+
+<!-- This clearing element should immediately follow the #layout_maincontent to force the #container to contain all child floats -->
+<div class="clearfloat"></div> \ No newline at end of file