Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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>';
$class
Definition: default.php:26
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition: default.php:24
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:1310