diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-09-06 14:41:42 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-09-06 14:41:42 +0000 |
commit | f279b310c8e62dab04c1487bd57efe22ad200e9b (patch) | |
tree | c8e83bcab89de30b1f6f8fca44cb184498216c10 | |
parent | c41462c58bf09baf9e889ee51963d6d8ec06b472 (diff) | |
download | elgg-f279b310c8e62dab04c1487bd57efe22ad200e9b.tar.gz elgg-f279b310c8e62dab04c1487bd57efe22ad200e9b.tar.bz2 |
Refs #2450: Documentation for account/ files added.
git-svn-id: http://code.elgg.org/elgg/trunk@6911 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | account/forgotten_password.php | 8 | ||||
-rw-r--r-- | account/register.php | 13 |
2 files changed, 13 insertions, 8 deletions
diff --git a/account/forgotten_password.php b/account/forgotten_password.php index fea2bc03f..1741a06b0 100644 --- a/account/forgotten_password.php +++ b/account/forgotten_password.php @@ -1,17 +1,17 @@ <?php /** - * Forgotten password function. + * Assembles and outputs the forgotten password page. + * + * @see views/default/account/forums/forgotten_password.php * * @package Elgg * @subpackage Core - * @author Curverider Ltd - * @link http://elgg.org/ */ require_once(dirname(dirname(__FILE__)) . "/engine/start.php"); if (!isloggedin()) { - $area1 = elgg_view_title(elgg_echo("user:password:lost")); + $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 { diff --git a/account/register.php b/account/register.php index 1a6109762..66a4cfe41 100644 --- a/account/register.php +++ b/account/register.php @@ -1,12 +1,17 @@ <?php - /** - * Elgg registration page + * Assembles and outputs the registration page. + * + * Since 1.8 registration can be disabled via administration. If this is + * the case, calls to this page will forward to the network front page. + * + * If the user is logged in, this page will forward to the network + * front page. + * + * @see views/default/account/forms/register.php * * @package Elgg * @subpackage Core - * @author Curverider Ltd - * @link http://elgg.org/ */ /** |