aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/page/theme_preview.php
blob: ee2bc0c0f19de96b43dabff860018ef965cb75a2 (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
<?php
/**
 * Page shell for theme preview
 */

$elgg = elgg_get_simplecache_url('css', 'elgg');
$ie_url = elgg_get_simplecache_url('css', 'ie');
$ie6_url = elgg_get_simplecache_url('css', 'ie6');

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

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<?php echo elgg_view('page/elements/head', $vars); ?>
</head>
<body>
<div class="elgg-page elgg-page-default">
	<div class="elgg-page-messages">
		<ul class="elgg-system-messages">
			<li class="hidden"></li>
		</ul>
	</div>
	<div class="elgg-page-header">
		<div class="elgg-inner">
			<h1 class="elgg-heading-site">Theme Sandbox</h1>
			<?php
				if (get_input("site_menu", false)) {
					echo elgg_view_menu('site');
				}
			?>
		</div>
	</div>
	<div class="elgg-page-body">
		<div class="elgg-inner">
			<?php echo elgg_view('page/elements/body', $vars); ?>
		</div>
	</div>
</div>
</body>
</html>