Elgg
Version 2.3
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
);
$vars
$vars['entity']
Definition:
plugin_settings.php:15
echo
elgg echo
Translates a string.
Definition:
languages.js:48
elgg_get_context
elgg_get_context()
Get the current context.
Definition:
pageowner.php:204
elgg_view
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:336
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11