Elgg  Version 2.3
one_column.php
Go to the documentation of this file.
1 <?php
16 $class = 'elgg-layout elgg-layout-one-column clearfix';
17 if (isset($vars['class'])) {
18  $class = "$class {$vars['class']}";
19 }
20 
21 ?>
22 <div class="<?php echo $class; ?>">
23  <div class="elgg-body elgg-main">
24  <?php
25  echo elgg_extract('nav', $vars, elgg_view('navigation/breadcrumbs'));
26 
27  echo elgg_view('page/layouts/elements/header', $vars);
28 
29  echo $vars['content'];
30 
31  // @deprecated 1.8
32  if (isset($vars['area1'])) {
33  echo $vars['area1'];
34  }
35 
36  echo elgg_view('page/layouts/elements/footer', $vars);
37  ?>
38  </div>
39 </div>
$vars['entity']
fieldset div
Definition: admin.css.php:485
elgg echo
Translates a string.
Definition: languages.js:48
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:336
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:1375
$class
Definition: one_column.php:16