mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-12 18:36:29 +00:00
Empty commit
This commit is contained in:
parent
bbca29d141
commit
4dfca978c8
@ -212,6 +212,10 @@
|
||||
UPDATE users_history_passkeys
|
||||
SET ChangerIP = ''
|
||||
WHERE UserID = $UserID");
|
||||
$DB->query("
|
||||
UPDATE users_sessions
|
||||
SET IP = '127.0.0.1'
|
||||
WHERE UserID = $UserID");
|
||||
|
||||
$EditSummary[] = 'IP history cleared';
|
||||
}
|
||||
|
@ -121,6 +121,7 @@ function UnBan(ip, id, elemID) {
|
||||
LIMIT $Limit");
|
||||
}
|
||||
|
||||
|
||||
if (isset($QueryID)) {
|
||||
$DB->query('SELECT FOUND_ROWS()');
|
||||
list($NumResults) = $DB->next_record();
|
||||
@ -172,13 +173,15 @@ function UnBan(ip, id, elemID) {
|
||||
<div class="header">
|
||||
<h2>IP address history for <a href="user.php?id=<?=$UserID?>"><?=$UserInfo['Username']?></a></h2>
|
||||
<div class="linkbox">
|
||||
<? if ($UsersOnly) { ?>
|
||||
<?
|
||||
if ($UsersOnly) { ?>
|
||||
<a href="userhistory.php?<?=Format::get_url(array('usersonly'))?>" class="brackets">View all IP addresses</a>
|
||||
<? } else { ?>
|
||||
<a href="userhistory.php?<?=Format::get_url()?>&usersonly=1" class="brackets">View IP addresses with users</a>
|
||||
<? } ?>
|
||||
</div>
|
||||
<? if ($Pages) { ?>
|
||||
<?
|
||||
if ($Pages) { ?>
|
||||
<div class="linkbox pager"><?=$Pages?></div>
|
||||
<? } ?>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user