aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas/layouts/two_column_right_sidebar.php
blob: efa8c25a613964513c6dedb171dbd33c12956856 (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 2 column right sidebar canvas layout
	 * 
	 * @package Elgg
	 * @subpackage Core
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Curverider Ltd
	 * @copyright Curverider Ltd 2008-2009
	 * @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 -->