aboutsummaryrefslogtreecommitdiff
path: root/pages/account/forgotten_password.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-30 22:52:15 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-30 22:52:15 +0000
commit330ca9228857560164c963172fc8f5c289f16b42 (patch)
tree5ada1281adf1414b49129f606a0ebb2dfa7cb0d9 /pages/account/forgotten_password.php
parentfad92747bec989fd6728eb7349c9ede4674764ff (diff)
downloadelgg-330ca9228857560164c963172fc8f5c289f16b42.tar.gz
elgg-330ca9228857560164c963172fc8f5c289f16b42.tar.bz2
Refs #2344 - move account pages into pages directory
git-svn-id: http://code.elgg.org/elgg/trunk@6984 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'pages/account/forgotten_password.php')
-rw-r--r--pages/account/forgotten_password.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/pages/account/forgotten_password.php b/pages/account/forgotten_password.php
new file mode 100644
index 000000000..2285e7299
--- /dev/null
+++ b/pages/account/forgotten_password.php
@@ -0,0 +1,17 @@
+<?php
+/**
+ * Assembles and outputs the forgotten password page.
+ *
+ * @package Elgg.Core
+ * @subpackage Registration
+ */
+
+require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+if (!isloggedin()) {
+ $area1 = elgg_view_title(elgg_echo("user:password:lost"));
+ $area2 = elgg_view("account/forms/forgotten_password");
+ page_draw(elgg_echo('user:password:lost'), elgg_view_layout("one_column_with_sidebar", $area1 . $area2));
+} else {
+ forward();
+} \ No newline at end of file