Elgg
Version 2.3
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
>
$vars
$vars['entity']
Definition:
plugin_settings.php:15
div
fieldset div
Definition:
admin.css.php:485
echo
elgg echo
Translates a string.
Definition:
languages.js:48
elgg_view
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:336
elgg_extract
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition:
elgglib.php:1375
$class
$class
Definition:
one_column.php:16
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11