blob: 491d5b4593ae3e89e7a3f0f2d790df0f9f9aa00b (
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
|
<?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']}";
}
// navigation defaults to breadcrumbs
$nav = elgg_extract('nav', $vars, elgg_view('navigation/breadcrumbs'));
?>
<div class="<?php echo $class; ?>">
<div class="elgg-body elgg-main">
<?php
echo $nav;
if (isset($vars['title'])) {
echo elgg_view_title($vars['title']);
}
echo $vars['content'];
// @deprecated 1.8
if (isset($vars['area1'])) {
echo $vars['area1'];
}
?>
</div>
</div>
|