Version 3.2.3
This commit is contained in:
1 parent
ae5c01cc78
commit
78706903a2
2641 files changed
+228363
-201264
No files matched your search
@@ -3,17 +3,17 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.1.4
|
||||
* IP.Board v3.2.3
|
||||
* Dashboard Notifications
|
||||
* Last Updated: $Date
|
||||
*
|
||||
* @author $Author: mark $
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Rev: 6688 $
|
||||
* @link http://hatynka.in
|
||||
* @version $Rev: 8397 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -44,12 +44,13 @@ class dashboardNotifications__members
|
||||
{
|
||||
if( $this->settings['reg_auth_type'] == 'admin' )
|
||||
{
|
||||
$where = " new_reg=1";
|
||||
$where = "v.new_reg=1";
|
||||
}
|
||||
else
|
||||
{
|
||||
$where = "new_reg=1 AND user_verified=1";
|
||||
$where = "v.new_reg=1 AND v.user_verified=1";
|
||||
}
|
||||
|
||||
$count = $this->DB->buildAndFetch( array( 'select' => 'COUNT(*) as count',
|
||||
'from' => array( 'validating' => 'v' ),
|
||||
'where' => "v.lost_pass=0 AND m.member_group_id={$this->settings['auth_group']} AND {$where}",
|
||||
@@ -61,7 +62,7 @@ class dashboardNotifications__members
|
||||
|
||||
if ( $count )
|
||||
{
|
||||
$entries[] = array( $this->lang->words['cp_validations'], sprintf( $this->lang->words['cp_validations_info'], $count ) . ' <a href="' . ipsRegistry::getClass('output')->buildUrl( 'app=members&module=members§ion=members§ion=tools&do=validating', 'admin' ) . '">' . $this->lang->words['cp_validations_review'] . '</a>' );
|
||||
$entries[] = array( $this->lang->words['cp_validations'], sprintf( $this->lang->words['cp_validations_info'], $count ) . ' <a href="' . ipsRegistry::getClass('output')->buildUrl( 'app=members&module=members&section=members&do=members_overview&type=validating', 'admin' ) . '">' . $this->lang->words['cp_validations_review'] . '</a>' );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user