blob: e98d2f99a3851699c4dbb24ef49e9a0cc04a7457 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
<?php
/**
* Elgg widget 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
* @link http://elgg.org/
*/
?>
<!-- right sidebar -->
<div id="layout_sidebar_right">
<div id="wrapper_sidebar_right">
<?php echo $vars['area2']; ?>
<?php
if ($widgets = get_widgets(page_owner(),get_context(),2)) {
foreach($widgets as $widget) {
echo elgg_view_entity($widget);
}
}
?>
</div><!-- /#wrapper_sidebar_right -->
<p></p><!-- necessary to avoid an ie7 bug? -->
</div><!-- /#layout_sidebar_right -->
<!-- main content -->
<div id="layout_maincontent" class="has_sidebar_right">
<div id="wrapper_maincontent">
<?php echo $vars['area1']; ?>
<?php
if ($widgets = get_widgets(page_owner(),get_context(),1)) {
foreach($widgets as $widget) {
echo elgg_view_entity($widget);
}
}
?>
</div><!-- /#wrapper_maincontent -->
<p></p><!-- necessary to avoid an ie7 bug? -->
</div><!-- /#layout_maincontent -->
<!-- This clearing element should immediately follow the #layout_maincontent to force the #container to contain all child floats -->
<div class="clearfloat"></div>
|