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 1339 | Zeile 1339 |
---|
$cache->update_moderators(); $cache->update_usergroups(); $cache->update_forumpermissions();
|
$cache->update_moderators(); $cache->update_usergroups(); $cache->update_forumpermissions();
|
$cache->update_banned();
| |
// Log admin action
|
// 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");
|
Zeile 1514 | Zeile 1513 |
---|
if($usergroup['showforumteam'] == 1) {
|
if($usergroup['showforumteam'] == 1) {
|
$form_container->output_cell("<input type=\"text\" name=\"disporder[{$usergroup['gid']}]\" value=\"{$usergroup['disporder']}\" class=\"text_input align_center\" style=\"width: 80%;\" />", array("class" => "align_center"));
| $form_container->output_cell($form->generate_numeric_field("disporder[{$usergroup['gid']}]", "{$usergroup['disporder']}", array('class' => 'align_center', 'style' => 'width:80%')), array("class" => "align_center"));
|
} else {
| } else {
|