Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
layouts
one_column.php
Go to the documentation of this file.
1
<?php
16
$class
=
'elgg-layout elgg-layout-one-column clearfix'
;
17
if
(isset(
$vars
[
'class'
])) {
18
$class
=
"$class {$vars['class']}"
;
19
}
20
21
?>
22
<
div
class
=
"<?php echo $class; ?>"
>
23
<
div
class
=
"elgg-body elgg-main"
>
24
<?php
25
echo
elgg_extract
(
'nav'
,
$vars
,
elgg_view
(
'navigation/breadcrumbs'
));
26
27
echo
elgg_view
(
'page/layouts/elements/header'
,
$vars
);
28
29
echo
$vars
[
'content'
];
30
31
// @deprecated 1.8
32
if
(isset($vars[
'area1'
])) {
33
echo
$vars[
'area1'
];
34
}
35
36
echo
elgg_view
(
'page/layouts/elements/footer'
, $vars);
37
?>
38
</
div
>
39
</
div
>
elgg_extract
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition:
elgglib.php:1464
div
fieldset div
Definition:
admin.php:462
echo
elgg echo
Translates a string.
Definition:
languages.js:43
elgg_view
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:354
$class
$class
Definition:
one_column.php:16
$vars
if(file_exists($welcome)) $vars
Definition:
upgrade.php:93
Generated on Sat Dec 21 2024 00:00:36 for Elgg by
1.8.11