$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 = "
" . elgg_echo('name') . " " . elgg_view('input/text' , array('internalname' => 'name', 'class' => "general-textarea", 'value' => $name)) . " ";
+$form_body = "
" . elgg_echo('name') . " " . elgg_view('input/text' , array('internalname' => 'name', 'class' => "input_text", 'value' => $name)) . " ";
-$form_body .= "" . elgg_echo('email') . " " . elgg_view('input/text' , array('internalname' => 'email', 'class' => "general-textarea", 'value' => $email)) . " ";
-$form_body .= "" . elgg_echo('username') . " " . elgg_view('input/text' , array('internalname' => 'username', 'class' => "general-textarea", 'value' => $username)) . " ";
-$form_body .= "" . elgg_echo('password') . " " . elgg_view('input/password' , array('internalname' => 'password', 'class' => "general-textarea")) . " ";
-$form_body .= "" . elgg_echo('passwordagain') . " " . elgg_view('input/password' , array('internalname' => 'password2', 'class' => "general-textarea")) . " ";
+$form_body .= "" . elgg_echo('email') . " " . elgg_view('input/text' , array('internalname' => 'email', 'class' => "input_text", 'value' => $email)) . " ";
+$form_body .= "" . elgg_echo('username') . " " . elgg_view('input/text' , array('internalname' => 'username', 'class' => "input_text", 'value' => $username)) . " ";
+$form_body .= "" . elgg_echo('password') . " " . elgg_view('input/password' , array('internalname' => 'password', 'class' => "input_password")) . " ";
+$form_body .= "" . elgg_echo('passwordagain') . " " . elgg_view('input/password' , array('internalname' => 'password2', 'class' => "input_password")) . " ";
// 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 = "
" . elgg_echo('name') . " " . elgg_view('input/text' , array('internalname' => 'name')) . "
";
-
-$form_body .= "
" . elgg_echo('email') . " " . elgg_view('input/text' , array('internalname' => 'email')) . "
";
+$form_body = "
" . elgg_echo('name') . " " . elgg_view('input/text' , array('internalname' => 'name')) . "
";
$form_body .= "
" . elgg_echo('username') . " " . elgg_view('input/text' , array('internalname' => 'username')) . "
";
+$form_body .= "
" . elgg_echo('email') . " " . elgg_view('input/text' , array('internalname' => 'email')) . "
";
$form_body .= "
" . elgg_echo('password') . " " . elgg_view('input/password' , array('internalname' => 'password')) . "
";
$form_body .= "
" . elgg_echo('passwordagain') . " " . elgg_view('input/password' , array('internalname' => 'password2')) . "
";
@@ -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