aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/layouts/index.php
blob: a73a0d7b17b29723ad6a0bfe33e6d08e226c14de (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
<?php
		$area1widgets = $vars['area1'];
		$area2widgets = $vars['area2'];
		$area3widgets = $vars['area3'];
		$layoutmode   = $vars['layoutmode']; //edit, index
?>

    <table cellspacing="10" cellpadding="10" width="100%" class="<?php echo elgg_echo($layoutmode); ?>">
      <tr>
        <td align="left" valign="top" class="half">
			<div id="leftcolumn_widgets" class="half_<?php echo elgg_echo($layoutmode); ?>_box">
			<?php custom_index_show_widget_area($area1widgets) ?>
			</div>
        </td>
        <td align="left" valign="top" class="half">
			<div id="middlecolumn_widgets" class="half_<?php echo elgg_echo($layoutmode); ?>_box">
			<?php custom_index_show_widget_area($area2widgets) ?>
			</div>
        </td>
      </tr>
	  <tr >
	  	<td colspan="2" align="left" valign="top" class="big">
			<div id="rightcolumn_widgets" class="big_<?php echo elgg_echo($layoutmode); ?>_box">
			<?php custom_index_show_widget_area($area3widgets) ?>
			</div>
        </td>
      </tr>
    </table>