mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Added missing template var in group.php (#939)
* Added missing template var in group.php * Update group.php
This commit is contained in:
parent
e05ef75abc
commit
860011d517
1 changed files with 9 additions and 8 deletions
17
group.php
17
group.php
|
@ -563,7 +563,7 @@ if (!$group_id) {
|
||||||
foreach ($modgroup_pending_list as $i => $member) {
|
foreach ($modgroup_pending_list as $i => $member) {
|
||||||
$user_id = $member['user_id'];
|
$user_id = $member['user_id'];
|
||||||
|
|
||||||
$member_info = generate_user_info($member, $is_moderator);
|
$pending_info = generate_user_info($member, $is_moderator);
|
||||||
|
|
||||||
$row_class = !($i % 2) ? 'row1' : 'row2';
|
$row_class = !($i % 2) ? 'row1' : 'row2';
|
||||||
|
|
||||||
|
@ -571,14 +571,15 @@ if (!$group_id) {
|
||||||
|
|
||||||
$template->assign_block_vars('pending', [
|
$template->assign_block_vars('pending', [
|
||||||
'ROW_CLASS' => $row_class,
|
'ROW_CLASS' => $row_class,
|
||||||
'AVATAR_IMG' => $member_info['avatar'],
|
'AVATAR_IMG' => $pending_info['avatar'],
|
||||||
'USER' => profile_url($member),
|
'USER' => profile_url($pending_info),
|
||||||
'FROM' => $member_info['from'],
|
'FROM' => $pending_info['from'],
|
||||||
'JOINED' => $member_info['joined'],
|
'JOINED' => $pending_info['joined'],
|
||||||
'POSTS' => $member_info['posts'],
|
'POSTS' => $pending_info['posts'],
|
||||||
'USER_ID' => $user_id,
|
'USER_ID' => $user_id,
|
||||||
'PM' => $member_info['pm'],
|
'PM' => $pending_info['pm'],
|
||||||
'EMAIL' => $member_info['email']
|
'EMAIL' => $pending_info['email'],
|
||||||
|
'WWW' => $pending_info['www']
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue