mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Issue #200 - format IP addresses
This commit is contained in:
@@ -28,7 +28,7 @@ if (!function_exists('notify_cboxpost')) {
|
||||
function notify_cboxpost($data) {
|
||||
global $nt;
|
||||
include_lan(e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/".e_LANGUAGE.".php");
|
||||
$message = NT_LAN_CB_3.': '.USERNAME.' ('.NT_LAN_CB_4.': '.$data['ip'].' )<br />';
|
||||
$message = NT_LAN_CB_3.': '.USERNAME.' ('.NT_LAN_CB_4.': '.e107::getIPHandler()->ipDecode($data['ip']).' )<br />';
|
||||
$message .= NT_LAN_CB_5.':<br />'.$data['cmessage'].'<br /><br />';
|
||||
$nt -> send('cboxpost', NT_LAN_CB_6, $message);
|
||||
}
|
||||
|
Reference in New Issue
Block a user