Zeile 200 | Zeile 200 |
---|
join_usergroup($uid, $group['gid']); } // Log admin action
|
join_usergroup($uid, $group['gid']); } // Log admin action
|
log_admin_action("approve", htmlspecialchars_uni($group['title']), $group['gid']);
| log_admin_action("approve", $group['title'], $group['gid']);
|
$message = $lang->success_selected_requests_approved; } else { // Log admin action
|
$message = $lang->success_selected_requests_approved; } else { // Log admin action
|
log_admin_action("deny", htmlspecialchars_uni($group['title']), $group['gid']);
| log_admin_action("deny", $group['title'], $group['gid']);
|
$message = $lang->success_selected_requests_denied; }
| $message = $lang->success_selected_requests_denied; }
|
Zeile 365 | Zeile 365 |
---|
$cache->update_groupleaders();
// Log admin action
|
$cache->update_groupleaders();
// Log admin action
|
log_admin_action($user['uid'], htmlspecialchars_uni($user['username']), $group['gid'], htmlspecialchars_uni($group['title']));
| log_admin_action($user['uid'], $user['username'], $group['gid'], $group['title']);
|
$username = htmlspecialchars_uni($user['username']); flash_message("{$username} ".$lang->success_user_made_leader, 'success');
| $username = htmlspecialchars_uni($user['username']); flash_message("{$username} ".$lang->success_user_made_leader, 'success');
|
Zeile 573 | Zeile 573 |
---|
$cache->update_groupleaders();
// Log admin action
|
$cache->update_groupleaders();
// Log admin action
|
log_admin_action($leader['uid'], htmlspecialchars_uni($leader['username']), $group['gid'], htmlspecialchars_uni($group['title']));
| log_admin_action($leader['uid'], $leader['username'], $group['gid'], $group['title']);
|
flash_message($lang->success_group_leader_deleted, 'success'); admin_redirect("index.php?module=user-groups&action=leaders&gid={$group['gid']}");
| flash_message($lang->success_group_leader_deleted, 'success'); admin_redirect("index.php?module=user-groups&action=leaders&gid={$group['gid']}");
|
Zeile 620 | Zeile 620 |
---|
$cache->update_groupleaders();
// Log admin action
|
$cache->update_groupleaders();
// Log admin action
|
log_admin_action($leader['uid'], htmlspecialchars_uni($leader['username']), $group['gid'], htmlspecialchars_uni($group['title']));
| log_admin_action($leader['uid'], $leader['username'], $group['gid'], $group['title']);
|
flash_message($lang->success_group_leader_updated, 'success'); admin_redirect("index.php?module=user-groups&action=leaders&gid={$group['gid']}");
| flash_message($lang->success_group_leader_updated, 'success'); admin_redirect("index.php?module=user-groups&action=leaders&gid={$group['gid']}");
|
Zeile 741 | Zeile 741 |
---|
$cache->update_forumpermissions();
// Log admin action
|
$cache->update_forumpermissions();
// Log admin action
|
log_admin_action($gid, htmlspecialchars_uni($mybb->input['title']));
| log_admin_action($gid, $mybb->input['title']);
|
$groups = $cache->read('usergroups'); $grouptitles = array_column($groups, 'title');
| $groups = $cache->read('usergroups'); $grouptitles = array_column($groups, 'title');
|
Zeile 971 | Zeile 971 |
---|
$cache->update_forumpermissions();
// Log admin action
|
$cache->update_forumpermissions();
// Log admin action
|
log_admin_action($usergroup['gid'], htmlspecialchars_uni($mybb->input['title']));
| log_admin_action($usergroup['gid'], $mybb->input['title']);
|
$groups = $cache->read('usergroups'); $grouptitles = array_column($groups, 'title');
| $groups = $cache->read('usergroups'); $grouptitles = array_column($groups, 'title');
|
Zeile 1342 | Zeile 1342 |
---|
$cache->update_banned();
// Log admin action
|
$cache->update_banned();
// Log admin action
|
log_admin_action($usergroup['gid'], htmlspecialchars_uni($usergroup['title']));
| log_admin_action($usergroup['gid'], $usergroup['title']);
|
flash_message($lang->success_group_deleted, 'success'); admin_redirect("index.php?module=user-groups");
| flash_message($lang->success_group_deleted, 'success'); admin_redirect("index.php?module=user-groups");
|