From 899ecdb1c092e79b091fcafa6e313ad291055bac Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 4 Aug 2008 10:23:56 +0000 Subject: Closes #195 & #191 git-svn-id: https://code.elgg.org/elgg/trunk@1674 36083f99-b078-4883-b0ff-0f9b5a30f544 --- account/forgotten_password.php | 20 ++++++++++++++++ account/register.php | 27 ++++++++++++++++++++++ actions/systemsettings/install.php | 2 +- languages/en.php | 8 +++++-- views/default/account/forms/forgotten_password.php | 19 +++++++++++++++ views/default/account/forms/login.php | 2 +- 6 files changed, 74 insertions(+), 4 deletions(-) create mode 100644 account/forgotten_password.php create mode 100644 account/register.php create mode 100644 views/default/account/forms/forgotten_password.php diff --git a/account/forgotten_password.php b/account/forgotten_password.php new file mode 100644 index 000000000..dd76cd8fe --- /dev/null +++ b/account/forgotten_password.php @@ -0,0 +1,20 @@ + \ No newline at end of file diff --git a/account/register.php b/account/register.php new file mode 100644 index 000000000..c86c67f62 --- /dev/null +++ b/account/register.php @@ -0,0 +1,27 @@ + \ No newline at end of file diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php index bf2011a19..061a2404e 100644 --- a/actions/systemsettings/install.php +++ b/actions/systemsettings/install.php @@ -64,7 +64,7 @@ system_message(elgg_echo("installation:configuration:success")); - header("Location: ../../register.php"); + header("Location: ../../account/register.php"); exit; } diff --git a/languages/en.php b/languages/en.php index 1811cdb8c..8ead8eb40 100644 --- a/languages/en.php +++ b/languages/en.php @@ -309,8 +309,11 @@ 'user:username:notfound' => 'Username %s not found.', + 'user:password:lost' => 'Lost password', 'user:password:resetreq:success' => 'Successfully requested a new password, email sent', - 'user:password:resetreq:fail' => 'Could not request a new password.', + '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.', /** * Administration @@ -416,7 +419,8 @@ 'upload' => "Upload", 'ban' => "Ban", 'enable' => "Enable", - 'disable' => "Disable", + 'disable' => "Disable", + 'request' => "Request", 'invite' => "Invite", diff --git a/views/default/account/forms/forgotten_password.php b/views/default/account/forms/forgotten_password.php new file mode 100644 index 000000000..18a9888fd --- /dev/null +++ b/views/default/account/forms/forgotten_password.php @@ -0,0 +1,19 @@ + +
+
+

+

'username')); ?>

+

+
+
\ No newline at end of file diff --git a/views/default/account/forms/login.php b/views/default/account/forms/login.php index 105c4499d..1723cf81a 100644 --- a/views/default/account/forms/login.php +++ b/views/default/account/forms/login.php @@ -20,6 +20,6 @@

- disable_registration) { ?>

+

disable_registration) { ?> :

\ No newline at end of file -- cgit v1.2.3