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

<div id="admin_header">
	<span class="network-title"><h2>
	<a href="<?php echo elgg_get_site_url(); ?>">
	<?php echo $vars['config']->sitename; echo " ".elgg_echo('admin'); ?></a>
	<a class="return_to_network" href="<?php echo elgg_get_site_url(); ?>">&lt;&lt; Return to network</a>
	</h2></span>
</div>

<div id="elgg-content" class="clearfix admin_area">
	
	<div id="elgg-page-contents" class="clearfix">
		<?php
			if (isset($vars['content'])) {
				echo $vars['content'];
			}
		?>
	</div>
	<div id="elgg-sidebar" class="clearfix">
		<?php
			echo elgg_view('page_elements/sidebar', $vars);
		?>
	</div>
</div>
<div id="admin_footer"></div>