Version 3.4.8
This commit is contained in:
1 parent
b45ea0dffb
commit
c603205a25
1398 files changed
+36675
-31023
No files matched your search
@@ -7,7 +7,7 @@
|
||||
* $Author: ips_terabyte $
|
||||
* @since 20th February 2002
|
||||
* $LastChangedDate: 2011-05-05 12:40:49 -0400 (Thu, 05 May 2011) $
|
||||
* @version v3.4.6
|
||||
* @version v3.4.8
|
||||
* $Revision: 8655 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -3,9 +3,9 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Mark a private message as read
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* Last Updated: $Date: 2015-02-18 10:39:15 -0500 (Wed, 18 Feb 2015) $
|
||||
* </pre>
|
||||
*
|
||||
* @author Brandon Farber
|
||||
@@ -15,7 +15,7 @@
|
||||
* @subpackage Forums
|
||||
* @link http://www.invisionpower.com
|
||||
* @since Thurs 7th Jan 2010
|
||||
* @version $Rev: 10721 $
|
||||
* @version $Rev: 12599 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -38,6 +38,15 @@ class public_members_messaging_markasread extends ipsCommand
|
||||
$_ajax = intval($this->request['ajax']);
|
||||
$topic = intval($this->request['topicID']);
|
||||
|
||||
//-----------------------------------------
|
||||
// Auth check
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $this->request['authKey'] != $this->member->form_hash )
|
||||
{
|
||||
$this->registry->getClass('output')->showError( 'messenger_bad_key', 2024, null, null, 403 );
|
||||
}
|
||||
|
||||
if( !$topic )
|
||||
{
|
||||
$this->endReturn( $_ajax );
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Online list
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -3,19 +3,19 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Online list
|
||||
* Last Updated: $Date: 2012-12-13 08:29:08 -0500 (Thu, 13 Dec 2012) $
|
||||
* Last Updated: $Date: 2015-04-24 13:16:25 -0400 (Fri, 24 Apr 2015) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: AndyMillne $
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 12th March 2002
|
||||
* @version $Revision: 11713 $
|
||||
* @version $Revision: 12627 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -492,6 +492,15 @@ class public_members_messaging_send extends ipsCommand
|
||||
|
||||
try
|
||||
{
|
||||
/* Make sure this was the user who owned the topic if they are editing a draft */
|
||||
if( $topicID )
|
||||
{
|
||||
if( $this->messengerFunctions->canAccessTopic( $this->memberData['member_id'], $topicID ) !== TRUE )
|
||||
{
|
||||
throw new Exception( 'NO_PERMISSION' );
|
||||
}
|
||||
}
|
||||
|
||||
$this->messengerFunctions->sendNewPersonalTopic( $toMember['member_id'], $this->memberData['member_id'], $inviteUsers, $msgTitle, $msgContent, array( 'isDraft' => $draft,
|
||||
'topicID' => $topicID,
|
||||
'sendMode' => $sendType,
|
||||
@@ -886,7 +895,7 @@ class public_members_messaging_send extends ipsCommand
|
||||
|
||||
if ( $preview )
|
||||
{
|
||||
$displayData['message'] = $_POST['Post-NS'];
|
||||
$displayData['message'] = $_editor->htmlPurify( $_POST['Post-NS'] );
|
||||
|
||||
if( $this->request['_from'] == 'quickPM' )
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Online list
|
||||
* Last Updated: $Date: 2012-05-21 11:56:33 -0400 (Mon, 21 May 2012) $
|
||||
* </pre>
|
||||
|
||||
Reference in new issue
Block a user