aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas/layouts/one_column_with_sidebar.php
blob: d7271c9c3706264fddd430ed31600d58db9c0d1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/**
 * Elgg 2 column left sidebar canvas layout
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 */
?>
<div id="elgg_content" class="clearfloat sidebar">
	<div id="elgg_sidebar">
		<?php 
			echo elgg_view('page_elements/owner_block'); 
			if (isset($vars['area2'])) echo $vars['area2']; 
			if (isset($vars['area3'])) echo $vars['area3'];	
		?>
	</div>
	
	<div id="elgg_page_contents" class="clearfloat">
		<?php 
			if (isset($vars['area1'])) echo $vars['area1'];
		?>
	</div>
</div>