aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/shells/two_column_left_sidebar.php
blob: d2dc81e38de1e01f003ffa7c41607fe2d56dde35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * Deprecated layout from 1.0-1.7
 *
 * Use one_sidebar instead
 */

if (!isset($vars['content'])) {
	$vars['content'] = $vars['area2'];
}
if (!isset($vars['content'])) {
	$vars['sidebar'] = $vars['area1'] . $vars['area3'];
}

unset($vars['area1']);
unset($vars['area2']);
unset($vars['area3']);

echo elgg_view('layout/shells/one_sidebar', $vars);