Elgg  Version 3.0
admin.php
Go to the documentation of this file.
1 <?php
14  'elgg-layout',
15  'elgg-layout-one-sidebar',
16  'elgg-layout-admin',
17  'clearfix',
18 ]);
19 unset($vars['class']);
20 
21 $vars['breadcrumbs'] = false;
22 
23 $vars['sidebar'] = elgg_view('admin/sidebar', $vars);
24 
25 $header = elgg_view('page/layouts/elements/header', $vars);
26 $sidebar = elgg_view('page/layouts/elements/sidebar', $vars);
27 $body = elgg_view('page/layouts/elements/body', $vars);
28 
30  'class' => 'elgg-layout-columns',
31 ], $sidebar . $body);
32 
33 
35  'class' => $class,
36 ], $header . $layout);
$body
Definition: admin.php:40
$header
Definition: admin.php:25
elgg_extract_class(array $array, $existing=[], $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition: elgglib.php:1153
$vars['breadcrumbs']
Definition: admin.php:21
$class
Definition: admin.php:13
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:168
elgg echo
Translates a string.
Definition: languages.js:43
$sidebar
Definition: admin.php:26
$layout
Definition: admin.php:29
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246