mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 11:13:59 +02:00
- Documentation related changes
- added resend activation email dialog - fixed issue in session code - log failed/successful admin re-authentication/login - fixed simple forum dropdown box (used in mcp and posting) git-svn-id: file:///svn/phpbb/trunk@5114 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : ucp_activate.php
|
||||
// STARTED : Mon May 19, 2003
|
||||
// COPYRIGHT : <20> 2001, 2003 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package ucp
|
||||
* ucp_activate
|
||||
* User activation
|
||||
*/
|
||||
class ucp_activate extends module
|
||||
{
|
||||
function ucp_activate($id, $mode)
|
||||
@@ -91,7 +93,7 @@ class ucp_activate extends module
|
||||
);
|
||||
|
||||
$messenger->send($row['user_notify_type']);
|
||||
$messenger->queue->save();
|
||||
$messenger->save_queue();
|
||||
|
||||
$message = 'ACCOUNT_ACTIVE_ADMIN';
|
||||
}
|
||||
|
@@ -1,20 +1,18 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : ucp_attachments.php
|
||||
// STARTED : Mon Nov 03, 2003
|
||||
// COPYRIGHT : <20> 2001, 2003 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
|
||||
//
|
||||
// * Use this for ACP integration - changeable user id
|
||||
//
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package ucp
|
||||
* ucp_attachments
|
||||
* User attachments
|
||||
*/
|
||||
class ucp_attachments extends module
|
||||
{
|
||||
function ucp_attachments($id, $mode)
|
||||
|
@@ -1,23 +1,25 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : ucp_confirm.php
|
||||
// STARTED : Mon May 19, 2003
|
||||
// COPYRIGHT : <20> 2003 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
|
||||
// Note to potential users of this code ...
|
||||
//
|
||||
// Remember this is released under the _GPL_ and is subject
|
||||
// to that licence. Do not incorporate this within software
|
||||
// released or distributed in any way under a licence other
|
||||
// than the GPL. We will be watching ... ;)
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package ucp
|
||||
* ucp_confirm
|
||||
* Visual confirmation
|
||||
*
|
||||
* Note to potential users of this code ...
|
||||
*
|
||||
* Remember this is released under the _GPL_ and is subject
|
||||
* to that licence. Do not incorporate this within software
|
||||
* released or distributed in any way under a licence other
|
||||
* than the GPL. We will be watching ... ;)
|
||||
*/
|
||||
class ucp_confirm extends module
|
||||
{
|
||||
function ucp_confirm($id, $mode)
|
||||
|
@@ -1,16 +1,17 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : ucp_groups.php
|
||||
// STARTED : Sun Jun 6, 2004
|
||||
// COPYRIGHT : <20> 2001, 2004 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package ucp
|
||||
* ucp_groups
|
||||
*/
|
||||
class ucp_groups extends module
|
||||
{
|
||||
function ucp_groups($id, $mode)
|
||||
|
@@ -1,16 +1,18 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : ucp_main.php
|
||||
// STARTED : Mon May 19, 2003
|
||||
// COPYRIGHT : <20> 2001, 2003 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package ucp
|
||||
* ucp_main
|
||||
* UCP Front Panel
|
||||
*/
|
||||
class ucp_main extends module
|
||||
{
|
||||
function ucp_main($id, $mode)
|
||||
|
@@ -1,45 +1,44 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : ucp_pm.php
|
||||
// STARTED : Sat Mar 27, 2004
|
||||
// COPYRIGHT : <20> 2004 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
|
||||
// TODO:
|
||||
//
|
||||
// * Review of post when replying/quoting
|
||||
// * Handle delete flag (user deletes PM from outbox)
|
||||
// * Report PM
|
||||
// * Check Permissions (compose message - to user/group)
|
||||
|
||||
/*
|
||||
folder=
|
||||
(int) display folder with the id used
|
||||
(string) can be inbox, outbox or sentbox
|
||||
|
||||
Display Unread Messages - mode=unread
|
||||
Display Messages (default to inbox) - mode=view_messages
|
||||
Display single message - mode=view_messages&action=view_message&p=[msg_id] or &p=[msg_id] (short linkage)
|
||||
|
||||
if the folder id with (&f=[folder_id]) is used when displaying messages, one query will be saved. If it is not used, phpBB needs to grab
|
||||
the folder id first in order to display the input boxes and folder names and such things. ;) phpBB always checks this against the database to make
|
||||
sure the user is able to view the message.
|
||||
|
||||
Composing Messages (mode=compose):
|
||||
To specific user (u=[user_id])
|
||||
To specific group (g=[group_id])
|
||||
Quoting a post (action=quote&q=1&p=[post_id])
|
||||
Quoting a PM (action=quote&p=[msg_id])
|
||||
Forwarding a PM (action=forward&p=[msg_id])
|
||||
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package ucp
|
||||
* ucp_pm
|
||||
*
|
||||
* Private Message Class
|
||||
*
|
||||
* @param int $folder display folder with the id used
|
||||
* @param inbox|outbox|sentbox display folder with the associated name
|
||||
*
|
||||
*
|
||||
* Display Unread Messages - mode=unread
|
||||
* Display Messages (default to inbox) - mode=view_messages
|
||||
* Display single message - mode=view_messages&action=view_message&p=[msg_id] or &p=[msg_id] (short linkage)
|
||||
*
|
||||
* if the folder id with (&f=[folder_id]) is used when displaying messages, one query will be saved. If it is not used, phpBB needs to grab
|
||||
* the folder id first in order to display the input boxes and folder names and such things. ;) phpBB always checks this against the database to make
|
||||
* sure the user is able to view the message.
|
||||
*
|
||||
* Composing Messages (mode=compose):
|
||||
* To specific user (u=[user_id])
|
||||
* To specific group (g=[group_id])
|
||||
* Quoting a post (action=quote&q=1&p=[post_id])
|
||||
* Quoting a PM (action=quote&p=[msg_id])
|
||||
* Forwarding a PM (action=forward&p=[msg_id])
|
||||
*
|
||||
*
|
||||
* @todo Review of post when replying/quoting
|
||||
* @todo Report PM
|
||||
* @todo Check Permissions (compose message - to user/group)
|
||||
*
|
||||
*/
|
||||
class ucp_pm extends module
|
||||
{
|
||||
function ucp_pm($id, $mode)
|
||||
|
@@ -1,18 +1,17 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : compose.php
|
||||
// STARTED : Sat Mar 27, 2004
|
||||
// COPYRIGHT : <20> 2004 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
|
||||
// * Called from ucp_pm with mode == 'compose'
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Compose private message
|
||||
* Called from ucp_pm with mode == 'compose'
|
||||
*/
|
||||
function compose_pm($id, $mode, $action)
|
||||
{
|
||||
global $template, $db, $auth, $user;
|
||||
@@ -763,7 +762,9 @@ function compose_pm($id, $mode, $action)
|
||||
}
|
||||
}
|
||||
|
||||
// For composing messages, handle list actions
|
||||
/**
|
||||
* For composing messages, handle list actions
|
||||
*/
|
||||
function handle_message_list_actions(&$address_list, $remove_u, $remove_g, $add_to, $add_bcc)
|
||||
{
|
||||
global $_REQUEST;
|
||||
@@ -832,7 +833,9 @@ function handle_message_list_actions(&$address_list, $remove_u, $remove_g, $add_
|
||||
|
||||
}
|
||||
|
||||
// Return number of recipients
|
||||
/**
|
||||
* Return number of private message recipients
|
||||
*/
|
||||
function num_recipients($address_list)
|
||||
{
|
||||
$num_recipients = 0;
|
||||
@@ -845,7 +848,9 @@ function num_recipients($address_list)
|
||||
return $num_recipients;
|
||||
}
|
||||
|
||||
// Get recipient at position 'pos'
|
||||
/**
|
||||
* Get recipient at position 'pos'
|
||||
*/
|
||||
function get_recipient_pos($address_list, $position = 1)
|
||||
{
|
||||
$recipient = array();
|
||||
|
@@ -1,16 +1,16 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : options.php
|
||||
// STARTED : Mon Apr 19, 2004
|
||||
// COPYRIGHT : <20> 2004 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Execute message options
|
||||
*/
|
||||
function message_options($id, $mode, $global_privmsgs_rules, $global_rule_conditions)
|
||||
{
|
||||
global $phpbb_root_path, $phpEx, $SID, $user, $template, $auth, $config, $db;
|
||||
@@ -476,6 +476,9 @@ function message_options($id, $mode, $global_privmsgs_rules, $global_rule_condit
|
||||
show_defined_rules($user->data['user_id'], $check_lang, $rule_lang, $action_lang, $folder);
|
||||
}
|
||||
|
||||
/**
|
||||
* Defining check option for message rules
|
||||
*/
|
||||
function define_check_option($hardcoded, $check_option, $check_lang)
|
||||
{
|
||||
global $template;
|
||||
@@ -498,6 +501,9 @@ function define_check_option($hardcoded, $check_option, $check_lang)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Defining action option for message rules
|
||||
*/
|
||||
function define_action_option($hardcoded, $action_option, $action_lang, $folder)
|
||||
{
|
||||
global $db, $template, $user;
|
||||
@@ -542,6 +548,9 @@ function define_action_option($hardcoded, $action_option, $action_lang, $folder)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Defining rule option for message rules
|
||||
*/
|
||||
function define_rule_option($hardcoded, $rule_option, $rule_lang, $check_ary)
|
||||
{
|
||||
global $template;
|
||||
@@ -564,6 +573,9 @@ function define_rule_option($hardcoded, $rule_option, $rule_lang, $check_ary)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Defining condition option for message rules
|
||||
*/
|
||||
function define_cond_option($hardcoded, $cond_option, $rule_option, $global_rule_conditions)
|
||||
{
|
||||
global $db, $template;
|
||||
@@ -668,6 +680,9 @@ function define_cond_option($hardcoded, $cond_option, $rule_option, $global_rule
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Display defined message rules
|
||||
*/
|
||||
function show_defined_rules($user_id, $check_lang, $rule_lang, $action_lang, $folder)
|
||||
{
|
||||
global $db, $template;
|
||||
|
@@ -1,18 +1,17 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : viewfolder.php
|
||||
// STARTED : Sun Apr 11, 2004
|
||||
// COPYRIGHT : <20> 2004 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
|
||||
// * Called from ucp_pm with mode == 'view_messages' && action == 'view_folder'
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* View message folder
|
||||
* Called from ucp_pm with mode == 'view_messages' && action == 'view_folder'
|
||||
*/
|
||||
function view_folder($id, $mode, $folder_id, $folder, $type)
|
||||
{
|
||||
global $phpbb_root_path, $phpEx, $SID, $user, $template, $auth, $config, $db;
|
||||
@@ -179,8 +178,11 @@ function view_folder($id, $mode, $folder_id, $folder, $type)
|
||||
}
|
||||
}
|
||||
|
||||
// Get PM's in folder x from user x
|
||||
// Get PM's in all folders from user x with type of x (unread, new)
|
||||
/**
|
||||
* Get Messages from folder/user
|
||||
*
|
||||
* @param unread|new|folder $type type of message
|
||||
*/
|
||||
function get_pm_from($folder_id, $folder, $user_id, $url, $type = 'folder')
|
||||
{
|
||||
global $user, $db, $template, $config, $auth, $_POST;
|
||||
|
@@ -1,16 +1,16 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : viewmessage.php
|
||||
// STARTED : Mon Apr 12, 2004
|
||||
// COPYRIGHT : <20> 2004 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* View private message
|
||||
*/
|
||||
function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
|
||||
{
|
||||
global $phpbb_root_path, $phpEx, $SID, $user, $template, $auth, $config, $db;
|
||||
@@ -222,7 +222,9 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
|
||||
}
|
||||
}
|
||||
|
||||
// Display Message History
|
||||
/**
|
||||
* Display Message History
|
||||
*/
|
||||
function message_history($msg_id, $user_id, $message_row, $folder)
|
||||
{
|
||||
global $db, $user, $config, $template, $phpbb_root_path, $phpEx, $SID, $auth, $bbcode;
|
||||
@@ -356,7 +358,9 @@ function message_history($msg_id, $user_id, $message_row, $folder)
|
||||
return true;
|
||||
}
|
||||
|
||||
// Get User Informations (only for message display)
|
||||
/**
|
||||
* Get User Informations (only for message display)
|
||||
*/
|
||||
function get_user_informations($user_id, $user_row)
|
||||
{
|
||||
global $config, $db, $auth, $user, $phpbb_root_path, $phpEx, $SID;
|
||||
|
@@ -1,16 +1,18 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : ucp_prefs.php
|
||||
// STARTED : Mon May 19, 2003
|
||||
// COPYRIGHT : <20> 2001, 2003 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package ucp
|
||||
* ucp_prefs
|
||||
* Changing user preferences
|
||||
*/
|
||||
class ucp_prefs extends module
|
||||
{
|
||||
function ucp_prefs($id, $mode)
|
||||
|
@@ -1,16 +1,18 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : ucp_profile.php
|
||||
// STARTED : Mon May 19, 2003
|
||||
// COPYRIGHT : <20> 2003 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package ucp
|
||||
* ucp_profile
|
||||
* Changing profile settings
|
||||
*/
|
||||
class ucp_profile extends module
|
||||
{
|
||||
function ucp_profile($id, $mode)
|
||||
@@ -150,7 +152,7 @@ class ucp_profile extends module
|
||||
$db->sql_freeresult($result);
|
||||
}
|
||||
|
||||
$messenger->queue->save();
|
||||
$messenger->save_queue();
|
||||
|
||||
$sql_ary += array(
|
||||
'user_type' => USER_INACTIVE,
|
||||
|
@@ -1,16 +1,18 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : ucp_register.php
|
||||
// STARTED : Mon May 19, 2003
|
||||
// COPYRIGHT : <20> 2003 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package ucp
|
||||
* ucp_register
|
||||
* Board registration
|
||||
*/
|
||||
class ucp_register extends module
|
||||
{
|
||||
function ucp_register($id, $mode)
|
||||
@@ -69,7 +71,7 @@ class ucp_register extends module
|
||||
else
|
||||
{
|
||||
$template->assign_vars(array(
|
||||
'L_AGREEMENT' => $user->lang['UCP_AGREEMENT'],
|
||||
'L_TERMS_OF_USE' => $user->lang['TERMS_OF_USE_CONTENT'],
|
||||
|
||||
'S_SHOW_COPPA' => false,
|
||||
'S_REGISTER_ACTION' => "{$phpbb_root_path}ucp.$phpEx$SID&mode=register")
|
||||
@@ -413,7 +415,7 @@ class ucp_register extends module
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
$code = gen_rand_string(6);
|
||||
$confirm_id = md5(uniqid($user_ip));
|
||||
$confirm_id = md5(uniqid($user->ip));
|
||||
|
||||
$sql = 'INSERT INTO ' . CONFIRM_TABLE . ' ' . $db->sql_build_array('INSERT', array(
|
||||
'confirm_id' => (string) $confirm_id,
|
||||
|
@@ -1,16 +1,18 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : ucp_remind.php
|
||||
// STARTED : Mon May 19, 2003
|
||||
// COPYRIGHT : <20> 2003 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package ucp
|
||||
* ucp_remind
|
||||
* Sending password reminders
|
||||
*/
|
||||
class ucp_remind extends module
|
||||
{
|
||||
function ucp_remind($id, $mode)
|
||||
@@ -75,10 +77,7 @@ class ucp_remind extends module
|
||||
);
|
||||
|
||||
$messenger->send($row['user_notify_type']);
|
||||
if ($messenger->queue)
|
||||
{
|
||||
$messenger->queue->save();
|
||||
}
|
||||
$messenger->save_queue();
|
||||
|
||||
|
||||
meta_refresh(3, "index.$phpEx$SID");
|
||||
|
@@ -1,16 +1,17 @@
|
||||
<?php
|
||||
// -------------------------------------------------------------
|
||||
//
|
||||
// $Id$
|
||||
//
|
||||
// FILENAME : ucp_zebra.php
|
||||
// STARTED : Sun Sep 28, 2003
|
||||
// COPYRIGHT : <20> 2001, 2003 phpBB Group
|
||||
// WWW : http://www.phpbb.com/
|
||||
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||
//
|
||||
// -------------------------------------------------------------
|
||||
/**
|
||||
*
|
||||
* @package ucp
|
||||
* @version $Id$
|
||||
* @copyright (c) 2005 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package ucp
|
||||
* ucp_zebra
|
||||
*/
|
||||
class ucp_zebra extends module
|
||||
{
|
||||
function ucp_zebra($id, $mode)
|
||||
|
Reference in New Issue
Block a user