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/mcp/mcp_warn.php

    r400 r702  
    33*
    44* @package mcp
    5 * @version $Id: mcp_warn.php 9002 2008-10-11 17:01:43Z toonarmy $
     5* @version $Id$
    66* @copyright (c) 2005 phpBB Group
    77* @license http://opensource.org/licenses/gpl-license.php GNU Public License
     
    205205                $sql = 'SELECT u.*, p.*
    206206                        FROM ' . POSTS_TABLE . ' p, ' . USERS_TABLE . " u
    207                         WHERE post_id = $post_id
     207                        WHERE p.post_id = $post_id
    208208                                AND u.user_id = p.poster_id";
    209209                $result = $db->sql_query($sql);
     
    421421                        'U_POST_ACTION'         => $this->u_action,
    422422
    423                         'USERNAME'                      => $user_row['username'],
    424                         'USER_COLOR'            => (!empty($user_row['user_colour'])) ? $user_row['user_colour'] : '',
    425423                        'RANK_TITLE'            => $rank_title,
    426424                        'JOINED'                        => $user->format_date($user_row['user_regdate']),
    427425                        'POSTS'                         => ($user_row['user_posts']) ? $user_row['user_posts'] : 0,
    428426                        'WARNINGS'                      => ($user_row['user_warnings']) ? $user_row['user_warnings'] : 0,
     427
     428                        'USERNAME_FULL'         => get_username_string('full', $user_row['user_id'], $user_row['username'], $user_row['user_colour']),
     429                        'USERNAME_COLOUR'       => get_username_string('colour', $user_row['user_id'], $user_row['username'], $user_row['user_colour']),
     430                        'USERNAME'                      => get_username_string('username', $user_row['user_id'], $user_row['username'], $user_row['user_colour']),
     431                        'U_PROFILE'                     => get_username_string('profile', $user_row['user_id'], $user_row['username'], $user_row['user_colour']),
    429432
    430433                        'AVATAR_IMG'            => $avatar_img,
Note: See TracChangeset for help on using the changeset viewer.