diff options
Diffstat (limited to 'phpBB/ucp.php')
-rwxr-xr-x | phpBB/ucp.php | 65 |
1 files changed, 24 insertions, 41 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php index a85155164f..515d36579e 100755 --- a/phpBB/ucp.php +++ b/phpBB/ucp.php @@ -1,35 +1,15 @@ <?php -// ------------------------------------------------------------- -// -// $Id$ -// -// FILENAME : bbcode.php -// STARTED : Thu Nov 21, 2002 -// COPYRIGHT : © 2001, 2003 phpBB Group -// WWW : http://www.phpbb.com/ -// LICENCE : GPL vs2.0 [ see /docs/COPYING ] -// -// ------------------------------------------------------------- - -// TODO for 2.2: -// -// * Registration -// * Link to (additional?) registration conditions - -// * Opening tab: -// * Last visit time -// * Last active in -// * Most active in -// * New PM counter -// * Unread PM counter -// * Link/s to MCP if applicable? - -// * PM system -// * See privmsg - -// * Permissions? -// * List permissions granted to this user (in UCP and ACP UCP) - +/** +* +* @package ucp +* @version $Id$ +* @copyright (c) 2005 phpBB Group +* @license http://opensource.org/licenses/gpl-license.php GNU Public License +* +*/ + +/** +*/ define('IN_PHPBB', true); $phpbb_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); @@ -53,11 +33,10 @@ $user->setup('ucp'); $ucp = new module(); - - -// --------- -// FUNCTIONS -// +/** +* @package ucp +* UCP Module +*/ class module { var $id = 0; @@ -248,11 +227,6 @@ class module return false; } } -// -// FUNCTIONS -// --------- - - // Basic "global" modes switch ($mode) @@ -263,6 +237,11 @@ switch ($mode) redirect("index.$phpEx$SID"); break; + case 'resend_act': + $ucp->load('ucp', 'resend'); + $ucp->module->ucp_resend(); + break; + case 'sendpassword': $ucp->load('ucp', 'remind'); $ucp->module->ucp_remind(); @@ -304,6 +283,10 @@ switch ($mode) trigger_error($message); break; + case 'terms_of_use': + case 'privacy_statement': + break; + case 'delete_cookies': // Delete Cookies with dynamic names (do NOT delete poll cookies) if (confirm_box(true)) |