Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
layouts
two_column_left_sidebar.php
Go to the documentation of this file.
1
<?php
8
if
(!isset(
$vars
[
'content'
])) {
9
$vars
[
'content'
] =
$vars
[
'area2'
];
10
}
11
if
(!isset(
$vars
[
'content'
])) {
12
$vars
[
'sidebar'
] =
$vars
[
'area1'
] .
$vars
[
'area3'
];
13
}
14
15
unset(
$vars
[
'area1'
]);
16
unset(
$vars
[
'area2'
]);
17
unset(
$vars
[
'area3'
]);
18
19
// backward compatability support for plugins that are not using the new approach
20
// of routing through 'admin'
21
if
(
elgg_get_context
() ==
'admin'
) {
22
echo
elgg_view
(
'page/layouts/admin'
,
$vars
);
23
return
true
;
24
}
25
26
echo
elgg_view
(
'page/layouts/one_sidebar'
,
$vars
);
echo
elgg echo
Translates a string.
Definition:
languages.js:43
elgg_get_context
elgg_get_context()
Get the current context.
Definition:
pageowner.php:226
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