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