Vergleich inc/plugins/akismet.php - 1.6.0 - 1.6.17

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: akismet.php 5117 2010-07-26 04:09:21Z RyanGordon $

 * $Id$

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 57Zeile 57
		"website"       => "http://mybb.com",
"author" => "MyBB Group",
"authorsite" => "http://mybb.com",

		"website"       => "http://mybb.com",
"author" => "MyBB Group",
"authorsite" => "http://mybb.com",

		"version"       => "1.2.1",

		"version"       => "1.2.2",

		"guid"          => "e57a80dbe7ff85083596a1a3b7da3ce7",
"compatibility" => "16*",
);

		"guid"          => "e57a80dbe7ff85083596a1a3b7da3ce7",
"compatibility" => "16*",
);

Zeile 320Zeile 320
	
$query = $db->simple_select("posts", "subject", "pid='{$pid}'", 1);
$post = $db->fetch_array($query);

	
$query = $db->simple_select("posts", "subject", "pid='{$pid}'", 1);
$post = $db->fetch_array($query);

 
	$post['subject'] = htmlspecialchars_uni($post['subject']);

	
if(!$post)
{

	
if(!$post)
{

Zeile 551Zeile 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 998Zeile 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 1079Zeile 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}: {$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 1406Zeile 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;