aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/walled_garden.php
blob: 62d8bb077250379be1699e5cae526dd09ec44c6d (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
41
42
43
44
45
<?php
/**
 * Walled garden page shell
 *
 * Used for the walled garden index page
 */

// Set the content type
header("Content-type: text/html; charset=UTF-8");

$site = elgg_get_site_entity();
$title = $site->name;

?>
<html>
<head>
<?php echo elgg_view('page/elements/head', $vars); ?>
</head>
<body>
<div class="elgg-page elgg-page-walledgarden">
	<div class="elgg-page-messages">
		<?php echo elgg_view('page/elements/messages', array('object' => $vars['sysmessages'])); ?>
	</div>
	<div class="elgg-page-body">
		<div id="elgg-walledgarden">
			<div id="elgg-walledgarden-intro">
				<h1 class="elgg-heading-walledgarden">
					<?php
						echo elgg_echo('walled_garden:welcome');
						echo ': <br/>';
						echo $title;
					?>
				</h1>
				<?php echo elgg_view_menu('footer', array('sort_by' => 'priority', 'class' => 'elgg-menu-hz')); ?>
			</div>
			<div id="elgg-walledgarden-login">
				<?php echo $vars['body']; ?>
			</div>
		</div>
		<div id="elgg-walledgarden-bottom"></div>
	</div>
</div>
<?php echo elgg_view('page/elements/foot'); ?>
</body>
</html>