<?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 {
<?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/
*/
/**