aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/shells/one_column.php
blob: ab6a248785cea1cd6517a32234694abe8f958a92 (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
<?php
/**
 * Elgg one-column layout
 *
 * @package Elgg
 * @subpackage Core
 *
 * @uses $vars['content'] Content string
 * @uses $vars['class']   Additional class to apply to layout
 */

$class = 'elgg-inner clearfix';
if (isset($vars['class'])) {
	$class = "$class {$vars['class']}";
}
?>
<div class="<?php echo $class; ?>" id="elgg-layout-one-column">
	<div class="elgg-body">
	<?php echo $vars['content']; ?>
	<?php
		// @deprecated 1.8
		echo $vars['area1'];
	?>
	</div>
</div>