From 4766f36a4d74924f21ff329c4318ce4e069ffa04 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 3 Mar 2010 17:53:05 +0000 Subject: Pulled in the interface changes. git-svn-id: http://code.elgg.org/elgg/trunk@5257 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/account/forms/forgotten_password.php | 22 ++++++++++++-------- views/default/account/forms/login.php | 12 +++++------ views/default/account/forms/register.php | 24 +++++++++++++--------- views/default/account/forms/useradd.php | 9 ++++---- 4 files changed, 38 insertions(+), 29 deletions(-) (limited to 'views/default/account') diff --git a/views/default/account/forms/forgotten_password.php b/views/default/account/forms/forgotten_password.php index 5ffb1be1a..b360bcc63 100644 --- a/views/default/account/forms/forgotten_password.php +++ b/views/default/account/forms/forgotten_password.php @@ -15,11 +15,17 @@ $form_body .= elgg_view('input/captcha'); $form_body .= "

" . elgg_view('input/submit', array('value' => elgg_echo('request'))) . "

"; ?> -
- "{$vars['url']}action/user/requestnewpassword", - 'body' => $form_body) -); -?> -
\ No newline at end of file + + \ No newline at end of file diff --git a/views/default/account/forms/login.php b/views/default/account/forms/login.php index 394c1ea88..766b2ca28 100644 --- a/views/default/account/forms/login.php +++ b/views/default/account/forms/login.php @@ -10,16 +10,16 @@ global $CONFIG; -$form_body = "

"; +$form_body = ""; $form_body .= "
"; -$form_body .= "
"; +$form_body .= "
"; $form_body .= elgg_view('login/extend'); -$form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))) . "

"; -$form_body .= "

"; +$form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))) . "

"; +$form_body .= "

"; $form_body .= (!isset($CONFIG->disable_registration) || !($CONFIG->disable_registration)) ? "" . elgg_echo('register') . " | " : ""; -$form_body .= "" . elgg_echo('user:password:lost') . "

"; +$form_body .= "" . elgg_echo('user:password:lost') . ""; $login_url = $vars['url']; if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) { @@ -27,7 +27,7 @@ if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) { } ?> -
+

$form_body, 'action' => "{$login_url}action/login")); diff --git a/views/default/account/forms/register.php b/views/default/account/forms/register.php index 3e53b6f05..0265ce187 100644 --- a/views/default/account/forms/register.php +++ b/views/default/account/forms/register.php @@ -17,12 +17,12 @@ if (($_SESSION['user']->admin) && ($vars['show_admin'])) { $admin_option = true; } -$form_body = "


"; +$form_body = "


"; -$form_body .= "
"; -$form_body .= "
"; -$form_body .= "
"; -$form_body .= "
"; +$form_body .= "
"; +$form_body .= "
"; +$form_body .= "
"; +$form_body .= "
"; // view to extend to add more fields to the registration form $form_body .= elgg_view('register/extend'); @@ -39,8 +39,12 @@ $form_body .= elgg_view('input/hidden', array('internalname' => 'invitecode', 'v $form_body .= elgg_view('input/hidden', array('internalname' => 'action', 'value' => 'register')); $form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))) . "

"; ?> - -
-

- "{$vars['url']}action/register", 'body' => $form_body)) ?> -
\ No newline at end of file + + \ No newline at end of file diff --git a/views/default/account/forms/useradd.php b/views/default/account/forms/useradd.php index 09b4c4718..734854d08 100644 --- a/views/default/account/forms/useradd.php +++ b/views/default/account/forms/useradd.php @@ -13,10 +13,9 @@ if (($_SESSION['user']->admin) && ($vars['show_admin'])) { $admin_option = true; } -$form_body = "

"; - -$form_body .= "

"; +$form_body = "

"; $form_body .= "

"; +$form_body .= "

"; $form_body .= "

"; $form_body .= "

"; @@ -27,7 +26,7 @@ if ($admin_option) { $form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))) . "

"; ?> -
-

+
+

"{$vars['url']}action/useradd", 'body' => $form_body)) ?>
\ No newline at end of file -- cgit v1.2.3