diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2011-04-26 15:03:02 -0400 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2011-04-26 15:03:02 -0400 |
commit | c80ba5aa03264dd64c20ed8ae222e87f9371a44d (patch) | |
tree | 9355d87a9ab4570b9e54685ad9869cd4fedd392f /mod/developers/views/default/page/theme_preview.php | |
parent | 581c2d35ae053aed07a607b8bb844603c48b7c2f (diff) | |
parent | 632cf13234d04a3f6b7acf67866a82e0bebde55c (diff) | |
download | elgg-c80ba5aa03264dd64c20ed8ae222e87f9371a44d.tar.gz elgg-c80ba5aa03264dd64c20ed8ae222e87f9371a44d.tar.bz2 |
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/developers/views/default/page/theme_preview.php')
-rw-r--r-- | mod/developers/views/default/page/theme_preview.php | 38 |
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> |