aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/page
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-23 00:30:17 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-23 00:30:17 +0000
commitd4139ca10963001c830a72c0f70f2c2dd8edec57 (patch)
treed54a6124382dfd26922fe929672aec35d37f8ca6 /mod/developers/views/default/page
parent027012acf87be84bee8e02b0c8080c6b4f1baecc (diff)
downloadelgg-d4139ca10963001c830a72c0f70f2c2dd8edec57.tar.gz
elgg-d4139ca10963001c830a72c0f70f2c2dd8edec57.tar.bz2
Fixes #3042: Theme preview navs now match css/elements/*. Also did a major cleanup of the presentation.
git-svn-id: http://code.elgg.org/elgg/trunk@9019 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/developers/views/default/page')
-rw-r--r--mod/developers/views/default/page/theme_preview.php38
1 files changed, 4 insertions, 34 deletions
diff --git a/mod/developers/views/default/page/theme_preview.php b/mod/developers/views/default/page/theme_preview.php
index 97df551ae..5b31fd789 100644
--- a/mod/developers/views/default/page/theme_preview.php
+++ b/mod/developers/views/default/page/theme_preview.php
@@ -14,48 +14,18 @@ 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 $elgg; ?>" type="text/css" />
- <style>
- .elgg-page-body { margin: 20px }
- .elgg-page-header:after {content:'.'; display:block; clear:both; height:0; visibility: hidden}
- .elgg-page-header .elgg-menu-page > li {float:left; padding: 5px}
- .elgg-page-header .elgg-menu-page > li > a {padding: 2px 4px}
- .elgg-page-header .elgg-menu-page > li.elgg-state-selected > a {background-color:#0054A7;}
- </style>
- <!--[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_loaded_js() as $script) {
-?>
- <script type="text/javascript" src="<?php echo $script; ?>"></script>
-<?php
-}
-?>
-
+ <?php echo elgg_view('page/elements/head', $vars); ?>
</head>
<body>
-<div class="elgg-page">
+<div class="elgg-page elgg-page-default">
<div class="elgg-page-header">
<div class="elgg-inner">
- <?php echo elgg_view_menu('page'); ?>
+ <h1 class="elgg-heading-site">Theme Preview</h1>
</div>
</div>
<div class="elgg-page-body">
<div class="elgg-inner">
- <?php echo elgg_view_title($vars['title']); ?>
- <?php echo $vars['body']; ?>
- </div>
- </div>
- <div class="elgg-page-header">
- <div class="elgg-inner">
- <?php echo elgg_view_menu('page'); ?>
+ <?php echo elgg_view('page/elements/body', $vars); ?>
</div>
</div>
</div>