aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas/layouts/one_column_with_sidebar.php
blob: dff45a452f28c153bca6c66b7c3a7b61ac422eb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * Elgg 1 column with sidebar canvas layout
 *
 * @package Elgg
 * @subpackage Core
 */
?>
<div id="elgg_content" class="clearfix sidebar">
	<div id="elgg_sidebar">
		<?php
			echo elgg_view('page_elements/sidebar', $vars);
		?>
	</div>
	
	<div id="elgg_page_contents" class="clearfix">
		<?php 
			if (isset($vars['area1'])) {
				echo $vars['area1'];
			}
		?>
	</div>
</div>