aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas/layouts/one_column_with_sidebar.php
blob: b7efee4d064b81a0c5aa888210c57a6c6ce03837 (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="clearfloat sidebar">
	<div id="elgg_sidebar">
		<?php
			echo elgg_view('page_elements/elgg_sidebar', $vars);
		?>
	</div>
	
	<div id="elgg_page_contents" class="clearfloat">
		<?php 
			if (isset($vars['area1'])) {
				echo $vars['area1'];
			}
		?>
	</div>
</div>