Vergleich xmlhttp.php - 1.4.0 - 1.4.1

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: xmlhttp.php 4039 2008-07-25 18:52:06Z Tikitiki $

 * $Id: xmlhttp.php 4117 2008-08-15 15:38:41Z Tikitiki $

 */

/**

 */

/**

Zeile 23Zeile 23

// We don't want visits here showing up on the Who's Online
define("NO_ONLINE", 1);


// We don't want visits here showing up on the Who's Online
define("NO_ONLINE", 1);

 
define('THIS_SCRIPT', 'xmlhttp.php');


// Load MyBB core files
require_once dirname(__FILE__)."/inc/init.php";


// Load MyBB core files
require_once dirname(__FILE__)."/inc/init.php";

Zeile 226Zeile 227
	{
if(function_exists("iconv"))
{

	{
if(function_exists("iconv"))
{

			$subject = iconv("UTF-8", $charset, $subject);

			$subject = iconv($charset, "UTF-8//IGNORE", $subject);

		}
else if(function_exists("mb_convert_encoding"))
{

		}
else if(function_exists("mb_convert_encoding"))
{

Zeile 323Zeile 324
			xmlhttp_error($lang->thread_closed_edit_message);
}
// Forum is not open, user doesn't have permission to edit, or author doesn't match this user - don't allow editing.

			xmlhttp_error($lang->thread_closed_edit_message);
}
// Forum is not open, user doesn't have permission to edit, or author doesn't match this user - don't allow editing.

		else if($forum['open'] == 0 || $forumpermissions['caneditposts'] == 0 || $mybb->user['uid'] != $post['uid'] || $mybb->user['uid'] == 0)

		else if($forum['open'] == 0 || $forumpermissions['caneditposts'] == 0 || $mybb->user['uid'] != $post['uid'] || $mybb->user['uid'] == 0 || $mybb->user['suspendposting'] == 1)

		{
xmlhttp_error($lang->no_permission_edit_post);
}

		{
xmlhttp_error($lang->no_permission_edit_post);
}

Zeile 360Zeile 361
		{
if(function_exists("iconv"))
{

		{
if(function_exists("iconv"))
{

				$message = iconv("UTF-8", $charset, $message);

				$message = iconv($charset, "UTF-8//IGNORE", $message);

			}
else if(function_exists("mb_convert_encoding"))
{

			}
else if(function_exists("mb_convert_encoding"))
{