aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-22 01:56:52 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-22 01:56:52 +0000
commit512586af6f4c57e42b2bd94b9171bfef4300d402 (patch)
treecc041c25c4da9dc641c2a8a092bcdc4b78eadcaa /views/default/layout
parent376eaec4d23f72ad66027325e07461919814177a (diff)
downloadelgg-512586af6f4c57e42b2bd94b9171bfef4300d402.tar.gz
elgg-512586af6f4c57e42b2bd94b9171bfef4300d402.tar.bz2
added the two_column_left_sidebar layout back so that plugins from 1.7 work with 1.8
git-svn-id: http://code.elgg.org/elgg/trunk@7891 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout')
-rw-r--r--views/default/layout/shells/two_column_left_sidebar.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/views/default/layout/shells/two_column_left_sidebar.php b/views/default/layout/shells/two_column_left_sidebar.php
new file mode 100644
index 000000000..0df5109ee
--- /dev/null
+++ b/views/default/layout/shells/two_column_left_sidebar.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Deprecated layout from 1.0-1.7
+ *
+ * Use one_sidebar instead
+ */
+
+$vars['content'] = $vars['area2'];
+$vars['sidebar'] = $vars['area1'] . $vars['area3'];
+
+unset($vars['area1']);
+unset($vars['area2']);
+unset($vars['area3']);
+
+echo elgg_view('layout/shells/one_sidebar', $vars);