diff options
Diffstat (limited to 'views/default/page_shells')
-rw-r--r-- | views/default/page_shells/walled_garden.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/views/default/page_shells/walled_garden.php b/views/default/page_shells/walled_garden.php new file mode 100644 index 000000000..fc44472e9 --- /dev/null +++ b/views/default/page_shells/walled_garden.php @@ -0,0 +1,30 @@ +<?php +/** + * + */ + +// Set the content type +header("Content-type: text/html; charset=UTF-8"); + +// Set title +if (empty($vars['title'])) { + $title = $vars['config']->sitename; +} elseif (empty($vars['config']->sitename)) { + $title = $vars['title']; +} else { + $title = $vars['config']->sitename . ": " . $vars['title']; +} + +echo elgg_view('page_elements/html_begin', $vars); + +$view = elgg_view('messages/list', array('object' => $vars['sysmessages'])); + +echo "<div id='walledgarden_sysmessages'>$view</div>"; +echo '<div id="walledgarden_container"><div id="walledgarden" class="clearfloat">'; +echo "<div class=\"walledgardenintro clearfloat\"><h1>Welcome to:<br />$title</h1></div>"; +echo "<div class=\"walledgardenlogin clearfloat\">{$vars['body']}</div>"; +echo '</div>'; +echo '<div id="walledgarden_bottom"></div>'; +echo '</div>'; + +echo elgg_view('page_elements/html_end', $vars); |