Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
layouts
one_sidebar.php
Go to the documentation of this file.
1
<?php
17
$class
=
'elgg-layout elgg-layout-one-sidebar clearfix'
;
18
if
(isset(
$vars
[
'class'
])) {
19
$class
=
"$class {$vars['class']}"
;
20
}
21
22
?>
23
24
<
div
class
=
"<?php echo $class; ?>"
>
25
<
div
class
=
"elgg-sidebar"
>
26
<?php
27
echo
elgg_view
(
'page/elements/sidebar'
,
$vars
);
28
?>
29
</
div
>
30
31
<
div
class
=
"elgg-main elgg-body"
>
32
<?php
33
echo
elgg_extract
(
'nav'
,
$vars
,
elgg_view
(
'navigation/breadcrumbs'
));
34
35
echo
elgg_view
(
'page/layouts/elements/header'
,
$vars
);
36
37
// @todo deprecated so remove in Elgg 2.0
38
if
(isset(
$vars
[
'area1'
])) {
39
echo
$vars
[
'area1'
];
40
}
41
if
(isset(
$vars
[
'content'
])) {
42
echo
$vars
[
'content'
];
43
}
44
45
echo
elgg_view
(
'page/layouts/elements/footer'
,
$vars
);
46
?>
47
</div>
48
</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_sidebar.php:17
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11