Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: akismet.php 5297 2010-12-28 22:01:14Z Tomm $
| * $Id$
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 552 | Zeile 552 |
---|
if($snippit == "thread") {
|
if($snippit == "thread") {
|
redirect("./forumdisplay.php?fid={$post['fid']}", $lang->thread_spam_success);
| redirect(get_forum_link($post['fid']), $lang->thread_spam_success);
|
} else {
|
} else {
|
redirect("./showthread.php?tid={$post['tid']}", $lang->post_spam_success);
| redirect(get_thread_link($post['tid']), $lang->post_spam_success);
|
} }
| } }
|
Zeile 999 | Zeile 999 |
---|
foreach($deletepost as $pid => $val) {
|
foreach($deletepost as $pid => $val) {
|
| $pid = intval($pid);
|
if(array_key_exists($pid, $threadp)) { $db->delete_query("posts", "pid IN ({$posts_in})");
| if(array_key_exists($pid, $threadp)) { $db->delete_query("posts", "pid IN ({$posts_in})");
|
Zeile 1080 | Zeile 1082 |
---|
} $table->construct_cell($form->generate_check_box("akismet[{$post['pid']}]", 1, ''));
|
} $table->construct_cell($form->generate_check_box("akismet[{$post['pid']}]", 1, ''));
|
$table->construct_cell("<span style=\"float: right;\">{$lang->username}: {$username}</span> <span style=\"float: left;\">{$lang->title}: ".htmlspecialchars_uni($post['subject'])." <strong>(".my_date($mybb->settings['dateformat'], $post['dateline']).", ".my_date($mybb->settings['timeformat'], $post['dateline']).")</strong></span>");
| $table->construct_cell("<span style=\"float: right;\">{$lang->username} {$username}</span> <span style=\"float: left;\">{$lang->title}: ".htmlspecialchars_uni($post['subject'])." <strong>(".my_date($mybb->settings['dateformat'], $post['dateline']).", ".my_date($mybb->settings['timeformat'], $post['dateline']).")</strong></span>");
|
$table->construct_row(); $parser_options = array(
| $table->construct_row(); $parser_options = array(
|
Zeile 1407 | Zeile 1409 |
---|
$http_request .= "Host: {$api_key}{$this->host}\r\n"; $http_request .= "Content-Type: application/x-www-form-urlencoded; charset=UTF-8\r\n"; $http_request .= "Content-Length: ".strlen($request)."\r\n";
|
$http_request .= "Host: {$api_key}{$this->host}\r\n"; $http_request .= "Content-Type: application/x-www-form-urlencoded; charset=UTF-8\r\n"; $http_request .= "Content-Length: ".strlen($request)."\r\n";
|
$http_request .= "User-Agent: MyBB/1.4 | Akismet/1.1\r\n";
| $http_request .= "User-Agent: MyBB/1.6 | Akismet/1.1\r\n";
|
$http_request .= "Connection: close\r\n"; $http_request .= "\r\n"; $http_request .= $request;
| $http_request .= "Connection: close\r\n"; $http_request .= "\r\n"; $http_request .= $request;
|