Ignore:
Timestamp:
Mar 31, 2010, 6:32:40 PM (15 years ago)
Author:
george
Message:
  • Upraveno: Aktualizace fóra.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/forum/includes/ucp/ucp_resend.php

    r400 r702  
    33*
    44* @package ucp
    5 * @version $Id: ucp_resend.php 8479 2008-03-29 00:22:48Z naderman $
     5* @version $Id$
    66* @copyright (c) 2005 phpBB Group
    77* @license http://opensource.org/licenses/gpl-license.php GNU Public License
     
    4646                        $sql = 'SELECT user_id, group_id, username, user_email, user_type, user_lang, user_actkey, user_inactive_reason
    4747                                FROM ' . USERS_TABLE . "
    48                                 WHERE user_email = '" . $db->sql_escape($email) . "'
     48                                WHERE user_email_hash = '" . $db->sql_escape(phpbb_email_hash($email)) . "'
    4949                                        AND username_clean = '" . $db->sql_escape(utf8_clean_string($username)) . "'";
    5050                        $result = $db->sql_query($sql);
     
    134134                                        $messenger->im($row['user_jabber'], $row['username']);
    135135
     136                                        $messenger->headers('X-AntiAbuse: Board servername - ' . $config['server_name']);
     137                                        $messenger->headers('X-AntiAbuse: User_id - ' . $user->data['user_id']);
     138                                        $messenger->headers('X-AntiAbuse: Username - ' . $user->data['username']);
     139                                        $messenger->headers('X-AntiAbuse: User IP - ' . $user->ip);
     140
    136141                                        $messenger->assign_vars(array(
    137142                                                'USERNAME'                      => htmlspecialchars_decode($user_row['username']),
     
    147152                        meta_refresh(3, append_sid("{$phpbb_root_path}index.$phpEx"));
    148153
    149                         $message = ($config['require_activation'] == USER_ACTIVATION_ADMIN) ? $user->lang['ACIVATION_EMAIL_SENT_ADMIN'] : $user->lang['ACTIVATION_EMAIL_SENT'];
     154                        $message = ($config['require_activation'] == USER_ACTIVATION_ADMIN) ? $user->lang['ACTIVATION_EMAIL_SENT_ADMIN'] : $user->lang['ACTIVATION_EMAIL_SENT'];
    150155                        $message .= '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">', '</a>');
    151156                        trigger_error($message);
Note: See TracChangeset for help on using the changeset viewer.