aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/shells/administration.php
blob: 0740ed78e9a3ce0a3177d3e1c848047c14e65db2 (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
<?php
/**
 * Elgg Admin Area Canvas
 *
 * @package Elgg
 * @subpackage Core
 *
 * @uses $vars['content'] Content string
 * @uses $vars['sidebar'] Optional sidebar content
 */
?>

<div class="elgg-page-header">
	<div class="elgg-inner">
		<h1>
			<a href="<?php echo elgg_get_site_url(); ?>">
				<?php echo $vars['config']->sitename; echo " " . elgg_echo('admin'); ?>
			</a>
		</h1>
		<a class="return_to_network" href="<?php echo elgg_get_site_url(); ?>">&lt;&lt; Return to network</a>
	</div>
</div>

<div class="elgg-page-body">
	
	<div class="elgg-sidebar clearfix">
		<?php
			echo elgg_view('layout/elements/sidebar', $vars);
		?>
	</div>
	<div class="elgg-main elgg-body">
		<?php
			if (isset($vars['content'])) {
				echo $vars['content'];
			}
		?>
	</div>
</div>
<div class="elgg-page-footer"></div>