diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-14 00:10:03 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-14 00:10:03 +0000 |
commit | d3c49d7ee73a6f0bc680868147cc68cccba611a9 (patch) | |
tree | e598deec2b98faada3acc62477371e408499c6e1 /mod/developers/views/default/page | |
parent | 5a955c633c1ac314ccff3fe5a719ae730105c13a (diff) | |
download | elgg-d3c49d7ee73a6f0bc680868147cc68cccba611a9.tar.gz elgg-d3c49d7ee73a6f0bc680868147cc68cccba611a9.tar.bz2 |
Refs #2903 moving theme preview into developers plugin - navigation and titles are broken
git-svn-id: http://code.elgg.org/elgg/trunk@8214 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/developers/views/default/page')
-rw-r--r-- | mod/developers/views/default/page/shells/theme_preview.php | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/mod/developers/views/default/page/shells/theme_preview.php b/mod/developers/views/default/page/shells/theme_preview.php new file mode 100644 index 000000000..79dfed60d --- /dev/null +++ b/mod/developers/views/default/page/shells/theme_preview.php @@ -0,0 +1,41 @@ +<?php +/** + * Page shell for theme preview + */ + +$screen = elgg_view_get_simplecache_url('css', 'screen'); +$ie_url = elgg_view_get_simplecache_url('css', 'ie'); +$ie6_url = elgg_view_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>
\ No newline at end of file |