NT_LAN_CB_2); } 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.': '.e107::getIPHandler()->ipDecode($data['ip']).' )
'; $message .= NT_LAN_CB_5.':
'.$data['cmessage'].'

'; $nt -> send('cboxpost', NT_LAN_CB_6, $message); } } */ // v2.x Standard class chatbox_menu_notify extends notify // plugin-folder + '_notify' { function config() { //include_lan(e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/".e_LANGUAGE.".php"); Use English_global.php instead. $config = array(); $config[] = array( 'name' => NT_LAN_CB_2, // "Message posted" 'function' => "cboxpost", 'category' => '' ); return $config; } function cboxpost($data) { //include_lan(e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/".e_LANGUAGE.".php"); // Use English_global.php instead. $message = NT_LAN_CB_3.': '.USERNAME.' ('.NT_LAN_CB_4.': '.e107::getIPHandler()->ipDecode($data['ip']).' )
'; $message .= NT_LAN_CB_5.':
'.$data['cmessage'].'

'; $this->send('cboxpost', NT_LAN_CB_6, $message); } }