$header"; } } else { $header = "

$title

"; } $body_class = 'elgg-body'; $additional_class = elgg_get_array_value('body_class', $vars, ''); if ($additional_class) { $body_class = "$body_class $additional_class"; } $body = "
$body
"; $footer_class = 'elgg-footer'; $additional_class = elgg_get_array_value('footer_class', $vars, ''); if ($additional_class) { $body_class = "$footer_class $additional_class"; } if (isset($vars['footer'])) { if ($vars['footer']) { $header = "
$footer
"; } } $contents = $header . $body . $footer; if (!$skip_inner) { $contents = "
$contents
"; } echo "
$contents
";