/**
* Serve an error page
*
+ * @todo not sending status codes yet
+ *
* @param string $hook The name of the hook
* @param string $type The type of the hook
* @param bool $result The current value of the hook
.elgg-layout-two-sidebar {
background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/two_sidebar_background.gif) repeat-y right top;
}
+.elgg-layout-error {
+ margin-top: 20px;
+}
.elgg-sidebar {
position: relative;
padding: 20px 10px;
* Error layout
*/
+$class = 'elgg-layout-error';
+if (isset($vars['class'])) {
+ $class = "$class {$vars['class']}";
+}
+$vars['class'] = $class;
+
echo elgg_view('page/layouts/one_column', $vars);