blob: f9975d3e481201ae101b80f5f40803c9be25d563 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<?php
/**
* Elgg Admin Area Canvas
*
* @package Elgg
* @subpackage Core
*
* @uses $vars['content'] Content string
* @uses $vars['sidebar'] Optional sidebar content
* @uses $vars['title'] Title string
*/
?>
<div class="elgg-layout elgg-layout-one-sidebar">
<aside class="elgg-sidebar clearfix">
<?php
echo elgg_view('admin/sidebar', $vars);
?>
</aside>
<div class="elgg-main elgg-body">
<div class="elgg-head">
<?php
echo elgg_view_menu('title', array(
'sort_by' => 'priority',
'class' => 'elgg-menu-hz',
));
if (isset($vars['title'])) {
echo elgg_view_title($vars['title']);
}
?>
</div>
<?php
if (isset($vars['content'])) {
echo $vars['content'];
}
?>
</div>
</div>
|