aboutsummaryrefslogtreecommitdiff
path: root/views/default/page
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-03 18:27:17 -0700
committerCash Costello <cash.costello@gmail.com>2011-11-03 18:27:17 -0700
commit67d692b76b079a75a0ad7ca1fb73ce6333a61789 (patch)
tree13937d1d76788be7b397ebbe92ba89e2e6c89525 /views/default/page
parent9c0c10ee6d9261d3d1d502e5ca1f86555a96105a (diff)
parent7250d1904f87af146223cd7be57660791cbb6ef8 (diff)
downloadelgg-67d692b76b079a75a0ad7ca1fb73ce6333a61789.tar.gz
elgg-67d692b76b079a75a0ad7ca1fb73ce6333a61789.tar.bz2
Merge pull request #90 from cash/walled_garden
Fixes #3756 creates a more flexible walled garden login area
Diffstat (limited to 'views/default/page')
-rw-r--r--views/default/page/walled_garden.php31
1 files changed, 4 insertions, 27 deletions
diff --git a/views/default/page/walled_garden.php b/views/default/page/walled_garden.php
index 625c63ddb..ff8e317c7 100644
--- a/views/default/page/walled_garden.php
+++ b/views/default/page/walled_garden.php
@@ -7,12 +7,9 @@
// Set the content type
header("Content-type: text/html; charset=UTF-8");
-
-$site = elgg_get_site_entity();
-$title = $site->name;
-
?>
-<html>
+<!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>
@@ -21,28 +18,8 @@ $title = $site->name;
<div class="elgg-page-messages">
<?php echo elgg_view('page/elements/messages', array('object' => $vars['sysmessages'])); ?>
</div>
- <div class="elgg-page-body">
- <div id="elgg-walledgarden">
- <div id="elgg-walledgarden-intro">
- <h1 class="elgg-heading-walledgarden">
- <?php
- echo elgg_echo('walled_garden:welcome');
- echo ': <br/>';
- echo $title;
- ?>
- </h1>
- <?php
- echo elgg_view_menu('walled_garden', array(
- 'sort_by' => 'priority',
- 'class' => 'elgg-menu-general elgg-menu-hz',
- ));
- ?>
- </div>
- <div id="elgg-walledgarden-login">
- <?php echo $vars['body']; ?>
- </div>
- </div>
- <div id="elgg-walledgarden-bottom"></div>
+ <div class="elgg-body-walledgarden">
+ <?php echo $vars['body']; ?>
</div>
</div>
<?php echo elgg_view('page/elements/foot'); ?>