diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-26 08:57:57 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-26 08:57:57 +0000 |
commit | c92e67a8b1645216c7a7300372162f22c4b4d6e8 (patch) | |
tree | d5d79a525e338e08df4a7ea6831ec43de582339f | |
parent | 652571ba2fbba360182cda980389f31d8669d411 (diff) | |
download | elgg-c92e67a8b1645216c7a7300372162f22c4b4d6e8.tar.gz elgg-c92e67a8b1645216c7a7300372162f22c4b4d6e8.tar.bz2 |
Updates to WalledGarden login. Lost password text simplified/shortened, text spacing adjusted, rule added to prevent custom css page background from showing on walledgarden login page.
git-svn-id: http://code.elgg.org/elgg/trunk@5867 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | languages/en.php | 2 | ||||
-rw-r--r-- | mod/walledgarden/views/default/account/forms/login.php | 2 | ||||
-rw-r--r-- | mod/walledgarden/views/default/page_shells/walled_garden_index.php | 6 |
3 files changed, 7 insertions, 3 deletions
diff --git a/languages/en.php b/languages/en.php index bb57d2b16..aab05c8f4 100644 --- a/languages/en.php +++ b/languages/en.php @@ -426,7 +426,7 @@ To remove a widget drag it back to the <b>Widget gallery</b>.", 'user:password:resetreq:success' => 'Successfully requested a new password, email sent', 'user:password:resetreq:fail' => 'Could not request a new password.', - 'user:password:text' => 'To generate a new password, enter your username below. We will send the address of a unique verification page to you via email click on the link in the body of the message and a new password will be sent to you.', + 'user:password:text' => 'To request a new password, enter your username below and click the Request button.', 'user:persistent' => 'Remember me', /** diff --git a/mod/walledgarden/views/default/account/forms/login.php b/mod/walledgarden/views/default/account/forms/login.php index 1c3bbe512..8d04b5b8d 100644 --- a/mod/walledgarden/views/default/account/forms/login.php +++ b/mod/walledgarden/views/default/account/forms/login.php @@ -28,7 +28,7 @@ if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) { <div class="lostpassword_form margin_top hidden">
<?php
$lostpassword_form_body = "<p>" . elgg_echo('user:password:text') . "</p>";
- $lostpassword_form_body .= "<p><label>". elgg_echo('username') . " "
+ $lostpassword_form_body .= "<p class='margin_none'><label>". elgg_echo('username') . " "
. elgg_view('input/text', array('internalname' => 'username', 'class' => 'login_textarea lostusername')) . "</label></p>";
$lostpassword_form_body .= elgg_view('input/captcha');
$lostpassword_form_body .= "<p>" . elgg_view('input/submit', array('value' => elgg_echo('request'))) . "</p>";
diff --git a/mod/walledgarden/views/default/page_shells/walled_garden_index.php b/mod/walledgarden/views/default/page_shells/walled_garden_index.php index 12b58c7da..d160161a7 100644 --- a/mod/walledgarden/views/default/page_shells/walled_garden_index.php +++ b/mod/walledgarden/views/default/page_shells/walled_garden_index.php @@ -25,7 +25,11 @@ if (empty($vars['title'])) { } else {
$title = $vars['config']->sitename . ": " . $vars['title'];
}
-
+?>
+<style type="text/css">
+ body {background:white !important;}
+</style>
+<?php
echo elgg_view('page_elements/html_begin', $vars);
echo "<div id='walledgarden_sysmessages'>".elgg_view('messages/list', array('object' => $vars['sysmessages']))."</div>";
|