diff options
Diffstat (limited to 'views/default/core/walled_garden')
-rw-r--r-- | views/default/core/walled_garden/login.php | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/views/default/core/walled_garden/login.php b/views/default/core/walled_garden/login.php new file mode 100644 index 000000000..34126e411 --- /dev/null +++ b/views/default/core/walled_garden/login.php @@ -0,0 +1,38 @@ +<?php +/** + * Walled garden login + */ + +$title = elgg_get_site_entity()->name; + +/** +$welcome = elgg_echo('walled_garden:welcome'); + */ +$welcome .= $title; + + +$menu = elgg_view_menu('walled_garden', array( + 'sort_by' => 'priority', + 'class' => 'elgg-menu-general elgg-menu-hz', +)); + +$login_box = elgg_view('core/account/login_box', array('module' => 'walledgarden-login')); + +$content = <<<HTML + +<div class="elgg-col elgg-col-1of2"> + <div class="elgg-inner"> + <h1 class="elgg-heading-walledgarden">$welcome</h1><br /> + A message you can edit in cool_theme/views/default/core/walled_garden/login.php :-).<br /> + </div> +</div> +<div class="elgg-col elgg-col-1of2"> + <div class="elgg-inner">$login_box</div> +</div> +HTML; + +echo elgg_view_module('walledgarden', '', $content, array( + 'class' => 'elgg-walledgarden-double', + 'header' => ' ', + 'footer' => ' ', +));
\ No newline at end of file |