Vergleich report.php - 1.4.1 - 1.4.5

  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: report.php 4111 2008-08-13 06:14:12Z Tikitiki $

 * $Id: report.php 4289 2008-12-06 21:22:41Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 111Zeile 111
		while($mod = $db->fetch_array($query))
{
$emailsubject = $lang->sprintf($lang->emailsubject_reportpost, $mybb->settings['bbname']);

		while($mod = $db->fetch_array($query))
{
$emailsubject = $lang->sprintf($lang->emailsubject_reportpost, $mybb->settings['bbname']);

			$emailmessage = $lang->sprintf($lang->email_reportpost, $mybb->user['username'], $mybb->settings['bbname'], $post['subject'], $mybb->settings['bburl'], str_replace('&', '&', get_post_link($post['pid'], $thread['tid'])), $thread['subject'], $mybb->input['reason']);

			$emailmessage = $lang->sprintf($lang->email_reportpost, $mybb->user['username'], $mybb->settings['bbname'], $post['subject'], $mybb->settings['bburl'], str_replace('&', '&', get_post_link($post['pid'], $thread['tid'])."#pid".$post['pid']), $thread['subject'], $mybb->input['reason']);

			
if($mybb->settings['reportmethod'] == "pms" && $mod['receivepms'] != 0 && $mybb->settings['enablepms'] != 0)
{

			
if($mybb->settings['reportmethod'] == "pms" && $mod['receivepms'] != 0 && $mybb->settings['enablepms'] != 0)
{

Zeile 126Zeile 126
		if(count($pm_recipients) > 0)
{
$emailsubject = $lang->sprintf($lang->emailsubject_reportpost, $mybb->settings['bbname']);

		if(count($pm_recipients) > 0)
{
$emailsubject = $lang->sprintf($lang->emailsubject_reportpost, $mybb->settings['bbname']);

			$emailmessage = $lang->sprintf($lang->email_reportpost, $mybb->user['username'], $mybb->settings['bbname'], $post['subject'], $mybb->settings['bburl'], str_replace('&', '&', get_post_link($post['pid'], $thread['tid'])), $thread['subject'], $mybb->input['reason']);

			$emailmessage = $lang->sprintf($lang->email_reportpost, $mybb->user['username'], $mybb->settings['bbname'], $post['subject'], $mybb->settings['bburl'], str_replace('&', '&', get_post_link($post['pid'], $thread['tid'])."#pid".$post['pid']), $thread['subject'], $mybb->input['reason']);


require_once MYBB_ROOT."inc/datahandlers/pm.php";
$pmhandler = new PMDataHandler();


require_once MYBB_ROOT."inc/datahandlers/pm.php";
$pmhandler = new PMDataHandler();