error.php 358 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * Error layout
  4. *
  5. * @uses $vars['content'] Main content area
  6. * @uses $vars['title'] Optional title string
  7. * @uses $vars['class'] Additional class for the layout
  8. */
  9. $class = 'elgg-layout-error';
  10. if (isset($vars['class'])) {
  11. $class = "$class {$vars['class']}";
  12. }
  13. $vars['class'] = $class;
  14. echo elgg_view('page/layouts/one_column', $vars);