LAN_DL_NT_01, // "Broken download reported" 'function' => "user_download_brokendownload_reported", 'category' => '' ); return $config; } function user_download_brokendownload_reported($data) { $download_url = e107::url('download', 'item', $data, array('mode' => 'full')); if (isset($data['id']) && isset($data['data'])) { $message = 'Notify test: Broken download reported'; } else { $message = LAN_DL_NT_02; $message .= " ".$data['download_name']."
"; $message .= str_replace("[x]", $data['user'], LAN_DL_NT_03)."
"; $message .= $data['report_add']."

"; $admin_url = SITEURLBASE.e_PLUGIN_ABS."download/admin_download.php?mode=broken&action=list"; $find = array('[', ']'); $replace = array('', ''); $message .= str_replace($find, $replace, LAN_DL_NT_04); } $this->send('user_download_brokendownload_reported', LAN_DL_NT_01, $message); } }