Zeile 40 | Zeile 40 |
---|
// Fetch banned groups $query = $db->simple_select("usergroups", "gid,title", "isbannedgroup=1", array('order_by' => 'title'));
|
// Fetch banned groups $query = $db->simple_select("usergroups", "gid,title", "isbannedgroup=1", array('order_by' => 'title'));
|
| $banned_groups = array();
|
while($group = $db->fetch_array($query)) { $banned_groups[$group['gid']] = $group['title'];
| while($group = $db->fetch_array($query)) { $banned_groups[$group['gid']] = $group['title'];
|
Zeile 99 | Zeile 100 |
---|
$cache->update_reportedcontent();
// Log admin action
|
$cache->update_reportedcontent();
// Log admin action
|
log_admin_action($user['uid'], htmlspecialchars_uni($user['username']));
| log_admin_action($user['uid'], $user['username']);
|
flash_message($lang->success_pruned, 'success'); admin_redirect("index.php?module=user-banning");
| flash_message($lang->success_pruned, 'success'); admin_redirect("index.php?module=user-banning");
|
Zeile 154 | Zeile 155 |
---|
$cache->update_moderators();
// Log admin action
|
$cache->update_moderators();
// Log admin action
|
log_admin_action($ban['uid'], htmlspecialchars_uni($user['username']));
| log_admin_action($ban['uid'], $user['username']);
|
flash_message($lang->success_ban_lifted, 'success'); admin_redirect("index.php?module=user-banning");
| flash_message($lang->success_ban_lifted, 'success'); admin_redirect("index.php?module=user-banning");
|
Zeile 241 | Zeile 242 |
---|
$cache->update_banned();
// Log admin action
|
$cache->update_banned();
// Log admin action
|
log_admin_action($ban['uid'], htmlspecialchars_uni($user['username']));
| log_admin_action($ban['uid'], $user['username']);
|
flash_message($lang->success_ban_updated, 'success'); admin_redirect("index.php?module=user-banning");
| flash_message($lang->success_ban_updated, 'success'); admin_redirect("index.php?module=user-banning");
|
Zeile 405 | Zeile 406 |
---|
$cache->update_banned();
// Log admin action
|
$cache->update_banned();
// Log admin action
|
log_admin_action($user['uid'], htmlspecialchars_uni($user['username']), $lifted);
| log_admin_action($user['uid'], $user['username'], $lifted);
|
flash_message($lang->success_banned, 'success'); admin_redirect("index.php?module=user-banning");
| flash_message($lang->success_banned, 'success'); admin_redirect("index.php?module=user-banning");
|
Zeile 510 | Zeile 511 |
---|
}, });
|
}, });
|
$(\'[for=username]\').click(function(){
| $(\'[for=username]\').on(\'click\', function(){
|
$("#username").select2(\'open\'); return false; });
| $("#username").select2(\'open\'); return false; });
|