diff options
Diffstat (limited to 'views/default/core/walled_garden')
-rw-r--r-- | views/default/core/walled_garden/login.php | 25 | ||||
-rw-r--r-- | views/default/core/walled_garden/lost_password.php | 13 | ||||
-rw-r--r-- | views/default/core/walled_garden/register.php | 17 |
3 files changed, 39 insertions, 16 deletions
diff --git a/views/default/core/walled_garden/login.php b/views/default/core/walled_garden/login.php index 34126e411..42b79607d 100644 --- a/views/default/core/walled_garden/login.php +++ b/views/default/core/walled_garden/login.php @@ -4,13 +4,9 @@ */ $title = elgg_get_site_entity()->name; - -/** $welcome = elgg_echo('walled_garden:welcome'); - */ -$welcome .= $title; +$welcome .= ': <br/>' . $title; - $menu = elgg_view_menu('walled_garden', array( 'sort_by' => 'priority', 'class' => 'elgg-menu-general elgg-menu-hz', @@ -18,21 +14,18 @@ $menu = elgg_view_menu('walled_garden', array( $login_box = elgg_view('core/account/login_box', array('module' => 'walledgarden-login')); -$content = <<<HTML - +echo <<<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 /> + <h1 class="elgg-heading-walledgarden"> + $welcome + </h1> + $menu </div> </div> <div class="elgg-col elgg-col-1of2"> - <div class="elgg-inner">$login_box</div> + <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 diff --git a/views/default/core/walled_garden/lost_password.php b/views/default/core/walled_garden/lost_password.php new file mode 100644 index 000000000..82f8caf50 --- /dev/null +++ b/views/default/core/walled_garden/lost_password.php @@ -0,0 +1,13 @@ +<?php +/** + * Walled garden lost password + */ + +$title = elgg_echo('user:password:lost'); +$body = elgg_view_form('user/requestnewpassword'); +echo <<<HTML +<div class="elgg-inner"> + <h3>$title</h3> + $body +</div> +HTML; diff --git a/views/default/core/walled_garden/register.php b/views/default/core/walled_garden/register.php new file mode 100644 index 000000000..1ce2f8716 --- /dev/null +++ b/views/default/core/walled_garden/register.php @@ -0,0 +1,17 @@ +<?php +/** + * Walled garden registration + */ + +$title = elgg_echo('register'); +$body = elgg_view_form('register', array(), array( + 'friend_guid' => (int) get_input('friend_guid', 0), + 'invitecode' => get_input('invitecode'), +)); + +echo <<<__HTML +<div class="elgg-inner"> + <h2>$title</h2> + $body +</div> +__HTML; |