Elgg
Version 1.11
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
layouts
default.php
Go to the documentation of this file.
1
<?php
16
$class
=
'elgg-layout elgg-layout-default clearfix'
;
17
if
(isset(
$vars
[
'class'
])) {
18
$class
=
"$class {$vars['class']}"
;
19
}
20
21
echo
"<div class=\"$class\">"
;
22
23
echo
elgg_extract
(
'nav'
,
$vars
,
elgg_view
(
'navigation/breadcrumbs'
));
24
25
echo
elgg_view
(
'page/layouts/elements/header'
,
$vars
);
26
27
echo
$vars
[
'content'
];
28
29
// @deprecated 1.8
30
if
(isset($vars[
'area1'
])) {
31
echo
$vars[
'area1'
];
32
}
33
34
echo
elgg_view
(
'page/layouts/elements/footer'
, $vars);
35
36
echo
'</div>'
;
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:1246
$class
$class
Definition:
default.php:25
echo
elgg echo
Translates a string.
Definition:
languages.js:43
$vars
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition:
default.php:23
elgg_view
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:354
Generated on Fri Oct 11 2024 00:00:53 for Elgg by
1.8.11