aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas/layouts/two_column_right_sidebar.php
blob: ab38e6529130927ec7ffcdab1138480d22e7ab84 (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
<?php

	/**
	 * Elgg 2 column right sidebar canvas layout
	 * 
	 * @package Elgg
	 * @subpackage Core
	 * @author Curverider Ltd
	 * @link http://elgg.org/
	 */

?>
<!-- main content -->
<div id="two_column_right_sidebar_maincontent">

<?php

    	echo elgg_view('page_elements/owner_block',array('content' => $vars['area1']));
    	if (isset($vars['area2'])) echo $vars['area2']; ?>

</div><!-- /two_column_right_sidebar_maincontent -->

<!-- right sidebar -->
<div id="two_column_right_sidebar">

<?php if (isset($vars['area1'])) echo $vars['area1']; ?>

</div><!-- /two_column_right_sidebar -->