Vergleich inc/datahandlers/pm.php - 1.2.7 - 1.2.12

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

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

 * $Id: pm.php 2989 2007-04-04 13:56:57Z chris $

 * $Id: pm.php 3596 2008-01-20 08:27:39Z Tikitiki $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 163Zeile 163
			$this->set_error("invalid_recipient");
return false;
}

			$this->set_error("invalid_recipient");
return false;
}



		

		// Collect group permissions for the sender and recipient.
$recipient_permissions = user_permissions($touser['uid']);
$sender_permissions = user_permissions($pm['fromid']);

		// Collect group permissions for the sender and recipient.
$recipient_permissions = user_permissions($touser['uid']);
$sender_permissions = user_permissions($pm['fromid']);

Zeile 193Zeile 193
		}

// Check to see if the user has reached their private message quota - if they have, email them.

		}

// Check to see if the user has reached their private message quota - if they have, email them.

		if($recipient_permissions['pmquota'] != "0" && $touser['pms_total'] >= $recipient_permissions['pmquota'] && $recipient_permissions['cancp'] != "yes" && $sender_permissions['cancp'] != "yes" && !$pm['saveasdraft'] && !$this->admin_override)

		if($recipient_permissions['pmquota'] != "0" && $touser['totalpms'] >= $recipient_permissions['pmquota'] && $recipient_permissions['cancp'] != "yes" && $sender_permissions['cancp'] != "yes" && !$pm['saveasdraft'] && !$this->admin_override)

		{
if(trim($touser['language']) != '' && $lang->language_exists($touser['language']))
{

		{
if(trim($touser['language']) != '' && $lang->language_exists($touser['language']))
{

Zeile 253Zeile 253

$this->verify_yesno_option($options, 'signature', 'yes');
$this->verify_yesno_option($options, 'savecopy', 'yes');


$this->verify_yesno_option($options, 'signature', 'yes');
$this->verify_yesno_option($options, 'savecopy', 'yes');

 
		$this->verify_yesno_option($options, 'disablesmilies', 'no');


// Requesting a read receipt?
if(isset($options['readreceipt']) && $options['readreceipt'] == "yes")


// Requesting a read receipt?
if(isset($options['readreceipt']) && $options['readreceipt'] == "yes")

Zeile 345Zeile 346
		$lastpm = $db->fetch_array($query);
if($pm['recipient']['pmnotify'] == "yes" && $pm['recipient']['lastactive'] > $lastpm['dateline'] && !$mybb->input['saveasdraft'])
{

		$lastpm = $db->fetch_array($query);
if($pm['recipient']['pmnotify'] == "yes" && $pm['recipient']['lastactive'] > $lastpm['dateline'] && !$mybb->input['saveasdraft'])
{

			if($pm['recipient']['language'] != "" && $lang->language_exists($touser['language']))

			if($pm['recipient']['language'] != "" && $lang->language_exists($pm['recipient']['language']))

			{

			{

				$uselang = $touser['language'];

				$uselang = $pm['recipient']['language'];

			}
elseif($mybb->settings['bblanguage'])
{

			}
elseif($mybb->settings['bblanguage'])
{