aboutsummaryrefslogtreecommitdiff
path: root/pages/account
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-28 19:17:36 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-28 19:17:36 +0000
commit7ddd9521b3f3a397da3b0a6b56238d31414eb4be (patch)
tree6eb6a9a51db5fa0f5d3cc2ec6de29b9e258b12a1 /pages/account
parentbd3484417d170e62bc94e9db81d4ad37e8ddee6a (diff)
downloadelgg-7ddd9521b3f3a397da3b0a6b56238d31414eb4be.tar.gz
elgg-7ddd9521b3f3a397da3b0a6b56238d31414eb4be.tar.bz2
Standardized code in all of core, not including language files, tests, or core mods.
git-svn-id: http://code.elgg.org/elgg/trunk@7124 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'pages/account')
-rw-r--r--pages/account/forgotten_password.php3
-rw-r--r--pages/account/register.php8
2 files changed, 7 insertions, 4 deletions
diff --git a/pages/account/forgotten_password.php b/pages/account/forgotten_password.php
index 2285e7299..546dbfd62 100644
--- a/pages/account/forgotten_password.php
+++ b/pages/account/forgotten_password.php
@@ -11,7 +11,8 @@ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
if (!isloggedin()) {
$area1 = elgg_view_title(elgg_echo("user:password:lost"));
$area2 = elgg_view("account/forms/forgotten_password");
- page_draw(elgg_echo('user:password:lost'), elgg_view_layout("one_column_with_sidebar", $area1 . $area2));
+ $content = elgg_view_layout("one_column_with_sidebar", $area1 . $area2);
+ page_draw(elgg_echo('user:password:lost'), $content);
} else {
forward();
} \ No newline at end of file
diff --git a/pages/account/register.php b/pages/account/register.php
index cbbc40060..2500d11fc 100644
--- a/pages/account/register.php
+++ b/pages/account/register.php
@@ -29,16 +29,18 @@ if (!$CONFIG->allow_registration) {
forward();
}
-$friend_guid = (int) get_input('friend_guid',0);
+$friend_guid = (int) get_input('friend_guid', 0);
$invitecode = get_input('invitecode');
// If we're not logged in, display the registration page
if (!isloggedin()) {
$area1 = elgg_view_title(elgg_echo("register"));
- $area2 = elgg_view("account/forms/register", array('friend_guid' => $friend_guid, 'invitecode' => $invitecode));
+ $area2 = elgg_view("account/forms/register",
+ array('friend_guid' => $friend_guid, 'invitecode' => $invitecode));
+
page_draw(elgg_echo("register"), elgg_view_layout("one_column_with_sidebar", $area1 . $area2));
-// Otherwise, forward to the index page
+ // Otherwise, forward to the index page
} else {
forward();
}