aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/layouts/one_column.php
blob: c59a574e7d7eb1bd4a648b14fcd0c35bbc5573c5 (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-layout elgg-layout-one-column clearfix';
if (isset($vars['class'])) {
	$class = "$class {$vars['class']}";
}
?>
<div class="<?php echo $class; ?>">
	<div class="elgg-body">
	<?php echo $vars['content']; ?>
	<?php
		// @deprecated 1.8
		echo $vars['area1'];
	?>
	</div>
</div>