1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 19:44:09 +02:00

Update function calls where moved from e107_class.php to iphandler_class.php

This commit is contained in:
e107steved
2012-01-02 22:06:22 +00:00
parent 7998e4f247
commit 8962c13f50
33 changed files with 87 additions and 53 deletions

View File

@@ -88,7 +88,8 @@ if(isset($_POST['delbanSubmit']))
if($sql->db_Select("generic", "*", "gen_id={$ban}"))
{
$at = $sql->db_Fetch();
if (!$e107->add_ban(4, FLALAN_4, $at['gen_ip'], ADMINID))
//if (!$e107->add_ban(4, FLALAN_4, $at['gen_ip'], ADMINID))
if (!e107::getIPHandler()add_ban(4, FLALAN_4, $at['gen_ip'], ADMINID))
{ // IP on whitelist (although possibly we shouldn't get to this stage, but check anyway
$emessage->add(str_replace(FLALAN_18,'--IP--',$at['gen_ip']), E_MESSAGE_WARNING);
}
@@ -184,7 +185,7 @@ else
<tr>
<td>".$gen->convert_date($gen_datestamp, "forum")."</td>
<td>".$gen_chardata."</td>
<td>".$e107->ipDecode($fa['gen_ip'])."<br />{$host}</td>
<td>".e107::getIPHandler()->ipDecode($fa['gen_ip'])."<br />{$host}</td>
<td class='center middle autocheck e-pointer'>
".$frm->checkbox('fladelete[]', $gen_id)."
</td>