Version 3.4.5
This commit is contained in:
1 parent
fb6b5baabc
commit
e4478369d8
1360 files changed
+228921
-179445
No files matched your search
@@ -3,19 +3,19 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* IP.Board v3.4.5
|
||||
* Warnings Management
|
||||
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* Last Updated: $Date: 2013-02-01 20:54:48 -0500 (Fri, 01 Feb 2013) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $ (Original: Mark)
|
||||
* @author $Author: AndyMillne $ (Original: Mark)
|
||||
* @copyright © 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 9th November 2011
|
||||
* @version $Revision: 10914 $
|
||||
* @version $Revision: 11930 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -555,7 +555,10 @@ class public_members_profile_warnings extends ipsCommand
|
||||
|
||||
if ( $banGroup > 0 )
|
||||
{
|
||||
$update['member_group_id'] = $banGroup;
|
||||
if ( ! $this->caches['group_cache'][$banGroup]['g_access_cp'] AND ! $this->caches['group_cache'][$banGroup]['g_is_supmod'] AND $banGroup != $this->settings['guest_group'] )
|
||||
{
|
||||
$update['member_group_id'] = $banGroup;
|
||||
}
|
||||
}
|
||||
|
||||
if ( $this->settings['warnings_acknowledge'] )
|
||||
@@ -771,6 +774,19 @@ class public_members_profile_warnings extends ipsCommand
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
IPSText::getTextClass('bbcode')->parse_smilies = TRUE;
|
||||
IPSText::getTextClass('bbcode')->parse_bbcode = TRUE;
|
||||
IPSText::getTextClass('bbcode')->parse_html = FALSE;
|
||||
IPSText::getTextClass('bbcode')->parse_nl2br = TRUE;
|
||||
IPSText::getTextClass('bbcode')->bypass_badwords = FALSE;
|
||||
|
||||
IPSText::getTextClass('bbcode')->parsing_section = 'warn';
|
||||
|
||||
IPSText::getTextClass( 'bbcode' )->parsing_mgroup = $this->memberData['member_group_id'];
|
||||
IPSText::getTextClass( 'bbcode' )->parsing_mgroup_others = $this->memberData['mgroup_others'];
|
||||
|
||||
$warning['wl_note_member'] = IPSText::getTextClass('bbcode')->preDisplayParse( $warning['wl_note_member'] );
|
||||
|
||||
$this->registry->output->addContent( $this->registry->output->getTemplate('profile')->acknowledgeWarning( $warning ) );
|
||||
$this->registry->output->setTitle( $this->lang->words['warnings_acknowledge'] );
|
||||
|
||||
Reference in new issue
Block a user