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

$screen = elgg_get_simplecache_url('css', 'screen');
$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>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><?php echo $vars['title']; ?></title>
	<link rel="stylesheet" href="<?php echo $screen; ?>" type="text/css" />
	<!--[if gt IE 6]>
		<link rel="stylesheet" type="text/css" href="<?php echo $ie_url; ?>" />
	<![endif]-->
	<!--[if IE 6]>
		<link rel="stylesheet" type="text/css" href="<?php echo $ie6_url; ?>" />
	<![endif]-->

<?php
foreach (elgg_get_js() as $script) {
?>
	<script type="text/javascript" src="<?php echo $script; ?>"></script>
<?php
}
?>

</head>
<body>
<?php
echo $vars['body'];
?>
</body>
</html>