aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas/layouts/two_column_right_sidebar.php
blob: fb561dd43495e437999d5ad9f4fb2ae72e86c29b (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
<?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_left_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']; ?>

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

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