Zeile 3 | Zeile 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: private.php 2265 2006-09-26 14:49:36Z Tikitiki $
| * $Id: private.php 3030 2007-04-26 00:19:47Z Tikitiki $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 189 | Zeile 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 213 | Zeile 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 320 | Zeile 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 330 | Zeile 330 |
---|
$pmid = $mybb->input['pmid']; $do = $mybb->input['do'];
|
$pmid = $mybb->input['pmid']; $do = $mybb->input['do'];
|
| if($do != "forward" || $do != "reply") { $do = ""; }
|
eval("\$send = \"".$templates->get("private_send")."\";"); $plugins->run_hooks("private_send_end"); output_page($send);
| eval("\$send = \"".$templates->get("private_send")."\";"); $plugins->run_hooks("private_send_end"); output_page($send);
|
Zeile 674 | Zeile 678 |
---|
$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 685 | Zeile 689 |
---|
$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
|