aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/shells/one_column.php
blob: ff0070e183ab83ac6b4ee974e1ea376340d17a60 (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-one-column elgg-center elgg-width-classic 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>