Zeile 6 | Zeile 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: sendthread.php 3030 2007-04-26 00:19:47Z Tikitiki $
| * $Id: sendthread.php 3596 2008-01-20 08:27:39Z Tikitiki $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 51 | Zeile 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 61 | Zeile 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'])) {
|