aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/shells/one_sidebar.php
blob: 2e78b0de6442b62a44d5879771657e511094fac7 (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
26
27
28
29
30
31
<?php
/**
 * Elgg main column with one sidebar layout
 *
 * @package Elgg
 * @subpackage Core
 *
 * @uses $vars['body']    Content HTML for the main column
 * @uses $vars['sidebar'] Optional content that is displayed in the sidebar
 */
?>

<div class="elgg-layout-sidebar elgg-center elgg-width-classic clearfix">
	<div class="elgg-sidebar elgg-aside">
		<?php
			echo elgg_view('layout/elements/sidebar', $vars);
		?>
	</div>

	<div class="elgg-main elgg-body">
		<?php
			// @todo deprecated so remove in Elgg 2.0
			if (isset($vars['area1'])) {
				echo $vars['area1'];
			}
			if (isset($vars['body'])) {
				echo $vars['body'];
			}
		?>
	</div>
</div>