]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3556 limiting width of account text boxes
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 11 Jun 2011 16:51:51 +0000 (16:51 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 11 Jun 2011 16:51:51 +0000 (16:51 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@9177 36083f99-b078-4883-b0ff-0f9b5a30f544

pages/account/forgotten_password.php
pages/account/register.php
pages/account/reset_password.php
views/default/css/elements/forms.php
views/default/forms/user/requestnewpassword.php

index 7679eaa55f710c1904bbd551505adf4eb0efb120..bf6ef87e0b7cfa0a28ebaf9fe830be71356f47a6 100644 (file)
@@ -13,7 +13,9 @@ if (elgg_is_logged_in()) {
 $title = elgg_echo("user:password:lost");
 $content = elgg_view_title($title);
 
-$content .= elgg_view_form('user/requestnewpassword');
+$content .= elgg_view_form('user/requestnewpassword', array(
+       'class' => 'elgg-form-account',
+));
 
 $body = elgg_view_layout("one_column", array('content' => $content));
 
index 58544ef497c89b9ecf06a0be99084b4aebf44ef6..5eb2b40015c27f65258221a78aca10df03d6b9ac 100644 (file)
@@ -35,7 +35,10 @@ $register_url = elgg_get_site_url() . 'action/register';
 if (elgg_get_config('https_login')) {
        $register_url = str_replace("http:", "https:", $register_url);
 }
-$form_params = array('action' => $register_url);
+$form_params = array(
+       'action' => $register_url,
+       'class' => 'elgg-form-account float',
+);
 
 $body_params = array(
        'friend_guid' => $friend_guid,
@@ -43,6 +46,8 @@ $body_params = array(
 );
 $content .= elgg_view_form('register', $form_params, $body_params);
 
+$content .= elgg_view('help/register');
+
 $body = elgg_view_layout("one_column", array('content' => $content));
 
 echo elgg_view_page($title, $body);
index 019ec3add75a5df94fc61939125cb8768ac6e54f..6515bfc5d85d6ed26f15cf2d37041c1473136054 100644 (file)
@@ -25,7 +25,7 @@ $params = array(
        'guid' => $user_guid,
        'code' => $code,
 );
-$form = elgg_view_form('user/passwordreset', array(), $params);
+$form = elgg_view_form('user/passwordreset', array('class' => 'elgg-form-account'), $params);
 
 $title = elgg_echo('resetpassword');
 $content = elgg_view_title(elgg_echo('resetpassword')) . $form;
index 4e302dff1b64a1408bb2f2b51434b65b562c416d..af7b2be19ff1630e41e0dc097dc905a5653b2e9a 100644 (file)
@@ -79,6 +79,11 @@ input[type="radio"] {
        padding-right: 10px;
 }
 
+.elgg-form-account input[type="text"],
+.elgg-form-account input[type="password"] {
+       width: 300px;
+}
+
 /* ***************************************
        FRIENDS PICKER
 *************************************** */
index f2f2764177a6f43a07248622e8c5e58e193e2614..97093832771ad5cc356724311b381dae323844a4 100644 (file)
@@ -11,7 +11,7 @@
        <?php echo elgg_echo('user:password:text'); ?>
 </div>
 <div>
-       <label><?php echo elgg_echo('username'); ?></label>
+       <label><?php echo elgg_echo('username'); ?></label><br />
        <?php echo elgg_view('input/text', array('name' => 'username')); ?>
 </div>
 <?php echo elgg_view('input/captcha'); ?>