Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
layouts
two_sidebar.php
Go to the documentation of this file.
1
<?php
18
$class
=
'elgg-layout elgg-layout-two-sidebar clearfix'
;
19
if
(isset(
$vars
[
'class'
])) {
20
$class
=
"$class {$vars['class']}"
;
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
<
div
class
=
"elgg-sidebar-alt"
>
31
<?php
32
echo
elgg_view
(
'page/elements/sidebar_alt'
,
$vars
);
33
?>
34
</div>
35
36
<div
class
=
"elgg-main elgg-body"
>
37
<?php
38
echo
elgg_extract
(
'nav'
,
$vars
,
elgg_view
(
'navigation/breadcrumbs'
));
39
40
echo
elgg_view
(
'page/layouts/elements/header'
,
$vars
);
41
42
echo
$vars
[
'content'
];
43
44
// @deprecated 1.8
45
if
(isset($vars[
'area1'
])) {
46
echo
$vars[
'area1'
];
47
}
48
49
echo
elgg_view
(
'page/layouts/elements/footer'
, $vars);
50
?>
51
</div>
52
</div>
$class
$class
Definition:
two_sidebar.php:18
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
$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