Vergleich private.php - 1.2.2 - 1.2.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * $Id: private.php 2265 2006-09-26 14:49:36Z Tikitiki $

 * $Id: private.php 2684 2007-01-29 01:33:17Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 189Zeile 189
	if($mybb->settings['bbcodeinserter'] != "off" && $mybb->settings['pmsallowmycode'] != "no" && $mybb->user['showcodebuttons'] != 0)
{
$codebuttons = build_mycode_inserter();

	if($mybb->settings['bbcodeinserter'] != "off" && $mybb->settings['pmsallowmycode'] != "no" && $mybb->user['showcodebuttons'] != 0)
{
$codebuttons = build_mycode_inserter();

	}
if($mybb->settings['pmsallowsmilies'] != "no")
{
$smilieinserter = build_clickable_smilies();

		if($mybb->settings['pmsallowsmilies'] != "no")
{
$smilieinserter = build_clickable_smilies();
}

	}

$posticons = get_post_icons();

	}

$posticons = get_post_icons();

Zeile 213Zeile 213
		$post['userusername'] = $mybb->user['username'];
$post['postusername'] = $mybb->user['username'];
$post['message'] = $previewmessage;

		$post['userusername'] = $mybb->user['username'];
$post['postusername'] = $mybb->user['username'];
$post['message'] = $previewmessage;

		$post['subject'] = $mybb->input['subject'];

		$post['subject'] = htmlspecialchars_uni($mybb->input['subject']);

		$post['icon'] = $mybb->input['icon'];
$post['smilieoff'] = $options['disablesmilies'];
$post['dateline'] = time();

		$post['icon'] = $mybb->input['icon'];
$post['smilieoff'] = $options['disablesmilies'];
$post['dateline'] = time();

Zeile 320Zeile 320
	}
if($mybb->input['uid'] && !$mybb->input['preview'])
{

	}
if($mybb->input['uid'] && !$mybb->input['preview'])
{

	$query = $db->simple_select(TABLE_PREFIX."users", "username", "uid='".intval($mybb->input['uid'])."'");
$user = $db->fetch_array($query);
$to = $user['username'];

		$query = $db->simple_select(TABLE_PREFIX."users", "username", "uid='".intval($mybb->input['uid'])."'");
$user = $db->fetch_array($query);
$to = $user['username'];

	}

// Load the auto complete javascript if it is enabled.

	}

// Load the auto complete javascript if it is enabled.

Zeile 674Zeile 674
	$plugins->run_hooks("private_do_stuff");
if($mybb->input['hop'])
{

	$plugins->run_hooks("private_do_stuff");
if($mybb->input['hop'])
{

		header("Location: private.php?fid=".$mybb->input['jumpto']);

		header("Location: private.php?fid=".intval($mybb->input['jumpto']));

	}
elseif($mybb->input['moveto'])
{

	}
elseif($mybb->input['moveto'])
{

Zeile 685Zeile 685
				$sql_array = array(
"folder" => intval($mybb->input['fid'])
);

				$sql_array = array(
"folder" => intval($mybb->input['fid'])
);

				$db->update_query(TABLE_PREFIX."privatemessages", $sql_array, "pmid=".intval($key)." AND uid=".$mybb->user['uid']);

				$db->update_query(TABLE_PREFIX."privatemessages", $sql_array, "pmid='".intval($key)."' AND uid='".$mybb->user['uid']."'");

			}
}
// Update PM count

			}
}
// Update PM count