Vergleich sendthread.php - 1.2.3 - 1.2.13

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

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

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

 *

 *

 * $Id: sendthread.php 2475 2006-12-01 04:58:21Z Tikitiki $

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

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 51Zeile 51
	error_no_permission();
}


	error_no_permission();
}


// Password protected forums
check_forum_password($fid, $forum['password']);

// Check if this forum is password protected and we have a valid password
check_forum_password($forum['fid']);


if($mybb->usergroup['cansendemail'] == "no")
{


if($mybb->usergroup['cansendemail'] == "no")
{

Zeile 61Zeile 61

if($mybb->input['action'] == "do_sendtofriend" && $mybb->request_method == "post")
{


if($mybb->input['action'] == "do_sendtofriend" && $mybb->request_method == "post")
{

 
	// Verify incoming POST request
verify_post_check($mybb->input['my_post_key']);


	$plugins->run_hooks("sendthread_do_sendtofriend_start");
if(!preg_match("/^(.+)@[a-zA-Z0-9-]+\.[a-zA-Z0-9.-]+$/si", $mybb->input['sendto']))
{

	$plugins->run_hooks("sendthread_do_sendtofriend_start");
if(!preg_match("/^(.+)@[a-zA-Z0-9-]+\.[a-zA-Z0-9.-]+$/si", $mybb->input['sendto']))
{