mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge remote-tracking branch 'github-dhruv/ticket/10797' into develop-olympus
* github-dhruv/ticket/10797: [ticket/10797] language key rank moved to common [ticket/10797] user rank is displayed in mcp_warn.php
This commit is contained in:
commit
57547c7e20
3 changed files with 3 additions and 3 deletions
|
@ -308,7 +308,7 @@ class mcp_warn
|
||||||
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
|
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
|
||||||
}
|
}
|
||||||
|
|
||||||
$rank_title = $rank_img = '';
|
get_user_rank($user_row['user_rank'], $user_row['user_posts'], $rank_title, $rank_img, $rank_img_src);
|
||||||
$avatar_img = get_user_avatar($user_row['user_avatar'], $user_row['user_avatar_type'], $user_row['user_avatar_width'], $user_row['user_avatar_height']);
|
$avatar_img = get_user_avatar($user_row['user_avatar'], $user_row['user_avatar_type'], $user_row['user_avatar_width'], $user_row['user_avatar_height']);
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
|
@ -413,7 +413,7 @@ class mcp_warn
|
||||||
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
|
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
|
||||||
}
|
}
|
||||||
|
|
||||||
$rank_title = $rank_img = '';
|
get_user_rank($user_row['user_rank'], $user_row['user_posts'], $rank_title, $rank_img, $rank_img_src);
|
||||||
$avatar_img = get_user_avatar($user_row['user_avatar'], $user_row['user_avatar_type'], $user_row['user_avatar_width'], $user_row['user_avatar_height']);
|
$avatar_img = get_user_avatar($user_row['user_avatar'], $user_row['user_avatar_type'], $user_row['user_avatar_width'], $user_row['user_avatar_height']);
|
||||||
|
|
||||||
// OK, they didn't submit a warning so lets build the page for them to do so
|
// OK, they didn't submit a warning so lets build the page for them to do so
|
||||||
|
|
|
@ -460,6 +460,7 @@ $lang = array_merge($lang, array(
|
||||||
'PRIVATE_MESSAGING' => 'Private messaging',
|
'PRIVATE_MESSAGING' => 'Private messaging',
|
||||||
'PROFILE' => 'User Control Panel',
|
'PROFILE' => 'User Control Panel',
|
||||||
|
|
||||||
|
'RANK' => 'Rank',
|
||||||
'READING_FORUM' => 'Viewing topics in %s',
|
'READING_FORUM' => 'Viewing topics in %s',
|
||||||
'READING_GLOBAL_ANNOUNCE' => 'Reading global announcement',
|
'READING_GLOBAL_ANNOUNCE' => 'Reading global announcement',
|
||||||
'READING_LINK' => 'Following forum link %s',
|
'READING_LINK' => 'Following forum link %s',
|
||||||
|
|
|
@ -110,7 +110,6 @@ $lang = array_merge($lang, array(
|
||||||
|
|
||||||
'POST_IP' => 'Posted from IP/domain',
|
'POST_IP' => 'Posted from IP/domain',
|
||||||
|
|
||||||
'RANK' => 'Rank',
|
|
||||||
'REAL_NAME' => 'Recipient name',
|
'REAL_NAME' => 'Recipient name',
|
||||||
'RECIPIENT' => 'Recipient',
|
'RECIPIENT' => 'Recipient',
|
||||||
'REMOVE_FOE' => 'Remove foe',
|
'REMOVE_FOE' => 'Remove foe',
|
||||||
|
|
Loading…
Add table
Reference in a new issue